/* ==========================================================================
   Phuket Band Hub - look and feel (#22)
   Loaded by Section 18 of functions.php. Tracked in Git with the theme.
   Section 10 (in functions.php) decides WHAT shows; this file decides how it LOOKS.
   Values come from the Decision Log, "Agreed visual baseline" (16 Oct 2026).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Palette and settings, as named variables used throughout this file
   -------------------------------------------------------------------------- */
:root {
    --pbh-bg:         #251b1c;   /* page background - the artwork's own warm near-black */
    --pbh-text:       #f6ead8;   /* body text - cream */
    --pbh-heading:    #f7ac71;   /* headings and links - peach */
    --pbh-button:     #f7ac71;   /* main buttons - peach, with --pbh-bg text. Also typed into settings: Astra palette slot 1, Directorist Primary button background - keep the same */
    --pbh-accent:     #f3764a;   /* orange - required-field asterisks. Also Astra palette slot 2 (its button hover, the current menu item) */
    --pbh-venue:      #c08693;   /* Venue tag - pink (Band tag uses --pbh-heading) */
    --pbh-border:     #644635;   /* faint peach - panel borders (also Astra palette slot 8) */
    --pbh-dusk:       #5b4b8a;   /* dusk violet, from the artwork's sky - secondary buttons and the active Dashboard tab, with cream text. Also typed into Directorist's Secondary button background - keep the same */
    --pbh-surface:    rgba(47, 35, 36, 0.60);   /* raised surfaces - cards, plugin boxes, toggles, fields: Astra slot 6 (#2f2324) at 60%, so the artwork shows through (was 80%, lowered 27 Oct 2026 - tried live with pbhTry) */
    --pbh-surface-solid: #2f2324;   /* the same, solid - for menus and lists that open over other content */
    --pbh-input:      #4a3a38;   /* typing areas - boxes members write longer text in (editor, chat reply). Section 20 repeats this value in PHP: keep them the same */
    --pbh-muted:      #bcae9c;   /* secondary text - counts, hints (cream, toned down) */
    --pbh-panel-bg:   rgba(37, 27, 28, 0.25);   /* content panels - the page colour at 25% (was 75%, then 60%; lowered 27 Oct 2026). Cards sit on top of these, and two see-through layers stack up - so this one stays light */
    --pbh-radius:     12px;      /* rounded corners on panels */

    /* Background fade: a dark overlay, lighter at the top, darker towards the bottom.
       Middle value 0.55 as agreed; top = 0.55 x 0.6, bottom = 0.55 + 0.25 (as the mock-up). */
    --pbh-fade-top:    0.33;
    --pbh-fade-mid:    0.55;
    --pbh-fade-bottom: 0.80;

    /* Browser-drawn parts (scrollbars, unstyled form controls) use their dark versions */
    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. The page background and the sunset layer
   html carries the dark colour. body is made see-through so the layer, which sits
   behind it, can show. The layer is body::before, pinned to the screen (position:
   fixed) rather than background-attachment: fixed, which iPhone Safari ignores.
   Its height uses lvh (the largest the screen gets, address bar hidden), so the
   picture doesn't jump when a phone's address bar slides in and out; 100vh is the
   fallback for older browsers.
   "Disc" fit: the artwork shown whole (contain), centred, slightly above middle.
   -------------------------------------------------------------------------- */
html {
    background-color: var(--pbh-bg);
}

/* Astra paints the page white with a rule on the body's own class
   (.ast-plain-container, or .ast-separate-container on other layouts), set from its
   Customizer colours. body plus that class outranks it, so the layer can show. */
body,
body.ast-plain-container,
body.ast-separate-container {
    background-color: transparent;
    background-image: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    z-index: -1;
    pointer-events: none;
    background-color: var(--pbh-bg);
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: contain;
    /* First layer (the fade) sits on top of the second (the artwork) */
    background-image:
        linear-gradient(to bottom,
            rgba(37, 27, 28, var(--pbh-fade-top))    0%,
            rgba(37, 27, 28, var(--pbh-fade-mid))   45%,
            rgba(37, 27, 28, var(--pbh-fade-bottom)) 100%),
        url("../img/pbh-bg-sunset-1280.webp");
}

/* Larger screens get a larger copy of the artwork (same picture, sharper) */
@media (min-width: 1281px), (min-width: 641px) and (min-resolution: 2dppx) {
    body::before {
        background-image:
            linear-gradient(to bottom,
                rgba(37, 27, 28, var(--pbh-fade-top))    0%,
                rgba(37, 27, 28, var(--pbh-fade-mid))   45%,
                rgba(37, 27, 28, var(--pbh-fade-bottom)) 100%),
            url("../img/pbh-bg-sunset-1920.webp");
    }
}

@media (min-width: 1921px), (min-width: 1281px) and (min-resolution: 2dppx) {
    body::before {
        background-image:
            linear-gradient(to bottom,
                rgba(37, 27, 28, var(--pbh-fade-top))    0%,
                rgba(37, 27, 28, var(--pbh-fade-mid))   45%,
                rgba(37, 27, 28, var(--pbh-fade-bottom)) 100%),
            url("../img/pbh-bg-sunset-2560.webp");
    }
}


/* --------------------------------------------------------------------------
   3. Content panels
   Text sits on a semi-transparent dark panel so it stays readable over the
   bright parts of the sunset. On Astra's ordinary pages (body class
   .ast-plain-container) the page's content is one <article> inside .site-main;
   that article becomes the panel. Less padding on phones, where space is tight.
   -------------------------------------------------------------------------- */
.ast-plain-container .site-main > article {
    background-color: var(--pbh-panel-bg);
    border: 1px solid var(--pbh-border);
    border-radius: var(--pbh-radius);
    padding: 2em 2.5em;
}

@media (max-width: 544px) {
    .ast-plain-container .site-main > article {
        padding: 1.25em 1em;
    }
}


/* --------------------------------------------------------------------------
   4. Phone header: site title and the EN / TH switcher
   The switcher is GTranslate's [gtranslate] shortcode in Astra's "HTML 1" header
   element, placed in the phone header (Customizer setting, see 04). Its markup
   (17 Oct 2026): .gtranslate_wrapper holding one a.glink per language; the
   language currently shown has the class .gt-current-lang.
   To save space, only the OTHER language shows, as one pill-shaped button:
   "TH" while reading English, "EN" while reading Thai.
   The site title is kept on one line and a little smaller on phones, so it
   never breaks mid-word.
   -------------------------------------------------------------------------- */
.ast-header-html-1 .gtranslate_wrapper a.glink.gt-current-lang {
    display: none;
}

.ast-header-html-1 .gtranslate_wrapper a.glink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;           /* comfortable to tap */
    padding: 0 14px;
    border: 1px solid var(--pbh-heading);
    border-radius: 999px;
    color: var(--pbh-heading);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.ast-header-html-1 .gtranslate_wrapper a.glink:hover,
.ast-header-html-1 .gtranslate_wrapper a.glink:focus {
    color: var(--pbh-text);
    border-color: var(--pbh-text);
}

.ast-header-html-1 .gtranslate_wrapper a.glink img {
    width: 18px;
    height: auto;
}

.site-title {
    white-space: nowrap;
}

@media (max-width: 544px) {
    .site-title {
        font-size: 1.25rem;     /* 20px - Astra's 26px is too wide beside logo, switcher and menu button */
    }
}


/* --------------------------------------------------------------------------
   5. Directorist: its colour variables, re-pointed at our palette
   Directorist prints its variables in an inline <style> block in the <head>
   (assets/other/style.php, 8.10.5). This file loads after it, so these :root
   values win. Settings-driven ones (brand, buttons) are set in Directorist's
   own settings instead - see 04, "Appearance > Brand & styling".
   Usage counted in build/css/public/main.css, 20 Oct 2026:
   - dark and body are mostly text; their "background" uses are almost all
     icons (drawn as a mask filled with a background colour), so cream suits
     them. dark-rgb is NOT changed - overlays and shadows stay dark.
   - light / bg-* / secondary are backgrounds only; border-* are borders.
   - white is used as text AND background, so it is left alone here; the
     white boxes get their own rules (part 6).
   -------------------------------------------------------------------------- */
:root {
    --directorist-color-dark:          var(--pbh-text);
    --directorist-color-body:          var(--pbh-text);

    --directorist-color-gray:          var(--pbh-muted);
    --directorist-color-light-gray:    var(--pbh-muted);
    --directorist-color-deep-gray:     var(--pbh-muted);

    --directorist-color-light:         var(--pbh-surface);
    --directorist-color-bg-gray:       var(--pbh-surface);
    --directorist-color-bg-light:      var(--pbh-surface);
    --directorist-color-bg-light-gray: var(--pbh-surface);
    --directorist-color-secondary:     var(--pbh-surface);

    --directorist-color-border:        var(--pbh-border);
    --directorist-color-border-light:  var(--pbh-border);
    --directorist-color-border-gray:   var(--pbh-border);
}

/* Tooltips use the dark colour as their background (white text on top).
   With dark now cream, give them a dark background of their own. */
.directorist-badge .directorist-badge-tooltip,
.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span {
    background-color: #111111;   /* Astra palette slot 7 */
}


/* --------------------------------------------------------------------------
   6. Directorist: the boxes it paints white
   --directorist-color-white is used as both text and background, so it isn't
   changed (part 5); instead the boxes that use it as a background are given our
   dark surface. Rules found in build/css/public/main.css, 20 Oct 2026:
   search bar and Filters panel share .directorist-search-form__box; cards are
   .directorist-listing-single--bg; Sort By menu .directorist-dropdown__links;
   the option lists of the filter dropdowns are Select2's .select2-dropdown.
   .directorist-content-active (a body class on Directorist pages) makes each
   rule at least as specific as Directorist's own; this file loads later, so it wins.
   -------------------------------------------------------------------------- */
.directorist-content-active .directorist-search-form__box,
.directorist-content-active .directorist-listing-single--bg {
    background-color: var(--pbh-surface);
}

/* Menus and option lists open on top of the cards, so they stay solid */
.directorist-content-active .directorist-dropdown__links,
.directorist-content-active .directorist-dropdown-select-items,
.directorist-content-active .select2-container--default .select2-dropdown {
    background-color: var(--pbh-surface-solid);
}

/* A faint-peach edge so the boxes stand apart from the panel behind them */
.directorist-content-active .directorist-search-form__box,
.directorist-content-active .directorist-listing-single--bg,
.directorist-content-active .directorist-dropdown__links {
    border: 1px solid var(--pbh-border);
}

/* Grid view: the circle behind the heart sits over the picture. Directorist's
   white was stark and our dark surface too heavy, so cream (20 Oct 2026). */
.directorist-content-active .directorist-listing-single.directorist-listing-card .directorist-mark-as-favorite__btn {
    background-color: var(--pbh-text);
}

/* Buttons Directorist outlines in white (border var(--directorist-color-white)):
   Sort By, the grid / list buttons, and the Filter buttons shown on phones.
   The active grid / list button keeps its own look (:not(.active)). */
.directorist-content-active .directorist-dropdown__toggle,
.directorist-content-active .directorist-viewas__item:not(.active),
.directorist-content-active .listing-with-sidebar__header .directorist-archive-sidebar-toggle,
.directorist-content-active .directorist-listings-header__left .directorist-filter-btn,
.directorist-content-active .directorist-search-form-action__filter .directorist-filter-btn {
    border-color: var(--pbh-border);
}


/* --------------------------------------------------------------------------
   7. Text boxes and small links
   Astra colours what is typed in text boxes with its own variables, which have
   grey fallbacks (#475569 typed, #9CA3AF placeholder) meant for a light page and
   are never set by its Customizer palette. Setting them here fixes every text
   box on the site (search boxes now, the members' forms later).
   "Clear All" at the foot of the Filters panel was Directorist's blue; it is a
   link-style button, so it takes the link colours (peach, cream on hover).
   -------------------------------------------------------------------------- */
:root {
    --ast-form-input-text:       var(--pbh-text);    /* typed text */
    --ast-form-input-focus-text: var(--pbh-text);    /* typed text while the box is active */
    --ast-form-field-color:      var(--pbh-muted);   /* placeholder text */
}

/* Clear All: Directorist colours it with var(--directorist-color-info) through a
   long, very specific selector (.listing-with-sidebar__sidebar
   .directorist-advanced-filter__action.directorist-advanced-filter__action--ajax
   .directorist-btn-reset-ajax - seen in Inspect, 20 Oct 2026). Rather than outrank
   it, the variable itself is re-set on the button only, so Directorist's own rule
   draws it peach. Other "info" uses elsewhere stay as they are. */
.directorist-btn-reset-js {
    --directorist-color-info: var(--pbh-heading);
}

.directorist-btn-reset-js:hover,
.directorist-btn-reset-js:focus {
    --directorist-color-info: var(--pbh-text);
}


/* --------------------------------------------------------------------------
   8. Phones: the Filters drawer
   On phones the search sidebar slides in as a drawer; Directorist adds
   .listing-with-sidebar__sidebar--open to it while open (all-listings.js, 8.10.5).
   It opens over the cards, so our see-through box let their white pictures show
   through (greyish drawer), and the box is only about one screen tall - the longer
   Venue filters ran past it onto a white background (24 Oct 2026). So the open
   drawer itself is solid dark, and the box inside it is left plain.
   -------------------------------------------------------------------------- */
.directorist-content-active .listing-with-sidebar__sidebar--open {
    background-color: var(--pbh-surface-solid);
}

.directorist-content-active .listing-with-sidebar__sidebar--open .directorist-search-form__box {
    background-color: transparent;
    border: 0;
}


/* --------------------------------------------------------------------------
   9. Directorist: the single band / venue listing page
   Its cards (About the Band / Venue, Band / Venue Info, Contact Information) are
   section.directorist-card, painted with var(--directorist-color-white) by
   .directorist-content-active .directorist-card (build/css/public/main.css,
   found in the Console 26 Oct 2026). Same treatment as the search pages' boxes
   (part 6): our see-through dark surface and a faint-peach edge.
   Scoped to .directorist-single (the listing page's wrapper) so the members'
   screens, which also use .directorist-card, are left until we restyle them.
   -------------------------------------------------------------------------- */
.directorist-content-active .directorist-single .directorist-card {
    background-color: var(--pbh-surface);
    border: 1px solid var(--pbh-border);
}

/* Icons in the cards' rows (Music Genre, Status, Number of Members ...). Directorist
   draws each icon as a shape filled with a background colour on ::after. The heading
   icons use var(--directorist-color-dark), already cream (part 5), but the row icons
   get a hard-coded grey (#808080) from
   .directorist-single-contents-area .directorist-single-info__label-icon
   .directorist-icon-mask::after (main.css, found in the Console 26 Oct 2026).
   The body class makes ours one class more specific, so cream wins. */
.directorist-content-active .directorist-single-contents-area .directorist-single-info__label-icon .directorist-icon-mask::after {
    background-color: var(--pbh-text);
}

/* Go Back, Edit and Bookmark, above the title: Directorist outlines them in white -
   .directorist-single-listing-action sets border: 2px solid
   var(--directorist-color-white) WITH !important (main.css, found in the Console
   26 Oct 2026; a plain rule lost to it). So ours needs !important too - the only
   !important rules in this file are these button ones. Among !important rules the
   more specific wins: ours has four classes, Directorist's at most three. Faint
   peach, as the search pages' outlined buttons (part 6).
   Text: Go Back and Edit were already peach; Bookmark was cream - all three peach
   (owner's choice, 26 Oct 2026); Bookmark needs its own rule (below).
   Background: on phones (max-width 575px) Directorist paints them white with
   .directorist-single-listing-action.directorist-btn.directorist-btn-light
   { background: var(--directorist-color-white) } (main.css, seen on a real phone
   26 Oct 2026). Our dark surface, at every width - ours has one class more. */
/* 27 Oct 2026: changed from peach outlines to solid dusk violet with cream text, as the
   other secondary buttons (Sign Out, Select, Remove) - owner's choice. */
.directorist-content-active .directorist-single .directorist-single-listing-action.directorist-btn {
    border-color: var(--pbh-dusk) !important;
    color: var(--pbh-text);
    background-color: var(--pbh-dusk);
}

/* On hover / focus Directorist turns them solid white:
   .directorist-single-listing-action:hover (and :focus) set background-color
   var(--directorist-color-white) !important (main.css, Console 26 Oct 2026).
   Ours (27 Oct 2026): the violet dims, as other buttons do on hover. :hover makes
   this more specific than the rule above. */
.directorist-content-active .directorist-single .directorist-single-listing-action.directorist-btn:hover,
.directorist-content-active .directorist-single .directorist-single-listing-action.directorist-btn:focus {
    background-color: color-mix(in srgb, var(--pbh-dusk) 80%, transparent) !important;
    border-color: var(--pbh-dusk) !important;
    color: var(--pbh-text);
}

/* Bookmark kept its cream text: Directorist colours it with
   .directorist-single .directorist-single-listing-top
   button:not(:hover):not(:active):not(.has-background).directorist-btn.directorist-btn-light
   { color: var(--directorist-color-dark) } (main.css, Console 26 Oct 2026) - far more
   specific than ours, and dark is cream (part 5). Rather than outrank it, the variable
   itself is re-set on this button only (as for Clear All, part 7): cream, on the
   violet (27 Oct 2026; was peach at rest, cream on hover / focus). The heart icon is filled with the same variable, so it follows the
   text, like the arrow and pencil on Go Back and Edit. */
.directorist-content-active .directorist-single .directorist-action-bookmark {
    --directorist-color-dark: var(--pbh-text);
}

.directorist-content-active .directorist-single .directorist-action-bookmark:hover,
.directorist-content-active .directorist-single .directorist-action-bookmark:focus {
    --directorist-color-dark: var(--pbh-text);
}


/* --------------------------------------------------------------------------
   10. (Removed 14 Nov 2026.) Directorist's grey grid.jpg placeholder used to be dimmed on
   search cards and hidden on listing pages here (26 Oct 2026). Since batch (c) each
   directory type has its own default picture (Directory Builder -> Band / Venue ->
   General -> Default listing preview image: an electric guitar for bands, a wine bottle
   and glass for venues, drawn in our palette), so grid.jpg no longer appears and the
   pictures show at full strength on cards and pages, as the owner chose (M15). The
   number is kept so the docs still line up.
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   11. Our own elements
   The "Not currently accepting messages." notice on a listing page comes from
   Section 2 of functions.php (shown instead of Send Message when Contact is "No").
   Its look used to be written on the element itself (light grey #f5f5f5, grey text);
   moved here 26 Oct 2026 so it follows the dark look: same spacing and rounded
   corners as before, our see-through surface, a faint-peach edge, muted cream text.
   -------------------------------------------------------------------------- */
.bp-contactable-notice {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: var(--pbh-surface);
    border: 1px solid var(--pbh-border);
    color: var(--pbh-muted);
}

/* Listing form: "Cancel and go back to Dashboard" under the Publish button - from
   Section 24 of functions.php (#80, 6 Nov 2026), new and edit forms, bands and venues.
   A link styled as a quiet secondary button, like Sign Out and Remove: dusk violet with
   cream text, dimming on hover. .directorist-btn gives it Directorist's button shape;
   display, height and width are set to match Publish (flex, 54px, full width - read
   in the Console, 6 Nov 2026). Four classes outrank Astra's link colour and underline in
   page content (.ast-single-post .entry-content a).
   Gap: Publish's wrapper .default-add-listing-bottom has 35px padding top and bottom.
   When Cancel follows it, its bottom padding drops to 12px and the 35px moves below
   Cancel, so the pair sits together and the panel's bottom spacing is unchanged. :has()
   leaves the form as Directorist made it when Cancel isn't there (signed out). */
.directorist-content-active .default-add-listing-bottom:has(+ .pbh-form-cancel) {
    padding-bottom: 12px;
}

.directorist-content-active .pbh-form-cancel {
    padding-bottom: 35px;
}

.directorist-content-active .pbh-form-cancel .directorist-btn.pbh-cancel-btn {
    display: flex;
    justify-content: center;
    height: 54px;
    background-color: var(--pbh-dusk);
    border-color: var(--pbh-dusk);
    color: var(--pbh-text);
    text-decoration: none;
}

.directorist-content-active .pbh-form-cancel .directorist-btn.pbh-cancel-btn:is(:hover, :focus) {
    background-color: color-mix(in srgb, var(--pbh-dusk) 80%, transparent);
    border-color: var(--pbh-dusk);
    color: var(--pbh-text);
}

/* Both buttons show their text as typed (#80 part 3, 6 Nov 2026). Both had
   text-transform: capitalize (Console, 6 Nov 2026 - which rule sets it not yet traced; see
   tidy-up list k), which capitalises every word - "Cancel And Go Back To Dashboard". The Submit Button Label setting is "Publish this
   band" / "Publish this venue" (retyped in Directory Builder 6 Nov 2026 - it had been
   stored as "Publish This Band"). The wording is chosen in the setting and in Section 24,
   not here. Thai has no capitals, so TH is unaffected. */
.directorist-content-active .default-add-listing-bottom .directorist-form-submit__btn,
.directorist-content-active .pbh-form-cancel .directorist-btn.pbh-cancel-btn {
    text-transform: none;
}


/* --------------------------------------------------------------------------
   12. Readability pass: the screens not yet restyled (26 Oct 2026)
   Not the finished look - just no cream text on white, so the friends can test.
   White boxes found with the white-box scan on each screen (07): the listing form
   (new and edit), Band and Venue Registration, the Dashboard tabs, the member
   profile, Sign In / Sign Up, and Astra's header drop-down. Directorist paints
   them with var(--directorist-color-white); the body class
   .directorist-content-active (on all these pages, Sign In included) makes ours at
   least as specific, and this file loads later. Boxes get the see-through surface
   and a faint-peach edge, as part 6; menus that open over content stay solid.
   -------------------------------------------------------------------------- */

/* Every Directorist card. Part 9 did the listing page's only; the member profile,
   My Profile and the forms use the same class. */
.directorist-content-active .directorist-card {
    background-color: var(--pbh-surface);
    border: 1px solid var(--pbh-border);
}

/* Listing form (new and edit): the form card, the box around it, the highlighted
   step on the left. Band and Venue Registration: the Band / Venue tiles. */
.directorist-content-active .multistep-wizard__single,
.directorist-content-active .multistep-wizard__nav__btn.active,
.directorist-content-active .directorist-add-listing-types__single__link {
    background-color: var(--pbh-surface);
    border-color: var(--pbh-border);
}

/* The text editor (About the Band / Venue): its frame and toolbar. The typing area
   inside is a separate mini-page our stylesheet can't reach - it stays white with
   dark text, which is readable. */
.directorist-content-active .mce-tinymce.mce-panel,
.directorist-content-active .mce-edit-area.mce-panel {
    background-color: var(--pbh-surface);
}

/* Dashboard: the side-menu toggle, the side menu, the All / Expired bar, the table
   card, My Profile's picture card, My Favourites ("favourirte" is Directorist's own
   spelling). */
.directorist-content-active .directorist-user-dashboard__toggle__link,
.directorist-content-active .directorist-user-dashboard__nav,
.directorist-content-active .directorist-user-dashboard-tab__nav,
.directorist-content-active .directorist-user-dashboard-tabcontent,
.directorist-content-active .directorist-image-profile-wrap,
.directorist-content-active .directorist-favourirte-items {
    background-color: var(--pbh-surface);
    border-color: var(--pbh-border);
    color: var(--pbh-text);
}

/* The table rows and the Options button sit on the table card - let it show through.
   The Options button and its menu are painted white by four-class rules
   (.directorist-user-dashboard-tabcontent .directorist-listing-table
   .directorist-actions .directorist-btn-more, and ... .directorist-dropdown
   .directorist-dropdown-menu - main.css, Console 26 Oct 2026), so ours repeat
   that path with the body class in front. */
.directorist-content-active .directorist-user-dashboard-tabcontent tr,
.directorist-content-active .directorist-user-dashboard-tabcontent .directorist-listing-table .directorist-actions .directorist-btn-more {
    background-color: transparent;
}

/* Dashboard table text Directorist colours dark (Console, 26 Oct 2026):
   - the listing names: .directorist-user-dashboard-tabcontent .directorist-listing-table
     .directorist-listing-table-listing-info__content .directorist-title a - near-black
     rgb(10, 11, 30). Same path plus the body class, so ours wins. Cream, like the names
     on the search cards.
   - the status badge (Live, and the other statuses): span.directorist_badge.dashboard-badge
     .directorist_status_..., dark text (Live: dark green) on a faint coloured tint. Cream
     text on all of them; the tint still tells the statuses apart. The words inside are
     Section 17's (span.bp-lang-en / .bp-lang-th), which take the badge's colour. */
.directorist-content-active .directorist-user-dashboard-tabcontent .directorist-listing-table .directorist-listing-table-listing-info__content .directorist-title a {
    color: var(--pbh-text);
}

.directorist-content-active .directorist-user-dashboard-tabcontent .directorist_badge.dashboard-badge {
    color: var(--pbh-text);
}

/* Menus that open over other content: solid */
.directorist-content-active .directorist-user-dashboard-tabcontent .directorist-listing-table .directorist-dropdown .directorist-dropdown-menu,
.directorist-content-active .directorist-listing-category__popup__content {
    background-color: var(--pbh-surface-solid);
}

/* The Options menu's edge was white; faint peach like the other menus (27 Oct 2026). */
.directorist-content-active .directorist-user-dashboard-tabcontent .directorist-listing-table .directorist-dropdown .directorist-dropdown-menu {
    border-color: var(--pbh-border);
}

/* Sign In / Sign Up cards. Their labels and links were dark grey (for a white card);
   cream text and peach links instead. */
.directorist-content-active .directorist-authentication__form {
    background-color: var(--pbh-surface);
    border: 1px solid var(--pbh-border);
    color: var(--pbh-text);
}

.directorist-content-active .directorist-authentication__form label,
.directorist-content-active .directorist-authentication__form p {
    color: var(--pbh-text);
}

.directorist-content-active .directorist-authentication__form a:not(.directorist-btn) {
    color: var(--pbh-heading);
}

/* Astra's header drop-down menu (desktop), site-wide: .main-header-menu .sub-menu
   in Astra's main.min.css. body makes ours one step more specific. */
body .main-header-menu .sub-menu {
    background-color: var(--pbh-surface-solid);
}

/* Listing form: the circles beside Band Details / Finish in the step list.
   Light grey from .multistep-wizard__nav__btn i (main.css); faint peach instead. */
.directorist-content-active .multistep-wizard__nav__btn i {
    background-color: var(--pbh-border);
}

/* The editor's toolbar strip: div.mce-toolbar-grp in WordPress's editor.min.css.
   See-through, so the dark editor frame shows. Its icons are already cream. */
.directorist-content-active div.mce-toolbar-grp {
    background-color: transparent;
}

/* Required-field asterisk: red from var(--directorist-color-danger), one class
   (main.css). Orange instead, on the asterisk only - "danger" stays red for errors. */
.directorist-content-active .directorist-form-required {
    color: var(--pbh-accent);
}

/* Lists in About the Band / Venue (listing page): Directorist lays out lists in the
   details card as two columns (display: flex, each item 49% wide, no indent) with
   .directorist-single-contents-area .directorist-details-info-wrap
   .directorist-single-info:not(.directorist-single-info-html) ul - meant for its
   multi-value fields, but it also catches lists members write in their About text,
   which sit in .directorist-listing-details__text. Back to a normal list, one item per
   line with the usual indent. body + four classes outranks Directorist's four. */
body.directorist-content-active .directorist-single-contents-area .directorist-details-info-wrap .directorist-listing-details__text ul {
    display: block;
    padding-left: 20px;
}

/* Editor toolbar buttons: hover and pressed. WordPress's editor.min.css turns them
   near-white (.mce-toolbar .mce-btn-group .mce-btn:hover / :focus, #f6f7f7, dark text,
   blue ring; .mce-btn.mce-active, #f0f0f1) - the cream icons vanish on white.
   Hover / focus: the typing-area brown with a peach edge. Pressed (e.g. Bold while in
   bold text): faint peach with a peach edge. The body class makes ours one step more
   specific than WordPress's. The Paragraph box is a .mce-btn too, so it follows. */
.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn:hover,
.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn:focus {
    background-color: var(--pbh-input);
    border-color: var(--pbh-heading);
    box-shadow: none;
    color: var(--pbh-text);
}

.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn.mce-active,
.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn.mce-active:hover,
.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn.mce-active:focus,
.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn:active {
    background-color: var(--pbh-border);
    border-color: var(--pbh-heading);
    color: var(--pbh-text);
}

/* The editor's Paragraph list (and any other editor menu): it opens over the page, so
   solid. White from div.mce-panel / .mce-menu (TinyMCE skin.min.css, editor.min.css),
   edge from .mce-panel.mce-menu. The highlighted / hovered option was WordPress blue
   (.mce-menu .mce-menu-item.mce-active.mce-menu-item-normal, :hover, :focus in
   editor.min.css); faint peach with cream text instead, as the pressed toolbar button. */
.directorist-content-active .mce-menu.mce-floatpanel {
    background-color: var(--pbh-surface-solid);
    border-color: var(--pbh-border);
}

.directorist-content-active .mce-menu .mce-menu-item.mce-active.mce-menu-item-normal,
.directorist-content-active .mce-menu .mce-menu-item:hover,
.directorist-content-active .mce-menu .mce-menu-item:focus {
    background-color: var(--pbh-border);
    color: var(--pbh-text);
}

/* The Paragraph box's own hover / focus ring: WordPress blue from
   .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover / :focus (editor.min.css).
   That ties with our general button rule above, and editor.min.css is printed with the
   editor, AFTER this file - so on a tie WordPress wins. One more class here. */
.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover,
.directorist-content-active .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:focus {
    border-color: var(--pbh-heading);
    box-shadow: none;
}

/* Select2 lists (Music Genre, Location - the listing form and the Find a Band / Venue
   filters): an option already chosen was light grey (#ddd) from
   .select2-container--default .select2-results__option--selected (select2.css), with
   cream text on it. Directorist's own rule for chosen options looks for
   aria-selected="true", which this Select2 no longer sets, so it never applies.
   Faint peach with cream text, as other "on" states. Hover is Directorist's
   (brown, peach text, !important) and already fits. */
.directorist-content-active .select2-container--default .select2-results__option--selected {
    background-color: var(--pbh-border);
    color: var(--pbh-text);
}

/* Select2 multi-choice boxes (Music Genre etc.): Directorist's arrow on the right lets
   the mouse pass through it (pointer-events: none, so a click reaches the box and opens
   the list) - but the box underneath shows Select2's typing cursor (cursor: text on
   .select2-selection--multiple). A pointing hand on the box instead; the small typing
   area inside keeps its own typing cursor. Cursor only - no change to what clicks do. */
.directorist-content-active .select2-container--default .select2-selection--multiple {
    cursor: pointer;
}

/* My Profile: the profile picture box. Light grey with a grey edge from
   .ez-media-uploader (ez-media-uploader.css). See-through with a faint-peach edge. */
.directorist-content-active .ez-media-uploader {
    background-color: transparent;
    border-color: var(--pbh-border);
}

/* Its "Select" button: near-white from .directorist-image-profile-wrap
   .ezmu__upload-button-wrap .ezmu__btn (main.css), with cream text on it. Styled as a
   secondary button instead (cream on dusk violet, as Directorist's Secondary setting). */
.directorist-content-active .directorist-image-profile-wrap .ezmu__upload-button-wrap .ezmu__btn {
    background-color: var(--pbh-dusk);
    color: var(--pbh-text);
}

/* Plain Directorist buttons - Dashboard "Add Band or Venue" (.directorist-btn--add-listing),
   My Profile "Save Changes" (.directorist-btn-profile-save) and Sign In / Sign Up's
   main button (.directorist-authentication__form__btn): .directorist-btn
   (main.css) paints them in the brand colour (peach) with WHITE text. Directorist's
   Primary button setting only reaches .directorist-btn-primary, which these aren't.
   (The listing form's visible Publish button IS .directorist-btn-primary, so the
   setting colours it - see 04. A hidden twin, .multistep-wizard__btn--save-preview,
   sits beside it at opacity 0 and needs nothing.)
   Peach with dark text like every other main button. On hover, dimmed the way
   Directorist dims its primary buttons (Publish Changes) - the brand colour at 80% -
   so all main buttons behave alike (agreed 26 Oct 2026). */
.directorist-content-active .directorist-btn.directorist-btn--add-listing,
.directorist-content-active .directorist-btn.directorist-btn-profile-save,
.directorist-content-active .directorist-btn.directorist-authentication__form__btn {
    background-color: var(--pbh-button);
    color: var(--pbh-bg);
}

.directorist-content-active .directorist-btn.directorist-btn--add-listing:hover,
.directorist-content-active .directorist-btn.directorist-btn--add-listing:focus,
.directorist-content-active .directorist-btn.directorist-btn-profile-save:hover,
.directorist-content-active .directorist-btn.directorist-btn-profile-save:focus,
.directorist-content-active .directorist-btn.directorist-authentication__form__btn:hover,
.directorist-content-active .directorist-btn.directorist-authentication__form__btn:focus {
    background-color: rgba(var(--directorist-color-primary-rgb), 0.8);
    color: var(--pbh-bg);
}

/* Listing form: the image uploader's "Select Files" button. Peach with WHITE text from
   .directorist-form-image-upload-field .ez-media-uploader .ezmu__upload-button-wrap
   .ezmu__input-label (main.css), plus a pale grey shadow under it from .ezmu__btn
   (ez-media-uploader.css). Peach with dark text and no shadow, dimming on hover, like
   the other main buttons. */
.directorist-content-active .directorist-form-image-upload-field .ez-media-uploader .ezmu__upload-button-wrap .ezmu__input-label {
    background-color: var(--pbh-button);
    color: var(--pbh-bg);
    box-shadow: none;
}

.directorist-content-active .directorist-form-image-upload-field .ez-media-uploader .ezmu__upload-button-wrap .ezmu__input-label:hover {
    background-color: rgba(var(--directorist-color-primary-rgb), 0.8);
}

/* Its upload-arrow icon: drawn by the button's own ::before (a mask filled with
   background-color), white from the same Directorist rule + ::before. Dark, as the text. */
.directorist-content-active .directorist-form-image-upload-field .ez-media-uploader .ezmu__upload-button-wrap .ezmu__input-label::before {
    background-color: var(--pbh-bg);
}

/* Select2 pills (chosen genres etc. in a multi-choice box - listing form and filters):
   peach with WHITE text, and a white x, from
   .directorist-content-active .select2.select2-container.select2-container--default
   .select2-selection__choice / __choice__remove (main.css, five classes). Dark text and x,
   like the peach buttons; ours adds .select2-selection--multiple to outrank it. The x had
   no hover feedback (Directorist's rule beats Select2's hover), so it fades a little. */
.directorist-content-active .select2.select2-container.select2-container--default .select2-selection--multiple .select2-selection__choice,
.directorist-content-active .select2.select2-container.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--pbh-bg);
}

