/* QA Members - Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
    --qa-gold: #c9b28b;
    --qa-dark: #111111;
    --qa-darker: #222222;
    --qa-gray: #444444;
    --qa-light-gray: #999999;
    --qa-white: #f9f9f9;
}

/* Checkboxes and radio buttons — QA gold */
.form-check-input:checked {
    background-color: var(--qa-gold);
    border-color: var(--qa-gold);
}

.form-check-input:focus {
    border-color: var(--qa-gold);
    box-shadow: 0 0 0 0.25rem rgba(201, 178, 139, 0.25);
}

.form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--qa-gold);
    border-color: var(--qa-gold);
}

/* Global Styles */
body {
    background: #111111 url("../images/art/QA-members_tiled_mono.png") center repeat;
    color: white;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--qa-dark) !important;
    font-family: "Playfair Display", serif !important;
}

.badge-continuous {
    background-color: #999999;
}
     
.badge-overseas {
    background-color: #888888;
}  

.auth-card {
	margin-top: -50px;
}

.member-card-666 {
	max-width: 70%;
	text-align: center;
	margin: auto;
	margin-top: -30px;
}

.form-label {
	color: #444444 !important;
}

#content {
    background: transparent;
    color: white;
    padding: 30px 0;
    min-height: calc(100vh - 300px);
}

.header-cards-shuffle {
    background: var(--qa-dark);
    max-height: 120px;
    min-width: 100%;
}

.header-logo {
	max-height: 120px;
	margin-top: -12px;
	margin-left: 0;
}

/* ── Three-column Navbar Layout ── */
.navbar-three-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
}

.navbar-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-centre {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.navbar-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navbar-centre .navbar-brand {
    margin: 0;
    padding: 0;
}

/* ── Mobile avatar placeholder (used when no avatar image set) ── */
.navbar-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--qa-gray);
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    border: 2px solid var(--qa-gold);
    vertical-align: middle;
}

.navbar-avatar-mobile {
    width: 38px;
    height: 38px;
}

.mobile-only {
	display: none;
}

.chat-message-text {
	font-size: 85% !important;
}


@media (max-width: 768px) {

	.hide-mobile {
		display:none;
	}
	
	.mobile-only {
		display: block;
	}
	
	.visitor-card {
		max-height: 360px;
	}	
	
	.visitor-pitch {
		margin-top: -30px;
		font-size: 100%;
	}

    /* Hide Log In / Sign Up nav buttons on mobile (login page has its own cards) */
    .navbar-right .nav-item:not(.dropdown) {
        display: none;
    }

    /* Hide the header iframe strip on mobile */
    .header-cards-shuffle {
        display: none;
    }
    
    .container {
    	min-width: 320px !important;
    }
    
    .content {
    	padding-top: -20px;
    }
	.navbar {
		min-height: 80px;
	
	}
    /* Keep the three-col row on one line — hamburger | logo | avatar */
    .navbar-three-col {
        flex-wrap: nowrap;
        align-items: center;
        height: 70px;
        margin-bottom: -20px;
        z-index: 999;
    }
    .navbar-left {
        order: 1;
        flex: 0 0 auto;
        margin-right: -10px;
    }
    .navbar-centre {
        order: 2;
        flex: 1;
        justify-content: center;
        padding: 0 8px;
    }
    .navbar-right {
        order: 3;
        flex: 0 0 auto;
        margin-left: -10px;
    }

    /* Hamburger collapse drops below the full-width navbar row */
    .navbar-left .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--qa-darker);
        padding: 10px 20px;
        border-top: 1px solid var(--qa-gold);
        z-index: 1000;
    }

    /* Shrink logo on mobile so it fits the centre slot */
    .header-logo {
        max-height: 56px;
        margin: auto;
        margin-top: 0;
    }

    /* Fix profile page RHS negative margin — breaks layout on small screens */
    .profile-rhs {
        margin-top: 0;
    }

    /* Keep mobile user dropdown anchored to the right edge */
    #userDropdownMobile ~ .dropdown-menu {
        position: fixed !important;
        top: auto !important;
        right: 8px !important;
        left: auto !important;
        transform: none !important;
        min-width: 200px;
        color: #dddddd;
        background-color: var(--qa-dark);
    }
    
    a.dropdown-item:hover,
    a.dropdown-item:active {
        background-color: var(--qa-gold) !important;
        color: white !important;
    }
    
    
        
    a.nav-link {
    	font-size: 80%;
    }
    
    .member-tab {
    	font-size: 67%;
    	margin-left: -2px;
    	margin-right: -2px;
    }
    
    .member666 {
    	display: none;
    }
    
    .member-apply {
    	//margin-top: -100px;
    }
    
    .event-poster {
    	min-height: 0 !important;
    }
    
    .gallery-thumb {
    	background-color: #666666 !important;
    	padding: 1px;
    	border: 1px solid var(--qa-gold) !important;
    }
    
    #qa-lb-prev {
    	height: 30px;
    	font-size: 75%;
    }
    
    #qa-lb-play-pause {
    	height: 30px;
    	font-size: 75%;
    }
    
    #qa-lb-next {
    	height: 30px;
    	font-size: 75%;
    }
    
    #qa-lb-counter {
    	margin-top: 40px;
    }
    
	#qa-lb-filename {
    	display: none;
    }	
    
    #qa-lb-credit {
    	margin: auto;
    }
    
    .chat-box {
    	margin-bottom: 20px;
    }	
}

