/*
Theme Name: UK Occult Community
Theme URI: http://example.com
Author: Graham Bailey
Author URI: http://example.com
Description: Custom theme for the UK Occult Community site.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uk-occult-community
*/

/********************************************************************
CLEANED UP VERSION 20/03/2026
*********************************************************************
1.  Base Styles
2.  Typography
3.  Global Layout
4.  Header
5.  Sidebars
6.  Village Map
7.  Page Content
8.  Plugins
9   Footer
10  Utility
******************************************************************/

/*================================================================================================
   1. Reset / Base Styles
=================================================================================================*/
*, *::before, *::after {
    box-sizing: border-box;
}


/*=========================================================================================================================
   2. Typography (fonts, headings, paragraphs)
==========================================================================================================================*/




/*=====================================================================================================================
   3. Global Layout (containers, wrappers, grids)
========================================================================================================================*/
html, body {
    min-height: 100dvh;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #e0e0e0;
}

/* Main content wrapper */
.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



.layout-wrapper {
    display: flex;
    gap: 20px;
}

.main-content {
    flex: 1;
    padding: 12px 12px;
	background: url('/wp-content/uploads/backgrounds/parchment-tile.png') repeat top center;
	/* subtle inset feel */

        
    background-color:#140E15;
    box-shadow: 3px 0 8px rgba(0,0,0,0.8);
}

main {
    padding-top: 10px;
}



/* Make main content grow  */
.site-main,
.homepage-layout,
.standard-layout {
    flex: 1;
}


.site-footer, {
    flex-shrink: 0;
    margin-top: 0; /* optional spacing */
}

header {
    flex-shrink: 0;
}

/*=====================================================================================================================
   4. Header (logo, nav menu, top bar)
=======================================================================================================================*/
header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.header-title {
    font-size: 1.8em;
    font-weight: bold;
}


header,
.site-header,
#header {
    display: none !important;
}

/*=====================================================================================================================
   5. Sidebar (left, right, room-specific)
=======================================================================================================================*/


/* Left sidebar (global) */

#left-sidebar {
    flex: 0 0 200px;
    padding: 20px 15px 15px 15px; 
    position: relative;
    z-index: 0;
    height: auto;

    overflow-y: visible;

    background-color: #140E15;

    background-image:
        linear-gradient(
            to right,
            rgba(255,255,255,0.12),
            rgba(0,0,0,0.25)
        ),
        url('/wp-content/uploads/2026/03/leather.jpg');

    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 300px auto;

    box-shadow: 3px 0 8px rgba(0,0,0,0.8);
}

/* Forum pages only: make the badge block flush and full-width */
body.asgaros-forum .wp-block-group,
body.asgaros-forum .wp-block-group__inner-container,
body.asgaros-forum .wp-block-image.size-full {
    margin: 0;
    padding: 0;
    max-width: 100%;
    width: 100%;
}

/* Forum pages only: make the badge image fill its container */
body.asgaros-forum img.wp-image-79 {
    display: block;
    width: 100%;
    height: auto;
}


/* ===== TOP GOLD BAND ===== */
#left-sidebar::before {
    content: "";
    position: absolute;

    top: 20px;
    left: 0;
    width: 100%;
    height: 6px;

    background: linear-gradient(
        to bottom,
        #e6d3a3,
        #cbb57a,
        #a8925c
    );

    box-shadow:
        0 1px 2px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.3);

    pointer-events: none;
   
    z-index: 10;
}




/* ===== BAND UNDER BADGE ===== */
#left-sidebar::after {
    content: "";
    position: absolute;

    top: 150px; /* adjust to badge bottom */
    left: 0;
    right: 0;
    height: 6px;

    background: linear-gradient(
        to bottom,
        #e6d3a3,
        #cbb57a,
        #a8925c
    );

    box-shadow:
        0 1px 2px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(255,255,255,0.35);

    pointer-events: none;
    z-index: 10;
}

/* Keep badge ABOVE the band */
#left-sidebar .widget:first-child {
    position: relative;
    z-index: 6;
}

/* ===== BAND under menu buttons ===== */
#left-sidebar .sidebar-menu {
    position: relative; /* anchor for ::after */
}

#left-sidebar .sidebar-menu::after {
    content: "";
    position: absolute;

    left: -15px;
    width: calc(100% + 30px);
    height: 6px;

    bottom: -30px;

    background: linear-gradient(
        to bottom,
        #e6d3a3,
        #cbb57a,
        #a8925c
    );

    box-shadow:
        0 1px 2px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.3);

    pointer-events: none;
}


/* Divider between menu groups */
#left-sidebar .menu-divider {
    pointer-events: none;
}

/* ===== MENU DIVIDER (FINAL FIX) ===== */

/* Target the list item itself */
#left-sidebar .sidebar-menu li.menu-divider {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

/* Completely neutralise the link */
#left-sidebar .sidebar-menu li.menu-divider a {
    display: block !important;
    width: 100% !important;

    padding: 0 !important;
    margin: 0 !important;

    background: none !important;
    border: none !important;
    box-shadow: none !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;

    pointer-events: none;
}