.directorist-content-active .select2.select2-container.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.directorist-content-active .select2.select2-container.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    color: var(--pbh-bg);
    background-color: transparent;
    opacity: 0.6;
}

/* The pill's x you actually see is the remove button's ::before - a cross-shaped mask
   filled white by Directorist's matching ::before rule (the button's own text x is
   hidden). Filled dark instead. */
.directorist-content-active .select2.select2-container.select2-container--default .select2-selection--multiple .select2-selection__choice__remove::before {
    background-color: var(--pbh-bg);
}

/* My Profile, Social Profiles: the line under the heading - near-white (#eff1f6) from
   .directorist-user-socials .directorist-user-social-label (main.css). Faint peach. */
.directorist-content-active .directorist-user-socials .directorist-user-social-label {
    border-bottom-color: var(--pbh-border);
}

/* Its Facebook / X / LinkedIn / YouTube icons: masks filled near-black (#0a0b1e) by
   .directorist-user-socials label .directorist-social-icon .directorist-icon-mask::after
   (main.css). Cream, as the labels beside them. */
.directorist-content-active .directorist-user-socials label .directorist-social-icon .directorist-icon-mask::after {
    background-color: var(--pbh-text);
}

/* Focused typing boxes, site-wide: Astra's input[type="text"]:focus (and email,
   password... in main.min.css) turns every box WHITE with near-black text the moment you
   click into it - our cream text then sits on white (My Profile, Sign In). Stays
   see-through with cream text instead, and a peach underline to show which box is
   active (Astra's own focus border comes out cream via "inherit"). Chat boxes are left
   to Better Messages. html body + the attribute outranks Astra's rules. */