/* Navigation */
.navbar {
	color: var(--qa-gold) !important;
    background-color: var(--qa-darker) !important;
    font-family: 'Roboto', sans-serif;
    max-height: 100px;
}

.navbar-brand img {
    filter: brightness(0) invert(1);
}

.nav-link {
	text-transform: uppercase;
    color: var(--qa-gold) !important;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--qa-white) !important;
    background-color: rgba(201, 178, 139, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
}

.dropdown-menu {
    background-color: var(--qa-darker);
    border: 1px solid var(--qa-gold);
}

.dropdown-item {
    color: #dddddd !important;
}

.dropdown-item:hover,
.dropdown-item:active {
    background-color: var(--qa-gold) !important;
    color: white !important;
}

/* Flag Images */
.flag-image {
    border: 1px solid white;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background-color: var(--qa-gold);
    border-color: var(--qa-gold);
    color: white;
}

.btn-primary:hover {
    background-color: var(--qa-gray);
    border-color: var(--qa-gray);
}

.btn-outline-light:hover {
    background-color: var(--qa-gold);
    border-color: var(--qa-gold);
    color: white;
}

/* Cards */
.card {
    background-color: #ffffff;
    color: #222222;
    border: 2px solid transparent;
}

.card-header {
    background-color: var(--qa-gold);
    color: white;
    font-weight: 600;
}

.user-level-btn {
	width: 20px;
	height: 20px;
	margin-top: 12px;
}

.user-level-blurb {
	margin-top: 10px;
	margin-left: 40px;	
}

/* Event Cards */
.event-card {
    background: white;
    color: #222222;
    border: 2px solid var(--qa-gold);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 178, 139, 0.3);
}

.event-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.event-card-body {
    padding: 20px;
}

.event-date {
    color: var(--qa-gold);
    font-weight: 600;
    font-size: 14px;
}

.event-title {
    color: var(--qa-darker);
    font-size: 24px;
    margin: 10px 0;
}

.event-location {
    color: #666;
    font-size: 14px;
}

.event-poster {
	border: 1px solid var(--qa-gold) !important;
	border-radius: 6px;
	min-height: 700px;
}

/* Attendee Avatars */
.attendee-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.attendee-avatar {
	position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--qa-gold);
    object-fit: cover;
}

.attendee-wrap {
    position: relative;
    display: inline-block;
    margin: 2px;
    text-decoration: none;
}
.attendee-party-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: red;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 10px;
    pointer-events: none;
}