/* Remove ALL hover/active effects */
#left-sidebar .sidebar-menu li.menu-divider a:hover,
#left-sidebar .sidebar-menu li.menu-divider a:active {
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Draw the divider line */
#left-sidebar .sidebar-menu li.menu-divider::after {
    content: "";
    display: block;
    height: 2px;
    width: 70%;
    margin: 0 auto;
    background: #cdb983;
}

/* ===== RIGHT SIDEBAR ===== */
#right-sidebar-room {
    position: relative;
    flex: 0 0 200px;
    padding: 0 15px 15px 15px;
    background-color: #e0e0e0;
    overflow-y: visible;
}

/* ===== FORCE FULL HEIGHT (layout fix) ===== */
.af-sidebar-left #left-sidebar,
.af-sidebar-right #right-sidebar-room {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px !important; /*to give a gap at the top*/
}

/* ===== BADGE IMAGE CLEANUP ===== */
#left-sidebar .widget:first-child {
    margin: 0 -15px !important;
    padding: 0 !important;
}

#left-sidebar .widget:first-child .wp-block-group,
#left-sidebar .widget:first-child .wp-block-group__inner-container {
    margin: 0 !important;
    padding: 0 !important;
}

#left-sidebar .widget:first-child .wp-block-image {
    margin: 0 !important;
}

#left-sidebar .widget:first-child img {
    display: block;
    margin: 0;
    width: 100%;
    max-width: none;
    height: auto;
}


/* ===== SIDEBAR MENU (FIXED + BUTTON STYLE) ===== */

/* Reset the UL (this fixes the offset issue) */
.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0; /* KEY FIX */
}

/* Also reset if class is on the UL itself */
.sidebar-menu {
    padding: 0;
    margin: 20px 0 0 0;
    gap: 16px;
}

#left-sidebar .sidebar-menu {
    position: relative;
}

/* Each item */
.sidebar-menu li {
    margin: 0;
}
#left-sidebar .sidebar-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#left-sidebar .sidebar-menu li {
    list-style: none !important;
}


/* ===== SIDEBAR MENU BUTTONS (FINAL) ===== */

#left-sidebar .sidebar-menu a {
    display: block;
    width: 85%;
    margin: 0 auto;
    padding: 8px 12px;        /* ↓ reduced from 12px */
    min-height: 36px;         /* ↓ tighter than 44px */
    text-align: center;
    color: #2a241a;
    text-decoration: none;
    font-weight: 500;

    /* richer parchment */
    background: linear-gradient(
        to bottom,
        #f4d194,
        #cdb983
    ) !important;

    border: 1px solid #b8a46f;
    border-radius: 6px;

    box-shadow: 
        0 2px 4px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);

    transition: all 0.15s ease;
}

/* Hover */
#left-sidebar .sidebar-menu a:hover {
    background: linear-gradient(
        to bottom,
        #f2e6c2,
        #d8c28f
    ) !important;

    border-color: #a8925c;
    color: #000;

    transform: translateY(-1px);
    box-shadow: 
        0 3px 6px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

#left-sidebar .sidebar-menu a:active {
    transform: translateY(1px);

    background: linear-gradient(
        to bottom,
        #cdb983,
        #b8a46f
    ) !important;

    box-shadow: 
        0 1px 2px rgba(0,0,0,0.3),
        inset 0 2px 3px rgba(0,0,0,0.2);
}

/* ===== LEGACY LOGO CLASS (SAFE FALLBACK) ===== */

.sidebar-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}


/***********************/
.sidebar {
    flex: 0 0 200px;
    padding: 15px;
    background-color: #e0e0e0;
    overflow-y: auto;
}
.sidebar-menu {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.sidebar-menu a {
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.sidebar-menu a:hover {
    color: #000;
    text-decoration: underline;
}
.sidebar-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}
/* Right Sidebar */
.right-sidebar {
    flex: 0 0 200px;
    padding: 15px;
    background-color: #e0e0e0;
    overflow-y: auto;
}
/* Right sidebar shadow (mirror of left) */
#right-sidebar-room,
#right-sidebar {
    box-shadow: -3px 0 8px rgba(0,0,0,0.8);
}

/*===============================================================================================
   6. Village Map (map layout, hotspots, labels)
=================================================================================================*/
/* Map container */
.map-container {
    position: relative;
    background-color: #e0e0e0;
    width: 100%;
    height: auto;
    /* remove the hard cap and centering */
    max-width: none;
    margin: 0;
}

/* Map image */
.map-image,
.room-map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Map wrapper */
.room-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
/* Layout for homepage */
.homepage-layout {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: stretch;
    box-sizing: border-box;
}
/* SVG hover effect */
a:hover circle {
    stroke: yellow;
    stroke-width: 3;
}