html body :is(input[type="text"], input[type="email"], input[type="password"], input[type="url"],
  input[type="number"], input[type="tel"], input[type="search"]):not(.bp-messages-wrap *):focus {
    background-color: transparent;
    color: var(--pbh-text);
    border-color: var(--pbh-heading);
}

/* Sign In / Sign Up: the "Don't have an account? Sign Up" line under the button. Its words
   were dark grey (#404040) from .directorist-authentication__form__toggle-area (main.css).
   Cream. The "Sign Up" switch in it isn't a link (our peach link rule above didn't reach
   it), so it's coloured here as a link: peach, cream on hover, no box - Astra's inline
   button:hover would otherwise paint it a cream box. */
.directorist-content-active .directorist-authentication__form__toggle-area {
    color: var(--pbh-text);
}

.directorist-content-active .directorist-authentication__form__toggle-area :is(a, button) {
    color: var(--pbh-heading);
    background-color: transparent;
}

.directorist-content-active .directorist-authentication__form__toggle-area :is(a, button):is(:hover, :focus) {
    color: var(--pbh-text);
    background-color: transparent;
}

/* Sign In / Sign Up typing boxes: their underline was near-white (#ececec) from
   .directorist-authentication__form .directorist-form-element (main.css). Faint peach,
   as on My Profile and the listing form. (When focused, the site-wide focus rule above
   still turns it peach - it is the more specific of the two.) */