.attendee-count {
    background-color: var(--qa-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* ── Attendee popover — desktop only ── */
.qa-attendee-popover {
    max-width: 180px;
}
.qa-attendee-popover .popover-body {
    padding: 10px;
    text-align: center;
}
.qa-attendee-popover .popover-body img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--qa-gold);
    margin-bottom: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.qa-attendee-popover .qa-attendee-level {
	background-color: var(--qa-dark);
	color: var(--qa-gold);
	margin: 0px 20px;
	border: 1px solid var(--qa-gold);
	border-radius: 6px;
	padding: 0px 4px;
}

.qa-attendee-popover .qa-attendee-bio {
	font-style: italic;
	font-size: 80%;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid white;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Protection Overlay */
.image-protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    user-select: none;
    z-index: 10;
}

/* Disable right-click on images */
img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* replaces editing tabs on own profile */
.tab-spacer {
	min-height: 65px;
}

/* Forms */
.form-control {
    background-color: white;
    color: #222222;
    border: 1px solid var(--qa-gray);
}

.form-control:focus {
    border-color: var(--qa-gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 178, 139, 0.25);
}

.form-label {
    color: white;
    font-weight: 500;
}

/* Auth Pages */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
}

.auth-card {
    background: white;
    color: #222222;
    padding: 40px;
    border-radius: 8px;
    border: 2px solid var(--qa-gold);
}

.auth-card h1 {
    color: var(--qa-gold) !important;
    margin-bottom: 30px;
}

/* Alerts */
.alert {
    border-radius: 8px;
    padding:3px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Footer */
.footer {
    background-color: var(--qa-darker);
    color: white;
    border-top: 2px solid var(--qa-gold);
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.copyright {
    font-size: 14px;
    margin: 10px 0;
}

.photographer-credit {
    font-size: 12px;
    color: var(--qa-light-gray);
}

/* Admin Panel */
.admin-sidebar {
    background-color: var(--qa-darker);
    border: 1px solid var(--qa-gold);
    padding: 20px;
    border-radius: 8px;
}

.admin-sidebar .nav-link {
    color: white;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 4px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--qa-gold);
    color: white;
}

/* Tables */
.table {
    background-color: white;
    color: #222222;
}

.table thead {
    background-color: var(--qa-gold);
    color: white;
}

.table-dark {
    background-color: var(--qa-darker);
    color: white;
}

/* Badges */
.badge {
    font-weight: 500;
}

.badge-founder {
    background-color: #d4af37 !important;
    color: white !important;
}

.badge-member {
    background-color: var(--qa-gold) !important;
    color: white !important;
}

/* Override Bootstrap Blue */
.btn-outline-primary {
    color: var(--qa-gold) !important;
    border-color: var(--qa-gold) !important;
}

.btn-outline-primary:hover {
    background-color: var(--qa-gold) !important;
    border-color: var(--qa-gold) !important;
    color: white !important;
}

.btn-primary, .badge.bg-primary {
    background-color: var(--qa-gold) !important;
    border-color: var(--qa-gold) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--qa-gray) !important;
    border-color: var(--qa-gray) !important;
}

.nav-tabs .nav-link.active {
    background-color: var(--qa-gold) !important;
    border-color: var(--qa-gold) !important;
    color: white !important;
}

.nav-tabs .nav-link {
    color: var(--qa-gold) !important;
}

.nav-tabs .nav-link:hover {
    border-color: var(--qa-gold) !important;
}

.btn-group .btn-outline-primary.active {
    background-color: var(--qa-gold) !important;
    border-color: var(--qa-gold) !important;
    color: white !important;
}

.page-link {
    color: var(--qa-gold) !important;
}

.page-item.active .page-link {
    background-color: var(--qa-gold) !important;
    border-color: var(--qa-gold) !important;
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    #content {
        padding: 6px 0;
    }
    
    .event-card img {
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .auth-card {
        padding: 20px;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--qa-gold) !important;
}

.text-embossed {
  background-color: #666666;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 1px 4px 4px rgba(0, 0, 0, 0.3);
}

.bg-dark-custom {
    background-color: var(--qa-darker);
}

.border-gold {
    border-color: var(--qa-gold) !important;
}

.string-to-upper {
    text-transform: uppercase;
}	

a {
	font-family: 'Roboto', sans-serif;
    color: #444444 !important;
    transition: all 0.3s;
}

a:hover {
    color: black !important;
}