/* ====== HOTSPOTS ======= */
/* Hotspots labels are made up of ribbon banner ends and a middle slice*/

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    text-decoration: none;
    z-index: 999;
}
.hotspot-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    object-fit: contain;
    z-index: 1000;
}
.hotspot:hover .hotspot-icon {
    display: block;
}
/* Label */
.hotspot-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 16px;
    line-height: 1;
    font-family: 'IM Fell English', serif;
    color: #2f2416;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
    white-space: nowrap;
    transition: transform 0.2s ease;
}

/* Ribbon ends */
.ribbon-left,
.ribbon-right {
    width: 85px;
    height: 100%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.ribbon-left {
    background-image: url('/wp-content/uploads/icons/ribbon-left.png');
    background-position: right center;
}

.ribbon-right {
    background-image: url('/wp-content/uploads/icons/ribbon-right.png');
    background-position: left center;
}

/* Ribbon middle */
.ribbon-middle {
    height: 100%;
    background-image: url('/wp-content/uploads/icons/ribbon-middle.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    padding: 0 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: 0 -3px;
}

/* Hover effect */
.hotspot:hover .hotspot-label {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Hotspot container */
.room-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.room-hotspots .hotspot {
    pointer-events: auto;
}


/* response to different screen sizes & shapes */

/* iPad Pro */
@media (max-width: 1366px) {
    .hotspot-label {
        height: 54px;
        font-size: 17px;
    }
}

/* iPad Air */
@media (max-width: 1024px) {
    .hotspot-label {
        height: 35px;
        font-size: 11px;
    }

    .ribbon-left,
    .ribbon-right {
        width: 55px;
    }

    .ribbon-middle {
        padding: 0 6px;
    }
}

/* Small tablets / phones */
@media (max-width: 768px) {
    .hotspot-label {
        height: 30px;
        font-size: 10px;
    }

    .ribbon-left,
    .ribbon-right {
        width: 60px;
    }

    .ribbon-middle {
        padding: 0 4px;
    }
}

/*================================================================================================
   7. Page Content (room layout, content styling)
=================================================================================================*/
.standard-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* balanced */
    gap: 20px;
}

.narrow-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 5px 20px;
    box-sizing: border-box;
	flex: 1 0 auto; /* Grow to fill space */
}

/* Login page layout */
.login-page-wrapper {
    min-height: calc(100vh - 200px); /* Adjust 200px if your header/footer height differs */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .narrow-container {
        max-width: 95%;
        padding: 20px 10px;
    }
}



/* Just for the WELCOME page */
.page-id-88 .narrow-container {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

/* Welcome parchment panel */
.page-id-88 .welcome-parchment {
	position: relative;
	background:
		linear-gradient(#f7f1d5,#efe6c2),
		url('/wp-content/uploads/paper-texture.png');
	background-blend-mode: multiply;
	border: 2px solid #b8a774;
	padding: 20px 35px;
	max-width: 760px;
	margin: 5px auto;
	border-radius: 6px;
	box-shadow:
		0 10px 20px rgba(0,0,0,0.35),
		inset 0 0 60px rgba(120,100,40,0.25);
	font-family: Arial, Helvetica, sans-serif;
	color: #2b2b2b;
	line-height: 1.6;
}

/* Heading styling */
.page-id-88 .welcome-parchment h1,
.page-id-88 .welcome-parchment h2 {
	text-align: center;
	margin-top: 0;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* Wax seal */
.page-id-88 .welcome-parchment::after {
	content: "";
	position: absolute;
	top: -20px;
	right: -20px;
	width: 70px;
	height: 70px;
	background-image: url('/wp-content/uploads/icons/wax-seal.png');
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0.95;
	filter: drop-shadow(2px 3px 3px rgba(0,0,0,0.35));
	pointer-events: none;
}

/* Buttons */
.page-id-88 .welcome-button {
	display: inline-block;
	margin: 12px;
	padding: 14px 24px;
	background: #4a3b1f;
	color: #f3e9c9;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
	box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.page-id-88 .welcome-button:hover {
	background: #2e2413;
}

.narrow-container {
    max-width: 800px;
    margin: 0 auto;
}

/* resize SEARCH box on HELP page */
.page-id-210 .help-search-form input[type="text"] {
    flex: 1 1 auto;   /* grow to fill space */
    max-width: 500px;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* put button and search box on same line */
.page-id-210 .help-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}
.page-id-210 .help-search-form button {
    padding: 12px 20px;
    font-size: 16px;
    white-space: nowrap;
}


/*================================================================================================
   8. Plugins (Asgaros Forum & UsersWP customisations)
=================================================================================================*/
/* Remove menu items "Forum", "Profile" and "Logout"*/
#af-wrapper a.home-link {
    display: none !important;
}
#af-wrapper a.profile-link {
    display: none !important;
}
#af-wrapper a.logout-link {
    display: none !important;
}

/* changing the column width in the forum list */
/* Topic icon column */
#af-wrapper .forum-status {
    width: 15% !important;
}

/* Forum title/description column */
#af-wrapper .forum-name {
    width: 65% !important;
}

/* Last post column */
#af-wrapper .forum-poster {
    width: 20% !important;
}