.directorist-content-active .directorist-authentication__form .directorist-form-element {
    border-bottom-color: var(--pbh-border);
}

/* Sign Up: the "Privacy & Policy" and "terms & conditions" links. Directorist writes
   style="color: red" straight onto each link in its template, and an inline colour beats
   any stylesheet rule - so this is one of the few places !important is needed. Scoped to
   links carrying an inline colour inside a checkbox label. Peach, as other links. */
.directorist-content-active .directorist-checkbox__label a[style*="color"] {
    color: var(--pbh-heading) !important;
}

/* WordPress button blocks (e.g. the Welcome page's "Sign In / Sign Up"), coloured by Astra
   (palette slot 1, peach): Astra turns them cream on hover. Dimmed instead, the way
   Directorist's main buttons dim (the button colour at 80%), so every main button behaves
   alike. color-mix keeps it tied to --pbh-button. html body outranks Astra's hover rule. */
html body .wp-block-button .wp-block-button__link:is(:hover, :focus) {
    background-color: color-mix(in srgb, var(--pbh-button) 80%, transparent);
    border-color: transparent;
    color: var(--pbh-bg);
}

/* My Favourites: a favourite's card on hover turned near-white (#f8f9fa) from
   .directorist-favourite-items-wrap .directorist-dashboard-items-list__single:hover
   (main.css) - the cream name vanished. A slightly lighter warm brown instead (the
   typing-area colour), so the card still lights up. */