/* ── Gallery / Lightbox ── */

/* Contact Sheet */
.gallery-contact-sheet {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.gallery-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    background: var(--qa-darker);
    overflow: hidden;
}

.gallery-thumb:hover {
    border-color: var(--qa-gold);
    transform: scale(1.03);
}

.gallery-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-thumb-label {
    font-size: 10px;
    color: var(--qa-light-gray);
    text-align: center;
    padding: 4px 2px;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
}

/* Lightbox Overlay */
#qa-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#qa-lightbox.active {
    display: flex;
}

#qa-lightbox-img-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qa-lightbox-img {
    border: 2px solid var(--qa-gold);
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#qa-lightbox-img.fading {
    opacity: 0;
}

#qa-lightbox-watermark {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20%;
    opacity: 0.75;
    pointer-events: none;
    user-select: none;
}

#qa-lightbox-caption {
    color: var(--qa-light-gray);
    font-size: 13px;
    font-family: monospace;
    margin-top: 10px;
    text-transform: none;
}

#qa-lightbox-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
}

.qa-lb-btn {
    background: none;
    border: 1px solid var(--qa-gold);
    color: var(--qa-gold);
    padding: 6px 18px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 3px;
    transition: background 0.2s;
    font-family: 'Roboto', sans-serif;
}

.qa-lb-btn:hover {
    background: var(--qa-gold);
    color: white;
}

#qa-lb-play-pause {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 90px;
}

#qa-lb-counter {
    color: var(--qa-light-gray);
    font-size: 13px;
    min-width: 60px;
    text-align: center;
}

#qa-lb-close {
    position: absolute;
    top: 18px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#qa-lb-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-contact-sheet {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    /* ── Profile tabs: stack vertically on mobile ── */
    .nav-tabs:not(#guest-tabs) {
        flex-direction: column;
        border-bottom: none;
        gap: 4px;
        margin-bottom: 16px !important;
        margin-top: 34px;
    }

    .nav-tabs:not(#guest-tabs) .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-tabs:not(#guest-tabs) .nav-link {
        width: 100%;
        text-align: left;
        border: 1px solid var(--qa-gold) !important;
        border-radius: 4px !important;
        padding: 12px 16px;
        margin-bottom: 0;
        background-color: var(--qa-darker) !important;
        color: var(--qa-gold) !important;
    }
    
    .navbar-nav .nav-item {
    	font-size: 150%;
    
    }

    .nav-tabs:not(#guest-tabs) .nav-link.active {
        border-color: var(--qa-gold) !important;
        background-color: var(--qa-gold) !important;
        color: white !important;
    }

    .nav-tabs:not(#guest-tabs) .nav-link:hover {
        background-color: var(--qa-gray) !important;
        color: white !important;
    }

    /* ── Fixed alert bar at top of viewport on mobile ── */
    .alert {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1055;
        margin: 6px !important;
        padding: 14px 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }
}

/* ── Chat / News Feed ── */

.chat-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px 4px;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.chat-avatar {
    flex: 0 0 36px;
}

.chat-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--qa-gray);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.chat-bubble-wrap {
    flex: 1;
    max-width: 80%;
}

.chat-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.chat-sender {
    font-size: 13px;
    font-weight: 600;
    color: var(--qa-light-gray);
    text-transform: none;
    font-family: 'Roboto', sans-serif;
}

.chat-sender-member {
    color: var(--qa-gold) !important;
}

.chat-sender-me {
    color: white !important;
}

.chat-time {
    font-size: 11px;
    color: var(--qa-light-gray);
    text-transform: none;
    font-family: 'Roboto', sans-serif;
}

.chat-bubble {
    background: var(--qa-darker);
    border: 1px solid var(--qa-gray);
    border-radius: 0 8px 8px 8px;
    padding: 10px 14px;
    color: white;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    word-break: break-word;
}

.chat-bubble-me {
    background: var(--qa-gray);
    border-color: var(--qa-gold);
    font-weight: 600;
}

/* Mine — flip to right */
.chat-mine {
    flex-direction: row-reverse;
}

.chat-mine .chat-bubble-wrap {
    align-items: flex-end;
}