/* changing column width in the TOPIC list - NOT WORKING */
/* Override Asgaros' table layout */
#af-wrapper .topic {
    display: flex !important;
    width: 100% !important;
}
#af-wrapper .topic > div {
    display: block !important;
    width: auto !important;
    flex: 0 0 auto !important;
}
/* Icon column */
#af-wrapper .topic-status {
    flex: 0 0 10% !important;
}

/* Topic title column */
#af-wrapper .topic-name {
    flex: 0 0 80% !important;
}

/* Poster column */
#af-wrapper .topic-poster {
    flex: 0 0 10% !important;
}


/****************************/


/** make the username link clickable **/
#af-wrapper a.profile-link {
    display: inline !important;
}
.asgarosforum .mention-nice-name {
    pointer-events: none;
}
/** remove the nice-name **/
#af-wrapper .post-author-block-name .mention-nice-name {
    display: none !important;
}






/* Forum Page – Three Column Layout */
.af-layout-wrapper {
    display: flex;
    flex-direction: row; /*copilot fix 26/03/26*/
    width: 100%;
    min-height: calc(100dvh - 80px);

    align-items: stretch;

    justify-content: flex-start; /* FIX: stop centering */

    gap: 0;
    margin: 0;
    padding: 0;
}


/* Left & Right Sidebar containers */
.af-sidebar-left,
.af-sidebar-right {
    margin-top: 20px;
    flex: 0 0 200px;      /* FIX: match other pages */
    display: block;
    flex-direction: column;
}

/* Ensure inner sidebar fills height */
.af-sidebar-left,
.af-sidebar-right {
    display: flex;
    flex-direction: column;
}

.af-sidebar-left #left-sidebar,
.af-sidebar-right #right-sidebar-room {
    flex: 1;
    position: relative;
    /*display: flex;
    flex-direction: column;*/
}


/* Main Forum Content */
.af-forum-content {
    flex: 1 1 auto;
    min-width: 400px;     /* FIX: prevents content from being squeezed */
    max-width: 800px;
    margin:0 auto;
    padding: 20px;
}


/* Force Asgaros Forum to behave nicely inside layout */
.af-forum-content #af-wrapper {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: block;
}

/* Prevent Asgaros from stretching weirdly */
#af-wrapper,
#af-content {
    max-width: 100%;
}


/* Responsive */
@media (max-width: 900px) {
    .af-layout-wrapper {
        flex-direction: column;
    }

    .af-sidebar-left,
    .af-sidebar-right,
    .af-forum-content {
        width: 100%;
        max-width: 100%;
    }
}

/* Topic list avatar column (right side) */
.asgaros-forum .topic-element .avatar,
.asgaros-forum .lastpost-avatar {
    width: 40px !important;
    min-width: 40px !important;
}

.asgaros-forum .topic-element .avatar img,
.asgaros-forum .lastpost-avatar img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
}

/* Single topic view (posts) — keep avatars square and natural */
.asgaros-forum .post-element .avatar,
.asgaros-forum .post-element .avatar img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 4px; /* optional, removes oval distortion */
}


/* reduce Asgaros text box size*/
#af-wrapper .post-wrapper {
    padding: 6px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    min-height: 0;
}

#af-wrapper .post-message {
    padding: 6px 10px;
    min-height: 0;
}

#af-wrapper .post-message p {
    margin: 0;
}
#af-wrapper {
    max-width: 800px;
}
/****************************************
Asgaros Forum – Image handling
****************************************/

/* Base image behaviour */
#af-wrapper .post-message img {
    max-width: 100%;        /* never exceed post width */
    height: auto;           /* keep correct proportions */
    max-height: 700px;      /* prevent extremely tall images */
    display: block;         /* allows centering */
    margin: 15px auto;      /* centre images */
    border-radius: 6px;     /* soft corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.25); /* subtle depth */
}

/* Slight hover effect */
#af-wrapper .post-message img:hover {
    opacity: 0.95;
}

/* Make sure very wide images don't break mobile layout */
@media (max-width: 768px) {

    #af-wrapper .post-message img {
        max-height: 500px;
        margin: 12px auto;
    }
}

/* =================================================
Custom forum icons - these appear in the forum list
================================================== */

#af-wrapper .forum-status {
    width: 80px;
    height: 80px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    transform: scale(0.75);
    transform-origin: center;
}