.directorist-content-active .directorist-favourite-items-wrap .directorist-dashboard-items-list__single:hover {
    background-color: var(--pbh-input);
}

/* Its "Remove" button: a Directorist danger button - bright red (#f80718) with white text
   (.directorist-btn.directorist-btn-danger; text from ... .directorist-favourite-remove-btn,
   main.css). Removing a favourite is harmless and easily undone, so styled as a quiet
   secondary button instead, like Sign Out - dusk violet (agreed 27 Oct 2026). Directorist's danger
   colour itself stays red for real errors. Its red edge goes too. Dims on hover like
   the other buttons. */
.directorist-content-active .directorist-favourite-items-wrap .directorist-btn.directorist-favourite-remove-btn {
    background-color: var(--pbh-dusk);
    border-color: var(--pbh-dusk);
    color: var(--pbh-text);
}

.directorist-content-active .directorist-favourite-items-wrap .directorist-btn.directorist-favourite-remove-btn:is(:hover, :focus) {
    background-color: color-mix(in srgb, var(--pbh-dusk) 80%, transparent);
    border-color: var(--pbh-dusk);
    color: var(--pbh-text);
}

/* Dashboard tabs (My Band or Venue, My Profile, My Favourites, Messages): underlined by
   Astra's .ast-single-post .entry-content a (inline, "links in content"). Underlines
   suit links inside sentences, not a menu - off here only; links in text keep theirs.
   .entry-content added to outrank Astra's rule. */
.directorist-content-active .entry-content .directorist-tab__nav__link {
    text-decoration: none;
}

/* Dashboard: the active tab (and a tab with focus). Brown from
   .directorist-tab__nav__link.directorist-tab__nav__active / :focus (main.css), which uses
   the border colour as a fill, with peach text. Dusk violet with cream text instead, like
   Sign Out - peach on violet is too faint. Its icon (a mask, filled peach) follows. */
.directorist-content-active .directorist-tab__nav__link.directorist-tab__nav__active,
.directorist-content-active .directorist-tab__nav__link:focus {
    background-color: var(--pbh-dusk);
    color: var(--pbh-text);
}

.directorist-content-active .directorist-tab__nav__link.directorist-tab__nav__active .directorist-icon-mask::after,
.directorist-content-active .directorist-tab__nav__link:focus .directorist-icon-mask::after {
    background-color: var(--pbh-text);
}

/* Dashboard, My Band or Venue tab: "All" / "Expired" were underlined by Astra's
   .ast-single-post .entry-content a (beats Directorist's own "none"). Off, as for the
   main Dashboard tabs. */
.directorist-content-active .entry-content .directorist-user-dashboard-tab li a {
    text-decoration: none;
}

/* Its "Search by name" box: near-white (#f6f7f9) with grey text from
   .directorist-user-dashboard-tab .directorist-user-dashboard-search input (main.css).
   A raised surface with cream text and a faint-peach edge, like the other boxes. (When
   clicked, the site-wide focus rule takes over.) */
.directorist-content-active .directorist-user-dashboard-tab .directorist-user-dashboard-search input {
    background-color: var(--pbh-surface);
    color: var(--pbh-text);
    border: 1px solid var(--pbh-border);
}

/* Its "Edit" links: WordPress blue, via var(--directorist-color-info) in
   ... .directorist-actions a.directorist-link-btn (main.css), icon included. Re-pointing
   that variable for the actions column only turns text and icon peach together;
   "info" stays blue elsewhere. */
.directorist-content-active .directorist-listing-table .directorist-actions {
    --directorist-color-info: var(--pbh-heading);
}

/* Dashboard tabs on hover: nothing changed (the text is cream already, and Astra's
   a:hover only sets cream). A faint dusk-violet wash instead, so the tab you're pointing
   at lights up in the same colour it turns when chosen. The active tab is left out, so
   it keeps its full violet. */
.directorist-content-active .directorist-tab__nav__link:not(.directorist-tab__nav__active):hover {
    background-color: color-mix(in srgb, var(--pbh-dusk) 40%, transparent);
    color: var(--pbh-text);
}

/* Dashboard, My Band or Venue: each listing's row gets the same faint dusk-violet wash
   on hover as the tabs, so the row you're pointing at (Edit / Options) is clear. Set on
   the cells, which would otherwise paint over a row colour. */
.directorist-content-active .directorist-listing-table tbody tr:hover > td {
    background-color: color-mix(in srgb, var(--pbh-dusk) 40%, transparent);
}

/* Its column headings' underline: near-white (#eff1f6) from
   .directorist-user-dashboard-tabcontent .directorist-listing-table tr th (main.css).
   Faint peach, as the other dividers. */
.directorist-content-active .directorist-user-dashboard-tabcontent .directorist-listing-table tr th {
    border-bottom-color: var(--pbh-border);
}

/* Listing cards on hover (Find a Band / Venue, member profiles): nothing changed. The
   card's faint-peach edge (part 6) turns full peach, so the card you're pointing at
   stands out - the picture and title inside are the links. */
.directorist-content-active .directorist-listing-single--bg:hover {
    border-color: var(--pbh-heading);
}

/* Listing cards: the whole card opens the listing, not just the picture and name.
   The name's link (.directorist-listing-title a) is stretched invisibly over the card
   with an ::after layer, the card being its frame (position: relative). The card's
   other clickable parts sit on top so they keep their own jobs: the heart
   (.directorist-mark-as-favorite__btn, already positioned) and the genre links with
   their "+1" pop-up (.directorist-listing-category). CSS only - no change to Directorist. */
.directorist-content-active .directorist-listing-single--bg {
    position: relative;
}

.directorist-content-active .directorist-listing-single--bg .directorist-listing-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.directorist-content-active .directorist-listing-single--bg .directorist-mark-as-favorite__btn {
    z-index: 2;
}

.directorist-content-active .directorist-listing-single--bg .directorist-listing-category {
    position: relative;
    z-index: 2;
}

/* Dashboard, My Band or Venue: the whole row opens the listing, as the search cards do.
   The name's link (h4.directorist-title a) is stretched over the row (the row is its
   frame, position: relative). The actions area (.directorist-actions - Edit, Options
   and Options' drop-down menu, which opens over the rows below) sits above every
   row's stretched layer, so those keep their own jobs. */
.directorist-content-active .directorist-listing-table tbody tr {
    position: relative;
}

.directorist-content-active .directorist-listing-table tbody .directorist-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.directorist-content-active .directorist-listing-table tbody .directorist-actions {
    position: relative;
    z-index: 2;
}

/* ...but every row's actions box is on that same level, so the NEXT row's Edit / Options
   painted over an open Options menu. The box you're using (pointing at, or with
   keyboard focus inside - its open menu counts, being inside it) goes one level higher. */
.directorist-content-active .directorist-listing-table tbody .directorist-actions:is(:hover, :focus-within) {
    z-index: 3;
}

/* Find a Band / Venue, Filters sidebar: opening a filter (or choosing a value) made its
   label jump - Directorist's "floating label" for .input-is-focused / .input-has-value
   (.listing-with-sidebar__sidebar .directorist-form-group.directorist-search-field...,
   main.css): 40px added above, inline-flex, label 16px / 500, select nudged 5px down.
   The sidebar shows its labels above the fields all the time, so the jump only moves
   things about. Focused / filled fields keep the empty fields' values instead
   (measured in the Console 27 Oct 2026: block, margin 0 0 40px; label 14px / 400,
   margin 0 0 8px). One class more than Directorist's rules. */
.directorist-content-active .listing-with-sidebar__sidebar .directorist-form-group.directorist-search-field:is(.input-is-focused, .input-has-value) {
    display: block;
    margin: 0 0 40px;
}

.directorist-content-active .listing-with-sidebar__sidebar .directorist-form-group.directorist-search-field:is(.input-is-focused, .input-has-value) .directorist-search-field__label {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 8px;
}

.directorist-content-active .listing-with-sidebar__sidebar .directorist-form-group.directorist-search-field:is(.input-is-focused, .input-has-value) :is(.directorist-select, .directorist-search-field__input) {
    bottom: 0;
}

/* #75: Dashboard menu card keeps its own height instead of stretching to match
   the content beside it (Directorist's flex row defaults to stretch, which left
   a tall, mostly empty card on My Profile). */
#directorist-dashboard-nav {
    align-self: flex-start;
}

/* Dashboard menu on phones and tablets (Directorist pins it to the screen as a
   slide-out panel below 1199px - main.css, Console 28 Oct 2026): solid, because it
   opens over the page, and only as tall as its contents, with a shadow so it reads
   as sitting on top. max-height / overflow-y: scrolls rather than being cut off on
   a short screen. Tapping the page outside it still closes it (tested on the phone). */
@media only screen and (max-width: 1199px) {
    .directorist-content-active .directorist-user-dashboard__nav {
        background-color: var(--pbh-surface-solid);
        height: auto;
        bottom: auto;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }
}

/* Dashboard status tabs on small phones: Directorist makes each tab a full-width row
   at 375px and below (main.css: .directorist-user-dashboard-tab ul li { flex: 0 0 100% },
   found on the Honor phone, 369px wide, 28 Oct 2026). That was for its five tabs; since
   #52 only All and Expired show, and they fit side by side (Thai too), so let each tab
   keep its own width. */
@media only screen and (max-width: 375px) {
    .directorist-content-active .directorist-user-dashboard-tab ul li {
        flex: 0 0 auto;
    }
}

/* Dashboard, My Band or Venue tab: All / Expired as a slim row (30 Oct 2026).
   On phones the box around the tabs filled most of the first screen - mostly the
   "Search by name" box (pointless with one to three listings) and padding
   (0 20px 20px on .directorist-user-dashboard-tab__nav; the search box has a margin of
   30px 0 16px - Console, 30 Oct 2026). Search hidden, and the box's own look removed
   (part 12 gave it a surface, border and corners), so the tabs sit straight on top
   of the table card. Comes after part 12's rule with the same selector, so it wins.
   Desktop: the active-tab underline under "All" sits lower and grey - it was like that
   before (hidden by the box edge); on the tidy-up list. */