.chat-mine .chat-meta {
    flex-direction: row-reverse;
}

.chat-mine .chat-bubble {
    border-radius: 8px 0 8px 8px;
}

/* Scrollbar styling */
.chat-feed::-webkit-scrollbar {
    width: 6px;
}
.chat-feed::-webkit-scrollbar-track {
    background: var(--qa-darker);
}
.chat-feed::-webkit-scrollbar-thumb {
    background: var(--qa-gold);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .chat-bubble-wrap {
        max-width: 90%;
    }
}

/* ── Galleries Hub ── */

.gallery-coming-soon {
    opacity: 0.65;
}

.gallery-coming-soon-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--qa-gold);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
}

/* event-card needs position:relative for the badge */
.event-card {
    position: relative;
}

/* -- Profile -- */

.profile-rhs {
	margin-top: -65px;
}	

/* ── Chat Event Links (sidebar) ── */

.chat-event-link {
    display: block;
    background: var(--qa-darker);
    border: 1px solid var(--qa-gray);
    border-radius: 4px;
    padding: 10px 14px;
    text-decoration: none !important;
    transition: border-color 0.2s, background 0.2s;
}

.chat-event-link:hover {
    border-color: var(--qa-gold);
    background: var(--qa-gray);
}

.chat-event-title {
    color: white !important;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
}

.chat-event-date {
    color: var(--qa-gold) !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    font-family: 'Roboto', sans-serif;
}

.chat-count-badge {
	background-color: var(--qa-dark);
}

.chat-avatar {
	width: 100%;
	height: auto;
}

.chat-digest-btn {
	color: black;
	background-color: var(--qa-gold);
	border: 2px solid var(--qa-gold);
	padding: 4px 8px;
	border-radius: 4px;
}

.chat-digest-btn:hover {
	color: white;
	background-color: var(--qa-dark);
	border: 2px solid var(--qa-gold);

}

.chat-bg {
	background-color: #d9d9d9;
	padding: 4px 12px;
	margin: -10px 0px;
}

.list-group-item {
	background-color: #cccccc;
}

.list-group-item.active {
	background-color: white;
}

// feature card boundary effect on hover - bootstrap 4 or later... //

.feature {
	background-color: #000000;
}

.feature::before
{
	border-top: 2px solid var(--qa-gold);
	border-bottom: 2px solid var(--qa-gold);
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

.feature::after
{
	border-right: 2px solid var(--qa-gold);
	border-left: 2px solid var(--qa-gold);
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}

.feature::before,
.feature::after
{
	position: absolute;
	top: -2px;
	right: -2px;
	bottom: -2px;
	left: -2px;
	border-radius: 10px;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	z-index: 1;
}

.feature:hover::before, 
.feature:hover::after
{
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}



/* ── Gallery Likes ── */

#qa-like-btn {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: none;
    border: none;
    padding: 6px;
    line-height: 0;
    cursor: pointer;
    transition: transform 0.15s ease;
}

#qa-like-btn:hover:not(:disabled) {
    transform: scale(1.15);
}

#qa-like-btn:disabled {
    cursor: default;
}

#qa-like-btn svg {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7));
    display: block;
}

#qa-avatar-strip {
    position: absolute;
    top: 0;
    left: 42px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 3px;
    pointer-events: auto;
}

.qa-liker-avatar {
    display: inline-block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--qa-gold);
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.qa-liker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.qa-liker-overflow {
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding-left: 3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* ── Header Cards (photostack) ── */

#header-cards {
    position: relative;
    height: 150px;
    background: #222;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-bottom: 3px solid var(--qa-gold);
}

#photostack-1 > div {
    width: 100%;
    height: 150px;
    margin: 0 auto;
}

.js .photostack {
    height: 150px;
}

#photostack-1 figure {
    width: 120px;
    min-height: unset;
    height: 160px;
    background: transparent;
    padding: 0;
}

#photostack-1 figure img {
    width: 104px;
    height: 144px;
    object-fit: cover;
    border: 8px solid #fff;
    display: block;
}

/* ── Photostack transition easing ── */
.photostack-transition figure {
    transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