/* =================================================
Custom forum icons
================================================== */
#af-wrapper #forum-3 .forum-status { background-image:url('/wp-content/uploads/forum-icons/3.svg'); }
#af-wrapper #forum-4 .forum-status { background-image:url('/wp-content/uploads/forum-icons/4.svg'); }
#af-wrapper #forum-5 .forum-status { background-image:url('/wp-content/uploads/forum-icons/5.svg'); }
#af-wrapper #forum-6 .forum-status { background-image:url('/wp-content/uploads/forum-icons/6.svg'); }
#af-wrapper #forum-7 .forum-status { background-image:url('/wp-content/uploads/forum-icons/7.svg'); }
#af-wrapper #forum-8 .forum-status { background-image:url('/wp-content/uploads/forum-icons/8.svg'); }
#af-wrapper #forum-9 .forum-status { background-image:url('/wp-content/uploads/forum-icons/9.svg?v=2'); }
#af-wrapper #forum-10 .forum-status { background-image:url('/wp-content/uploads/forum-icons/10.svg'); }
#af-wrapper #forum-11 .forum-status { background-image:url('/wp-content/uploads/forum-icons/11.svg'); }
#af-wrapper #forum-12 .forum-status { background-image:url('/wp-content/uploads/forum-icons/12.svg'); }
#af-wrapper #forum-13 .forum-status { background-image:url('/wp-content/uploads/forum-icons/13.png'); }
#af-wrapper #forum-14 .forum-status { background-image:url('/wp-content/uploads/forum-icons/13.png'); }
#af-wrapper #forum-15 .forum-status { background-image:url('/wp-content/uploads/forum-icons/15.svg'); }
#af-wrapper #forum-16 .forum-status { background-image:url('/wp-content/uploads/forum-icons/16.svg'); }
#af-wrapper #forum-17 .forum-status { background-image:url('/wp-content/uploads/forum-icons/17.svg'); }
#af-wrapper #forum-18 .forum-status { background-image:url('/wp-content/uploads/forum-icons/18.png'); }
#af-wrapper #forum-19 .forum-status { background-image:url('/wp-content/uploads/forum-icons/19.png'); }
#af-wrapper #forum-20 .forum-status { background-image:url('/wp-content/uploads/forum-icons/24.svg'); }
#af-wrapper #forum-21 .forum-status { background-image:url('/wp-content/uploads/forum-icons/21.svg'); }
#af-wrapper #forum-22 .forum-status { background-image:url('/wp-content/uploads/forum-icons/22.jpg'); }
#af-wrapper #forum-23 .forum-status { background-image:url('/wp-content/uploads/forum-icons/23.svg'); }
#af-wrapper #forum-24 .forum-status { background-image:url('/wp-content/uploads/forum-icons/24.svg'); }
#af-wrapper #forum-25 .forum-status { background-image:url('/wp-content/uploads/forum-icons/25.svg'); }
#af-wrapper #forum-26 .forum-status { background-image:url('/wp-content/uploads/forum-icons/26.svg'); }
#af-wrapper #forum-27 .forum-status { background-image:url('/wp-content/uploads/forum-icons/27.svg'); }
#af-wrapper #forum-28 .forum-status { background-image:url('/wp-content/uploads/forum-icons/28.jpg'); }
#af-wrapper #forum-29 .forum-status { background-image:url('/wp-content/uploads/forum-icons/29.svg'); }
#af-wrapper #forum-30 .forum-status { background-image:url('/wp-content/uploads/forum-icons/30.svg'); }
#af-wrapper #forum-31 .forum-status { background-image:url('/wp-content/uploads/forum-icons/31.svg'); }
#af-wrapper #forum-32 .forum-status { background-image:url('/wp-content/uploads/forum-icons/32.svg'); }
#af-wrapper #forum-33 .forum-status { background-image:url('/wp-content/uploads/forum-icons/33.svg'); }
#af-wrapper #forum-34 .forum-status { background-image:url('/wp-content/uploads/forum-icons/34.svg'); }
#af-wrapper #forum-35 .forum-status { background-image:url('/wp-content/uploads/forum-icons/35.svg'); }
#af-wrapper #forum-36 .forum-status { background-image:url('/wp-content/uploads/forum-icons/36.svg'); }
#af-wrapper #forum-37 .forum-status { background-image:url('/wp-content/uploads/forum-icons/37.svg'); }
#af-wrapper #forum-38 .forum-status { background-image:url('/wp-content/uploads/forum-icons/38.svg'); }
#af-wrapper #forum-39 .forum-status { background-image:url('/wp-content/uploads/forum-icons/39.svg?v=2'); }
#af-wrapper #forum-40 .forum-status { background-image:url('/wp-content/uploads/forum-icons/40.svg'); }
#af-wrapper #forum-41 .forum-status { background-image:url('/wp-content/uploads/forum-icons/41.svg'); }