.directorist-content-active .directorist-user-dashboard-search {
    display: none;
}
.directorist-content-active .directorist-user-dashboard-tab__nav {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

/* My Favourites: each favourite was near-white on phones (rgb(248, 249, 250) on
   .directorist-dashboard-items-list__single - Console, 30 Oct 2026), so the cream name
   was almost invisible. Seen on a phone after the readability pass (checked on the
   desktop, where it didn't show). Let the dark favourites card show through instead. */
.directorist-content-active .directorist-dashboard-items-list__single {
    background-color: transparent;
}

/* Find a Band / Find a Venue: the page buttons (1, 2, >) under the listings, which only
   show once there is a second page - so the readability pass missed them (found 6 Nov
   2026). Directorist paints .page-numbers white (Console, 6 Nov 2026) while our palette
   already gives them their text and edges: the current page peach text with a peach edge,
   the others cream with a faint-peach edge - so the numbers all but vanished. Our
   see-through surface instead (tried live in the Console first). The links' underline is
   Astra's for links in page content (as on the Dashboard tabs) - off here; the current
   page is a <span>, not a link. */
.directorist-content-active .directorist-pagination .page-numbers {
    background-color: var(--pbh-surface);
    text-decoration: none;
}

/* Listing form: the "You are about to publish" card above the Publish button, trimmed
   (#80 part 2, option A, 6 Nov 2026 - tried live in the Console first). Directorist made it
   385px tall for about 160px of content (Console, 6 Nov 2026): 100px padding top and
   bottom; the icon <i class="directorist-icon-mask"> a 70 x 70px box around a 30px icon
   (drawn by its ::after) with a 25px margin below, inside a 70px-high wrapper; a 24px
   heading; 24px under the subtitle. Now about 120px: 24px padding, the icon box the icon's
   own size (auto side margins still centre it), 12px to a 20px heading, nothing under the
   subtitle. Checked in TH. If it ever feels too big again, the agreed fallback is to hide
   the card altogether. */
.directorist-content-active .directorist-add-listing-form__publish {
    padding: 24px 20px;
}

.directorist-content-active .directorist-add-listing-form__publish__icon {
    height: auto;
    margin-bottom: 0;
}

.directorist-content-active .directorist-add-listing-form__publish__icon .directorist-icon-mask {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
}

.directorist-content-active .directorist-add-listing-form__publish__title {
    font-size: 20px;
}

.directorist-content-active .directorist-add-listing-form__publish__subtitle {
    margin-bottom: 0;
}

/* Listing form: error notice under "You are about to publish" (#listing_notifier, which
   Directorist fills with span.atbdp_error) - e.g. Section 22's "This photo is too large"
   refusal (#63). Directorist's pure bright red on our dark brown was glaring. Still red
   (danger stays red for real errors), but soft coral text on a faint dark-red panel with a
   gentle red edge and our rounded corners. Tried live first (Console, 3 Nov 2026); checked
   in TH too - the Thai wraps to two lines and the panel grows to fit. Only .atbdp_error, so
   any success notice there is untouched. */
.directorist-content-active #listing_notifier .atbdp_error {
    display: block;
    color: #ffb4a6;
    background-color: rgba(176, 58, 46, 0.22);
    border: 1px solid rgba(240, 110, 90, 0.45);
    border-radius: 8px;
    padding: 0.75em 1em;
    font-weight: 500;
}

/* Phone header: the site title a little smaller on narrow phones (#65, 4 Nov 2026).
   The longer name "Phuket Band Hub" (was "BandPortal") squeezed the EN/TH pill, cutting
   off its "TH" at 360-412 px (checked by hiding the title in the Console - the pill then
   showed in full). 16px fits at 360 px, the narrowest common phone width; owner chose not
   to go smaller. #ast-mobile-header limits it to Astra's phone header (the page holds a
   desktop and a phone copy of the header), so the desktop title is unchanged. */
@media (max-width: 420px) {
    #ast-mobile-header .site-title,
    #ast-mobile-header .site-title a {
        font-size: 16px;
    }
}

/* "← Back to Dashboard" under the heading on Find a Band, Find a Venue and Band and Venue
   Registration (choice, new and edit forms) - Section 26 (#81, 7 Nov 2026). Same look as
   Go Back on the listing pages (part 9 above): small, solid dusk violet, cream text,
   dimming on hover / focus - one "back" style across the site. It sits in the page content
   outside Directorist's own wrapper, so Directorist's button colours don't reach it; four
   classes outrank Astra's link colour and underline in page content, as for Cancel
   (part 11). text-transform: none as Cancel and Publish - shown as typed, not "Back To
   Dashboard". The gap below separates it from the search bar / the choice / the form. */
.directorist-content-active .pbh-back-dash {
    margin-bottom: 20px;
}

.directorist-content-active .pbh-back-dash .directorist-btn.pbh-back-dash__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    background-color: var(--pbh-dusk);
    border-color: var(--pbh-dusk);
    color: var(--pbh-text);
    text-decoration: none;
    text-transform: none;
}

.directorist-content-active .pbh-back-dash .directorist-btn.pbh-back-dash__btn:is(:hover, :focus) {
    background-color: color-mix(in srgb, var(--pbh-dusk) 80%, transparent);
    border-color: var(--pbh-dusk);
    color: var(--pbh-text);
}

/* Directorist's notice boxes (#84, #90, 10 Nov 2026). One base class .directorist-alert plus
   a type: info (publish / edit notice), success (sign-up, password reset / change), warning
   ("only accessible to logged-out users"), danger (wrong password, email already registered),
   primary (not seen). Directorist colours each type with a two-class rule - pale background,
   bright text (public-main.min.css and others) - so .directorist-content-active in front
   makes ours win. Info, success and primary: solid peach with dark text, like our main
   buttons - the strongest look, chosen by the owner after trying a 30% violet tint (lost
   against the artwork's purple sky) and an 85% violet with a peach side stripe (the stripe
   barely showed). Tried live with pbhTry, 10 Nov 2026. Danger uses the listing form's error
   values (#listing_notifier, above), so all errors look alike; warning a peach tint. All
   types 17px and a little bolder (Directorist: 15px), as members most need to read them.
   Shape, padding and corners stay Directorist's. */
.directorist-content-active .directorist-alert {
    font-size: 17px;
    font-weight: 600;
}

.directorist-content-active .directorist-alert.directorist-alert-info,
.directorist-content-active .directorist-alert.directorist-alert-success,
.directorist-content-active .directorist-alert.directorist-alert-primary {
    color: var(--pbh-bg);
    background: var(--pbh-heading);
    border: 1px solid var(--pbh-heading);
}

.directorist-content-active .directorist-alert.directorist-alert-warning {
    color: var(--pbh-heading);
    background: rgba(247, 172, 113, 0.12);
    border: 1px solid rgba(247, 172, 113, 0.45);
}

.directorist-content-active .directorist-alert.directorist-alert-danger {
    color: #ffb4a6;
    background: rgba(176, 58, 46, 0.22);
    border: 1px solid rgba(240, 110, 90, 0.45);
}

/* Text, links and the × button inside a notice follow the notice's colour. The Sign In / Sign
   Up card's own rules (part 12: cream p, peach links - the link rule is three classes because
   of its :not()) would otherwise reach inside, hence the second, longer link selector. */
.directorist-content-active .directorist-alert p,
.directorist-content-active .directorist-alert span,
.directorist-content-active .directorist-alert .directorist-alert__close {
    color: inherit;
}

.directorist-content-active .directorist-alert a,
.directorist-content-active .directorist-authentication__form .directorist-alert a {
    color: inherit;
    text-decoration: underline;
}

/* The members-only notice's Sign In / Sign Up button (mobile review M53, 11 Nov 2026 - the
   button filter after Section 13 in functions.php). It is a link, so the rule above gave it
   the warning notice's peach - on its own peach background. One more class wins: dark text
   like our other main buttons (Directorist's own button rules already remove the underline),
   and the button's own left padding back (Directorist's .directorist-alert > a cuts it to
   5px, so the text sat off-centre). The notice is a flex row (icon, sentence, button); it may
   wrap when it holds the button, so on a phone the button drops to its own line instead of
   squeezing the sentence. The space before the button is a column gap on the notice, not a
   margin on the button, so it only shows between items on the same line - a wrapped button
   lines up with the text above it. */
.directorist-content-active .directorist-alert a.pbh-members-btn {
    color: var(--pbh-bg);
    padding-left: 26px;
}

.directorist-content-active .directorist-alert:has(.pbh-members-btn) {
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 12px;
}

/* Directorist's delete pop-up on the Dashboard (#84, 10 Nov 2026) - SweetAlert v1
   (assets/vendor-js/sweetalert.js): white box, grey Cancel, stock coral confirm button.
   Dark card like our menus, peach title and warning icon, Cancel dusk violet like our other
   secondary buttons, Delete our orange (--pbh-accent) so it stands apart from the peach main
   buttons. The script sets the confirm button's colour and shadow as an inline style (and
   again on hover), so those two need !important. */
.directorist-content-active .sweet-alert {
    background-color: var(--pbh-surface-solid);
    border: 1px solid var(--pbh-border);
    border-radius: var(--pbh-radius);
}

.directorist-content-active .sweet-alert h2 {
    color: var(--pbh-heading);
}

.directorist-content-active .sweet-alert p {
    color: var(--pbh-text);
}

.directorist-content-active .sweet-alert .sa-icon.sa-warning {
    border-color: var(--pbh-heading);
}

.directorist-content-active .sweet-alert .sa-icon.sa-warning .sa-body,
.directorist-content-active .sweet-alert .sa-icon.sa-warning .sa-dot {
    background-color: var(--pbh-heading);
}

.directorist-content-active .sweet-alert button.cancel,
.directorist-content-active .sweet-alert button.cancel:is(:hover, :focus) {
    background-color: var(--pbh-dusk);
    color: var(--pbh-text);
}