#af-wrapper #forum-3 .forum-status i,
#af-wrapper #forum-4 .forum-status i,
#af-wrapper #forum-5 .forum-status i,
#af-wrapper #forum-6 .forum-status i,
#af-wrapper #forum-7 .forum-status i,
#af-wrapper #forum-8 .forum-status i,
#af-wrapper #forum-9 .forum-status i,
#af-wrapper #forum-10 .forum-status i,
#af-wrapper #forum-11 .forum-status i,
#af-wrapper #forum-12 .forum-status i,
#af-wrapper #forum-13 .forum-status i,
#af-wrapper #forum-14 .forum-status i,
#af-wrapper #forum-15 .forum-status i,
#af-wrapper #forum-16 .forum-status i,
#af-wrapper #forum-17 .forum-status i,
#af-wrapper #forum-18 .forum-status i,
#af-wrapper #forum-19 .forum-status i,
#af-wrapper #forum-20 .forum-status i,
#af-wrapper #forum-21 .forum-status i,
#af-wrapper #forum-22 .forum-status i,
#af-wrapper #forum-23 .forum-status i,
#af-wrapper #forum-24 .forum-status i,
#af-wrapper #forum-25 .forum-status i,
#af-wrapper #forum-26 .forum-status i,
#af-wrapper #forum-27 .forum-status i,
#af-wrapper #forum-28 .forum-status i,
#af-wrapper #forum-29 .forum-status i,
#af-wrapper #forum-30 .forum-status i,
#af-wrapper #forum-31 .forum-status i,
#af-wrapper #forum-32 .forum-status i,
#af-wrapper #forum-33 .forum-status i,
#af-wrapper #forum-34 .forum-status i,
#af-wrapper #forum-35 .forum-status i,
#af-wrapper #forum-36 .forum-status i,
#af-wrapper #forum-37 .forum-status i,
#af-wrapper #forum-38 .forum-status i,
#af-wrapper #forum-39 .forum-status i,
#af-wrapper #forum-40 .forum-status i,
#af-wrapper #forum-41 .forum-status i {
    display: none;
}

/* =====================================================================
Forum title icons (generic rule) - these appear next to the forum title
======================================================================= */

body.asgaros-forum-forum h1.main-title-forum {

    background-repeat: no-repeat;
    background-position: 0 center;
    background-size: 45px;

    padding-left: 55px !important;
}



body.asgaros-forum-forum:has(#forum-breadcrumbs a[href*="/tools-objects/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/3.svg?v=2'); }

body.asgaros-forum-forum:has(a[href*="/bodies-dreams/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/4.svg'); }

body.asgaros-forum-forum:has(a[href*="/practical-alchemy/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/7.svg'); }

body.asgaros-forum-forum:has(a[href*="/theoretical-alchemy/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/8.svg'); }

body.asgaros-forum-forum:has(a[href*="/uses-of-astrology/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/9.svg?v=2'); }

body.asgaros-forum-forum:has(a[href*="/cunning-men-women/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/10.svg'); }


body.asgaros-forum-forum:has(a[href*="/regional-folk-practices/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/11.svg'); }

body.asgaros-forum-forum:has(a[href*="/witchcraft/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/12.svg'); }

body.asgaros-forum-forum:has(a[href*="history-of-kaballah"]) 
h1.main-title-forum {
    background-image:url('/wp-content/uploads/forum-icons/13.png');
    background-size:auto 70px;
    background-position:10px center;
}

body.asgaros-forum-forum:has(a[href*="/uses-in-magical-practice/"]) 
h1.main-title-forum { 
    background-image:url('/wp-content/uploads/forum-icons/13.png'); 
    background-size:auto 70px;
    background-position:10px center;
}

body.asgaros-forum-forum:has(a[href*="egyptian"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/15.svg'); }

body.asgaros-forum-forum:has(a[href*="classical-greek-roman"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/16.svg'); }

body.asgaros-forum-forum:has(a[href*="earlier-christian-era-pgm"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/17.svg'); }

body.asgaros-forum-forum:has(a[href*="medieval-grimoires-goetia"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/18.png'); }

body.asgaros-forum-forum:has(a[href*="enochian-magic"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/19.png'); }

body.asgaros-forum-forum:has(a[href*="rosicrucianism"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/24.svg'); }

body.asgaros-forum-forum:has(a[href*="masonic"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/21.svg'); }

body.asgaros-forum-forum:has(a[href*="victorian"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/22.jpg'); }

body.asgaros-forum-forum:has(a[href*="modern"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/23.svg'); }

body.asgaros-forum-forum:has(a[href*="/rosicrucian/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/24.svg'); }

body.asgaros-forum-forum:has(a[href*="/golden-dawn/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/25.svg'); }

body.asgaros-forum-forum:has(a[href*="/thelema/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/26.svg'); }

body.asgaros-forum-forum:has(a[href*="/chaos/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/27.svg'); }

body.asgaros-forum-forum:has(a[href*="/gardenerian-and-alexandrian-witchcraft/"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/28.png'); }

body.asgaros-forum-forum:has(#forum-breadcrumbs a[href*="general"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/29.svg'); }

body.asgaros-forum-forum:has(#forum-breadcrumbs a[href*="admin"]) 
h1.main-title-forum {
    background-image:url('/wp-content/uploads/forum-icons/30.svg');
    background-size:auto 70px;
    background-position:20px center;
}

body.asgaros-forum-forum:has(a[href*="questing"]) 
h1.main-title-forum { 
    background-image:url('/wp-content/uploads/forum-icons/5.svg'); 
    background-size:auto 70px;
    background-position:10px center;
}

body.asgaros-forum-forum:has(a[href*="ghost"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/6.svg'); }

body.asgaros-forum-forum:has(a[href*="unexplained"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/31.svg'); }

body.asgaros-forum-forum:has(a[href*="liminal"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/32.svg'); }

body.asgaros-forum-forum:has(a[href*="meeting"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/33.svg'); }

body.asgaros-forum-forum:has(#forum-breadcrumbs a[href*="tools-methods"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/34.svg'); }

body.asgaros-forum-forum:has(a[href*="solo"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/35.svg'); }

body.asgaros-forum-forum:has(#forum-breadcrumbs a[href*="working-magical-groups-today"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/36.svg'); }

body.asgaros-forum-forum:has(a[href*="uses-in-todays-magical-practices"]) 
h1.main-title-forum { 
    background-image:url('/wp-content/uploads/forum-icons/37.svg'); 
    background-size:auto 70px;
    background-position:5px center;
}

body.asgaros-forum-forum:has(a[href*="gematria"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/38.svg'); }

body.asgaros-forum-forum:has(a[href*="herbal"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/39.svg?v=2'); }
body.asgaros-forum-forum:has(a[href*="druid"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/40.svg'); }
body.asgaros-forum-forum:has(a[href*="witch"]) h1.main-title-forum { background-image:url('/wp-content/uploads/forum-icons/41.svg'); }

/****************************************
Topic icons (single scroll icon)
****************************************/

#af-wrapper .topic-status {
    width: 32px;
    height: 32px;
    background-image: url('/wp-content/uploads/forum-icons/scroll-quill.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(0.65);
    transform-origin: center;
}

/* hide the default fontawesome icon */
#af-wrapper .topic-status i {
    display: none;
}

/* UsersWP Profile - Display Name size */
.uwp-profile-name,
.uwp-profile-header h2 {
    font-size: 18px !important; /* adjust to taste */
    padding-top: 8px !important;  /* adjust as needed */
    line-height: 1.2;
}

/********************************************
UsersWP – Profile Tabs
********************************************/

/* Tabs container */
.narrow-container .uwp-profile-tabs {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* Base tab style */
.narrow-container .uwp-profile-tabs .nav-link {
    background: #f5f5f5;
    color: #555;
    font-weight: 500;
    padding: 10px 12px;
    text-align: center;
    white-space: nowrap;
    flex: 1 1 auto;
    transition: background 0.3s, color 0.3s;
}

/* Active + hover */
.narrow-container .uwp-profile-tabs .nav-item.active .nav-link,
.narrow-container .uwp-profile-tabs .nav-link:hover {
    background: #fff9c4;   /* your chosen pale yellow */
    color: #333;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
}

/* Tab container layout */
.narrow-container .uwp-profile-tabs .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Mobile layout */
@media (max-width: 768px) {
    .narrow-container .uwp-profile-tabs .navbar-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .narrow-container .uwp-profile-tabs .nav-link {
        margin: 2px 0;
        flex: none;
    }
}


/********************************************
UsersWP – Profile Content
********************************************/

.narrow-container .uwp-profile-content {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
}

.narrow-container .uwp-user-meta-wrap {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.narrow-container .uwp-user-meta-wrap i {
    margin-right: 8px;
    color: #555;
}

.narrow-container .uwp-user-meta-wrap:last-child {
    border-bottom: none;
}

/********************************************
UsersWP – Account Menu - new 27/03/2026
********************************************/
/* ===== FORCE USERSWP PROFILE MENU HORIZONTAL===== */

@media (min-width: 992px) {
    .nav.flex-lg-column {
        flex-direction: row !important;
    }

    .col-lg-3,
    .col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ===== FORCE USERSWP ACCOUNT MENU HORIZONTAL ===== */

/* Target the exact UL inside the nav wrapper */
.d-flex.nav > ul.nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center;
}


/* ===== FORCE USERSWP MENU ITEMS INTO A ROW ===== */

@media (min-width: 992px) {
    .nav.flex-lg-column {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center; /* optional: center the menu */
    }
}

.d-flex.nav > ul.nav > li {
    display: inline-block;
    margin: 5px 10px;
}

.d-flex.nav > ul.nav > li > a {
    display: block;
    padding: 8px 14px;
}


/* Remove Font Awesome icons */
ul.nav li a i {
    display: none !important;
}

/* Completely remove logout item */
ul.nav li:has(a.uwp-account-logout) {
    display: none !important;
}
/* Hide logout link itself */
ul.nav li a.uwp-account-logout {
    display: none !important;
}

/* Remove the parent <li> completely (prevents spacing issues) */
ul.nav li:has(a.uwp-account-logout) {
    display: none !important;
}


/* ===== USERSWP ACCOUNT MENU → MATCH SIDEBAR BUTTONS ===== */

/* Reset Bootstrap + plugin styling */
ul.nav li a.nav-link {
    all: unset;
    display: block;
    cursor: pointer;
}

/* Flex container spacing (controls gaps evenly) */
ul.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* 👈 controls spacing between buttons */
}

/* Apply sidebar button styling (adapted for horizontal layout) */
ul.nav li a.nav-link {
    width: auto;              /* was 85% — remove for horizontal layout */
    margin: 0;                /* remove auto-centering */
    padding: 6px 12px;        /* slightly increased for balance */
    min-height: 15px;

    text-align: center;
    font-weight: 500;
    text-decoration: none;

    color: #2a241a;

    background: linear-gradient(
        to bottom,
        #f4d194,
        #cdb983
    ) !important;

    border: 1px solid #b8a46f;
    border-radius: 6px;

    box-shadow: 
        0 2px 4px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);

    transition: all 0.15s ease;
}

/* Active / pressed */
ul.nav li a.nav-link:active {
    transform: translateY(1px);

    background: linear-gradient(
        to bottom,
        #cdb983,
        #b8a46f
    ) !important;

    box-shadow: 
        0 1px 2px rgba(0,0,0,0.3),
        inset 0 2px 3px rgba(0,0,0,0.2);
}

/* Control avatar size and prevent responsive expansion */
.uwp-profile-header img.rounded-circle.shadow {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    object-fit: cover;
}

}
@media (max-width: 768px) {
    .uwp-profile-header img.rounded-circle.shadow {
        width: 90px !important;
        height: 90px !important;
        max-width: 90px !important;
        max-height: 90px !important;
    }
}

/* Force avatar column to align left on all screen sizes */
.uwp-profile-header .col.text-center.tofront {
    text-align: left !important;
}


/* Force all profile header columns to align left on tablet & mobile */
@media (max-width: 1199.98px) {
    .uwp-profile-header .col.text-center,
    .uwp-profile-header .col-12.text-center,
    .uwp-profile-header .col-12.col-xl-6.text-center,
    .uwp-profile-header .col-12.col-xl-4.text-center {
        text-align: left !important;
    }

/* Social icons: align left and keep on one line */
.uwp-profile-header .uwp-button-group .bsui-button-group {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem;
    }
/* Keep avatar, username, and social icons in one row on all screen sizes */
.uwp-profile-header .row.justify-content-center {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

/* Prevent columns from expanding to full width on mobile */
.uwp-profile-header .row.justify-content-center > .col,
.uwp-profile-header .row.justify-content-center > [class*="col-"] {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    pading-right: 0 !important;
}
/* Remove padding from avatar column */
.uwp-profile-header .col.tofront {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Force the entire profile header row into a single horizontal flex row */
.uwp-profile-header .card-body > .row.justify-content-center {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Remove Bootstrap column widths so flex can control layout */
.uwp-profile-header .card-body > .row.justify-content-center > [class*="col"] {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Keep social icons aligned with username */
.uwp-profile-header .uwp-button-group .bsui-button-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem;
}




/* Align username column and social icon column to the top */
.uwp-profile-header .card-body > .row.justify-content-center {
    align-items: flex-start !important;
}
/* Remove top padding from the social icon column */
.uwp-profile-header .col-12.col-xl-4.text-xl-right.text-center.pt-2 {
    padding-top: 5px !important;
}
/* Add spacing between username column and social icon column */
.uwp-profile-header .col-12.col-xl-4.text-xl-right.text-center.pt-2 {
    margin-left: 20px !important;
}

/* ============================================
Fix UsersWP header collapsing on narrow widths
=============================================== */
.uwp-profile-header .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Avatar column */
.uwp-profile-header .col:first-child {
    flex: 0 0 auto;
    text-align: center;
}

/* Username column */
.uwp-profile-header .col-12.col-xl-6 {
    flex: 1 1 300px;
    text-align: center;
}

/* Icons column */
.uwp-profile-header .col-12.col-xl-4 {
    flex: 0 0 auto;
    text-align: center;
}

/* When space gets tight, stack everything cleanly */
@media (max-width: 900px) {
    .uwp-profile-header .row > div {
        flex: 1 1 100%;
        text-align: center !important;
        margin-bottom: 10px;
    }
}

/* =================================================
Remove logout from menu
===================================================*/

.uwp-account-logout {
    display: none !important;
}

/* Match the exact logout link shown in your HTML */

body.page-id-8 a.nav-link.text-decoration-none.uwp-account-logout[href*="action=logout"] {
    display: none !important;
}



/* Change background colour to match main page*/

body.page-id-8 .bg-light {
    --bs-light: #f4d194 !important;
    background-color: #f4d194 !important;
}

body.page-id-8 .bsui .navbar-light {
    background-color: #f4d194 !important;
}









/*=======================================================================================================
   9. Footer
=======================================================================================================*/
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

/* ===== FORCE FOOTER STYLE (FINAL) 

footer {
    background: #000 !important;
    text-align: center !important;
    padding: 10px 0;
}
===== */

/* Override any theme text rules */
footer p {
    color: #e6d3a3 !important;
    text-align: center !important;
    margin: 0;
}


/**/
@media (min-width: 0px) {
    footer p {
        text-align: center !important;
    }
}




/*=======================================================================================================
   10. Utility Classes (helpers, spacing, visibility)
=======================================================================================================*/