.directorist-content-active .sweet-alert button.confirm {
    background-color: var(--pbh-accent) !important;
    box-shadow: none !important;
    color: var(--pbh-bg);
}

/* Touch screens: no search box in Select2's pick-lists (#99, 11 Nov 2026). Genre and Location
   (the Filters drawer on Find a Band / Find a Venue, and the listing form) are Select2 lists
   with a search box above the list; on opening, Select2 puts the cursor in it, so on a phone
   or tablet the keyboard opens and covers most of the list (seen on a friend's 7" tablet,
   then on the owner's Samsung tablet and Honor phone, Brave). With only 21 genres and 18
   locations, typing isn't needed. Hidden, the box can't take the cursor, so no keyboard.
   Tried live on the Honor phone over USB (DevTools, a pbhTry style tag, a Select2 event
   logger): no keyboard, no accidental pick, scrolling and picking fine, the drawer stays
   open - Location and Genre. pointer: coarse = a finger is the main pointer, so desktop
   (mouse) keeps the search box. !important kept exactly as tried: this rule only ever hides,
   so it can't fight another of ours. */
@media (pointer: coarse) {
    .select2-search--dropdown {
        display: none !important;
    }
}


/* --------------------------------------------------------------------------
   13. Mobile review, batch (c) (14 Nov 2026)
   Every look below was chosen by the owner from a Console trial on LocalWP (a temporary
   style tag), at the Samsung Galaxy A55 size (360 x 800) and on the desktop. The facts
   behind each selector were found by Console checks first (06, "Batch (c) trial results").
   Where a rule carries !important it is kept exactly as tried: Directorist's or Astra's
   own rule (or an inline style) won without it.
   -------------------------------------------------------------------------- */

/* Scrollbars, site-wide: peach on a faint cream track instead of the browser's grey
   (M19 photo thumbnails, M34 Filters drawer, the Dashboard table - wherever something
   scrolls). Thin inside the page; the page's own scrollbar keeps its normal width.
   Phones draw their own scrollbars and some ignore colour - check in the phone session. */
html,
body * {
    scrollbar-color: var(--pbh-button) rgba(246, 234, 216, 0.08);
}

body * {
    scrollbar-width: thin;
}

/* M57 - Work Status / Booking Status, a different look per value. Section 30 of
   functions.php tags the row pbh-status-on ("Looking for...") or pbh-status-off
   ("Not Currently Looking..."). On: a light peach pill (a solid peach pill felt too heavy).
   Off: bold cream text (bold peach until 14 Nov - beside part 14's peach labels it looked like
   another label). The value is a flex child, so the pill needs
   flex: 0 0 auto / fit-content to hug its text. */
.directorist-content-active .pbh-status-off .directorist-single-info__value {
    font-weight: 700;
    color: var(--pbh-text);
}

.directorist-content-active .pbh-status-on .directorist-single-info__value {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    background: rgba(247, 172, 113, 0.25);
    border: 1px solid rgba(247, 172, 113, 0.6);
    border-radius: 999px;
    padding: 2px 12px;
    color: var(--pbh-heading);
    font-weight: 700;
}

/* #100 - the special event as a sea-blue callout (sea blue #295589 from the artwork; less
   orange than the first try, dusk violet the runner-up). The details row is the only
   textarea row on venue pages (bands have none). Heading above the text; its words are
   changed to "Special Event" by Section 30, its glasses icon is set in Directory Builder
   (Venue -> Single Page Layout). Since part 14 (14 Nov 2026) every detail row is a panel
   too, so the callout matches them: the same width and inner spacing (12px + its 1px
   border), so its icon lines up with theirs. (Until then it reached out 17px - 9px on
   phones - to line up with plain rows.) Margins !important: a Directorist margin rule won
   without it. */
.directorist-content-active .directorist-single-info-textarea {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: rgba(41, 85, 137, 0.55);
    border: 1px solid #295589;
    border-radius: var(--pbh-radius);
    padding: 10px 12px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.directorist-content-active .directorist-single-info-textarea .directorist-single-info__label__text {
    font-weight: 700;
    font-size: 18px;
    color: var(--pbh-text);
}

.directorist-content-active .directorist-single-contents-area .directorist-single-info-textarea .directorist-single-info__label-icon .directorist-icon-mask::after {
    background-color: var(--pbh-text);
}

.directorist-content-active .directorist-single-info-textarea .directorist-single-info__value {
    font-size: 16px;
}

/* M59 - multi-line boxes on the listing form (Special Event details): Directorist gave
   them only a faint bottom line, though the box is 8 rows tall. Now a box like the About
   editor: our surface, our border, a peach edge while typing. */
.directorist-content-active textarea.directorist-form-element {
    background: var(--pbh-surface);
    border: 1px solid var(--pbh-border) !important;
    border-radius: 8px;
    padding: 10px 12px;
}

.directorist-content-active textarea.directorist-form-element:focus {
    border-color: var(--pbh-heading) !important;
}

/* M6 + M62 - the ☰ menu on phones (Astra's mobile header) as a floating panel like the
   Dashboard's own menu: set in from the edges, solid dark, our border, rounded, a shadow;
   the current page a dusk-violet pill; a soft peach tint when pressed (instead of
   Astra's teal flash and the browser's tap highlight). The container is absolutely
   positioned at full width with a white background, so it is placed with left / right
   and given the colour itself; everything inside is made see-through (its inner list
   had its own darker background). The page behind is dimmed while the menu is open
   (Astra adds ast-main-header-nav-open to body); the dim layer lets taps through. */
.ast-mobile-header-content {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    margin-top: 8px;
    padding: 12px;
    background: var(--pbh-surface-solid) !important;
    border: 1px solid var(--pbh-border);
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.ast-mobile-header-content * {
    background-color: transparent !important;
}

.ast-mobile-header-content .menu-item > a {
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}

.ast-mobile-header-content .menu-item > a:hover,
.ast-mobile-header-content .menu-item > a:focus,
.ast-mobile-header-content .menu-item > a:active {
    background-color: rgba(247, 172, 113, 0.15) !important;
    color: var(--pbh-text) !important;
}

.ast-mobile-header-content .current-menu-item > a {
    background: var(--pbh-dusk) !important;
    color: var(--pbh-text) !important;
    font-weight: 600;
}

body.ast-main-header-nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 98;
    pointer-events: none;
}

body.ast-main-header-nav-open #masthead {
    position: relative;
    z-index: 99;
}

/* M7 - the ☰ / ✕ button: no browser focus box after a tap (it showed dotted and
   off-palette on the phone); kept for keyboard users (:focus-visible). Not visible on
   the PC with a mouse - check on the phone. */
.ast-mobile-menu-trigger-minimal:focus:not(:focus-visible) {
    outline: none;
}

/* M16 - back-to-top button: round and 44px (easier to tap; was 32px with 2px corners),
   its colour unchanged; a little closer to the corner on phones. It stays visible over
   the open Filters drawer (owner's choice). */
#ast-scroll-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    #ast-scroll-top {
        right: 16px;
        bottom: 16px;
    }
}

/* M13 - Find a Band / Find a Venue on phones: no List / Grid buttons (the two views look
   almost alike there and there was no way back to List; the default view is List, 04).
   Only the buttons are hidden - the Filter button lives in the same wrapper
   (.directorist-viewas). Filter and Sort By then share one row: their container
   stacked them in a column. */
@media (max-width: 767px) {
    .directorist-content-active .directorist-viewas__item {
        display: none !important;
    }

    .directorist-content-active .directorist-listings-header__right {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .directorist-content-active .directorist-listings-header__right > * {
        width: auto;
    }
}

/* M35 - the Filters drawer on phones ends below its contents, with a rounded corner.
   Directorist pinned it top: 0 / bottom: 114px (the page showed in that bottom strip)
   and gave it and its box a fixed height. Capped so a long Venue drawer still scrolls.
   The colour stays as part 8 for now (an overlay colour scheme is a later to-do). */
@media (max-width: 767px) {
    .directorist-content-active .listing-with-sidebar__sidebar--open {
        height: auto !important;
        bottom: auto !important;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        border-radius: 0 0 16px 0;
    }

    .directorist-content-active .listing-with-sidebar__sidebar--open .directorist-search-form__box {
        height: auto !important;
        padding-bottom: 24px;
    }
}

/* M18 - band / venue page: Edit and the ♥ at the right of the Go Back row. Their box
   spread its contents (space-between), so a lone ♥ sat at its start - mid-row. On phones
   the row comes closer to the header (the gap was 50px, now about 24px). The buttons
   stay icon-only on phones (owner: fine). */
.directorist-content-active .directorist-single-listing-quick-action {
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 767px) {
    .directorist-content-active .directorist-single-listing-top {
        margin-top: -11px;
    }
}

/* M22 - View Profile as a clear second button beside Send Message: a peach outline
   (its border was the same see-through colour as its background - no edge). The class
   really is "diretorist-..." (Directorist's spelling). On phones both buttons full width,
   so their edges line up. */
.directorist-content-active .diretorist-view-profile-btn {
    border: 1px solid var(--pbh-heading) !important;
    color: var(--pbh-heading) !important;
    background: transparent !important;
}

.directorist-content-active .diretorist-view-profile-btn:hover {
    background: rgba(247, 172, 113, 0.15) !important;
}

@media (max-width: 767px) {
    .directorist-content-active .diretorist-view-profile-btn,
    .directorist-content-active .bm-directorist-listing-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* M42 - Recover Password had two lines under it (an underline and Directorist's grey
   dashed border); the plain underline stays, like our other links. */
.directorist-content-active .atbdp_recovery_pass {
    border-bottom: none !important;
}

/* #97 / M48 - the Recover Password panel: its fieldset had a light grey border (#e9e9e9),
   the only white edge on the page. Our border colour made one line too many beside the
   card and page frame (owner), so no border - a faint lighter background instead. */
.directorist-content-active #recover-pass-modal fieldset {
    border: none !important;
    border-radius: 8px;
    background: rgba(246, 234, 216, 0.05);
}

/* M50 - Sign In / Sign Up: no asterisks (every field there is required, so they marked
   nothing, and Password's sat closer than the rest - the template's spacing). The fields
   stay required. The listing form keeps its asterisks (some of its fields are optional). */
.directorist-content-active [class*="directorist-authentication"] .directorist-form-required {
    display: none;
}

/* "Already have an account? Sign In" (and "Don't have an account? Sign Up"): the link is
   a button with its own padding, so on a narrow phone it broke off as an indented block.
   Now it follows the question like a link, its words kept together. */
.directorist-content-active .directorist-authentication__btn {
    padding: 0 !important;
    margin-left: 0.25em;
    white-space: nowrap;
    vertical-align: baseline;
}

/* Dashboard: "Add Band or Venue" shown as typed - Directorist's text-transform: capitalize
   made it "Add Band Or Venue" (parked under #22 since October). */
.directorist-content-active .directorist-btn--add-listing {
    text-transform: none !important;
}

/* M28 / M16 - the hidden "+1" genre pop-up on band and venue cards opened to the right
   and reached past a phone's edge (394px on a 360px phone), so phone browsers laid out the
   whole Find a Band page wider than the screen: the back-to-top button sat half off-screen
   and the page could slide sideways (round 1). Found by listing everything past 360px at
   the Samsung Galaxy A55 size (14 Nov 2026). It now opens leftwards from the "+1", inside
   the card. Tested from the file, not the Console: the widening happens as the page loads. */
.directorist-content-active .directorist-listing-category__popup__content {
    left: auto !important;
    right: 0 !important;
}


/* --------------------------------------------------------------------------
   14. Band / venue pages: the detail rows (M20, M21 - 14 Nov 2026)
   Chosen from Console trials at the A55 size and on the desktop. Before, on a phone every
   detail took three lines - icon and label, then " :", then the value on its own line -
   with big gaps, and the icons were small and often meaningless. Now each detail is its own
   small panel like the search box (owner's idea), the label peach without a colon, the
   value beside it when it fits, and on wide screens the values line up in a column. The
   special event callout (part 13, the only textarea row) keeps its own layout; the
   description (a row without a label) is framed as a panel too.
   -------------------------------------------------------------------------- */

/* Each labelled detail row as a panel. Directorist's own margin rule won without !important
   (as part 13's callout). */
.directorist-content-active .directorist-single-info:not(.directorist-single-info-textarea):has(> .directorist-single-info__label) {
    align-items: center;
    border: 1px solid var(--pbh-border);
    background: transparent;
    border-radius: var(--pbh-radius);
    padding: 10px 12px;
    margin-bottom: 10px !important;
}

/* The description (About the Band / Venue text - a row without a label,
   .directorist-listing-details__text) framed the same way, so it no longer hangs loose among
   the panels (owner, 14 Nov 2026). A long description just makes its panel taller ("Read more"
   on phones is still a to-do, #67). */
.directorist-content-active .directorist-single-info.directorist-listing-details__text {
    border: 1px solid var(--pbh-border);
    border-radius: var(--pbh-radius);
    padding: 10px 12px;
    margin-bottom: 10px !important;
}

/* The value took 100% of the row (flex: 1 1 100%), so it always dropped to its own line, even
   for "4". Now it takes only its own width: short values sit beside the label, long ones
   (genres, instruments, equipment) still wrap underneath because they don't fit. No growing,
   so the status pill still hugs its text. Nudged 3px down: the label text has Directorist's
   6px top margin (to line up with its icon), so a centred value sat 3px high (measured). A
   position shift, not a margin, so a wrapped value gains no extra gap. */
.directorist-content-active .directorist-single-info:not(.directorist-single-info-textarea) .directorist-single-info__value {
    flex: 0 1 auto;
    min-width: 0;
    position: relative;
    top: 3px;
}

/* No colon: Directorist adds " :" as a ::before on the label text. The label is told apart by
   colour instead - peach, a little bolder (other colours tried; peach kept for now, to
   revisit with the overlay colours, #101). The callout's heading keeps its cream (part 13's
   rule is more specific). */
.directorist-content-active .directorist-single-info__label__text::before {
    content: none !important;
}

.directorist-content-active .directorist-single-info__label__text {
    color: var(--pbh-heading);
    font-weight: 600;
}

/* Wide screens: a fixed label width, so the values line up in a column like a table. */
@media (min-width: 768px) {
    .directorist-content-active .directorist-single-info:not(.directorist-single-info-textarea) > .directorist-single-info__label {
        flex: 0 0 260px;
    }
}

/* Icons 20px (were 14px in a 34px circle) - the detail rows' and the card titles' (About the
   Band / Venue, Band Info, Live Music, Contact). The icons themselves are chosen in Directory
   Builder (M21, 04). */
.directorist-content-active .directorist-single-info__label-icon .directorist-icon-mask,
.directorist-content-active .directorist-single-info__label-icon .directorist-icon-mask::after,
.directorist-content-active .directorist-card__header-icon .directorist-icon-mask,
.directorist-content-active .directorist-card__header-icon .directorist-icon-mask::after {
    width: 20px;
    height: 20px;
    -webkit-mask-size: contain;
    mask-size: contain;
}


/* --------------------------------------------------------------------------
   15. Sign Up's own error box (25 Nov 2026, found testing #36)
   Sign Up's errors (a taken username, Section 40's "Please complete the check...") aren't one
   of Directorist's .directorist-alert notices (#84, #90, part 12): they're
   <p class="alert-danger directorist-register-error">, pale pink (rgb 252, 217, 217) with our
   cream text on top - nearly unreadable (Console, 25 Nov 2026). Given the same look as every
   other error: the danger notice's soft coral on a faint dark red, 17px, a little bolder.
   Tried live in the Console first (pbhTry). Padding and corners stay Directorist's.
   -------------------------------------------------------------------------- */
.directorist-content-active .directorist-register-error.alert-danger {
    color: #ffb4a6;
    background: rgba(176, 58, 46, 0.22);
    border: 1px solid rgba(240, 110, 90, 0.45);
    font-size: 17px;
    font-weight: 600;
}


/* --------------------------------------------------------------------------
   16. Directorist's "...with AI" buttons hidden (27 Nov 2026, Directorist 8.12.1)
   Adverts for its paid Directorist AI add-on - on the listing form and in the Dashboard's
   Options menu. Section 42 of functions.php stops their script, so the form's buttons are
   never added; this hides any that are printed directly (the Options item) or come back
   another way. !important: their own stylesheet sets display on the buttons.
   -------------------------------------------------------------------------- */
.directorist-ai-admin-action {
    display: none !important;
}


/* --------------------------------------------------------------------------
   17. The "listing required" notice (#117, 29 Nov 2026)
   Section 3's notice on Band and Venue Registration ("Only members who have added their own
   band or venue can view details...") carried its own pale yellow inline (#fff3cd, dark text)
   - the only yellow on the site. Now the look of Directorist's warning notices (#84, part 12):
   a faint peach tint, peach text, 17px, a little bolder. Spacing as before, our corners.
   -------------------------------------------------------------------------- */
.bp-listing-required-notice {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--pbh-heading);
    background: rgba(247, 172, 113, 0.12);
    border: 1px solid rgba(247, 172, 113, 0.45);
    font-size: 17px;
    font-weight: 600;
}


/* --------------------------------------------------------------------------
   18. Member profile: social links as labelled buttons in each network's colours (#112, 29 Nov 2026)
   On a member profile's Contact Info card, a social link (My Profile -> Social Profiles:
   Facebook, X, LinkedIn, YouTube) showed as a dark square with a grey icon - unclear what it
   was or that it went anywhere (seen on live, 28 Nov 2026). Each is
   ul.directorist-author-social > li > a, its icon a mask (i.directorist-icon-mask, filled by
   ::after - templates/author/about.php, 8.12.2). Now a small button: the icon in white, the
   network's name beside it, on the network's own colour, told apart by the link's address -
   chosen by the owner from Console trials. The names are brand names, the same in Thai, so they
   can live here as CSS content (which GTranslate doesn't translate). X is black, so it gets a
   thin cream ring to show on the dark card. Dims a little on hover, like our other buttons.
   The gap: the card always prints the address / website list, even empty, and the icons' row
   has 22px above it to stand apart from that list (Console, 29 Nov 2026) - with no lines, the
   icon sat 47px down. The empty list is hidden and the 22px dropped only then.
   -------------------------------------------------------------------------- */
.directorist-author-info-list:not(:has(li)) {
    display: none !important;
}

.directorist-author-info-list:not(:has(li)) + .directorist-author-social {
    margin-top: 0 !important;
}

.directorist-author-social__item a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    padding: 0 14px 0 12px !important;
    border: 0 !important;
    text-decoration: none !important;
}

.directorist-author-social__item a .directorist-icon-mask::after {
    background-color: #ffffff !important;
}

.directorist-author-social__item a::after {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
}

.directorist-author-social__item a:is(:hover, :focus) {
    opacity: 0.85;
}

.directorist-author-social__item a[href*="facebook.com"] {
    background: #1877F2 !important;
}

.directorist-author-social__item a[href*="facebook.com"]::after {
    content: "Facebook";
}

.directorist-author-social__item a:is([href*="//x.com"], [href*="www.x.com"], [href*="twitter.com"]) {
    background: #000000 !important;
    box-shadow: 0 0 0 1px var(--pbh-text);
}

.directorist-author-social__item a:is([href*="//x.com"], [href*="www.x.com"], [href*="twitter.com"])::after {
    content: "X";
}

.directorist-author-social__item a[href*="linkedin.com"] {
    background: #0A66C2 !important;
}

.directorist-author-social__item a[href*="linkedin.com"]::after {
    content: "LinkedIn";
}

.directorist-author-social__item a:is([href*="youtube.com"], [href*="youtu.be"]) {
    background: #FF0000 !important;
}

.directorist-author-social__item a:is([href*="youtube.com"], [href*="youtu.be"])::after {
    content: "YouTube";
}
