/*
Theme Name: EasyBikers
Theme URI: https://easybikers.it
Author: Edoardo Nosotti
Author URI: https://easybikers.it
Description: The EasyBikers motorbike group theme.
Version: 1.1.2
Requires at least: 6.9
Tested up to: 7.0
Requires PHP: 7.4
License: © 2026 Edoardo Nosotti. All rights reserved.
Text Domain: easybikers
Domain Path: /languages
Tags: custom-menu, featured-images, one-column, two-columns, dark, blog
*/

@font-face {
 font-family: 'Permanent Marker';
 src: url('assets/fonts/Permanent_Marker/PermanentMarker-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Oswald';
    src: url('assets/fonts/Oswald/Oswald-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf') format('truetype');
}

/* === CSS Variables === */
:root {
    --eb-black: #000000;
    --eb-dark: #111111;
    --eb-dark-gray: #1a1a1a;
    --eb-medium-gray: #2a2a2a;
    --eb-light-gray: #888888;
    --eb-white: #ffffff;
    --eb-red: #cc0000;
    --eb-red-hover: #ff1a1a;
    --eb-red-dark: #990000;
    --eb-font-title: 'Permanent Marker', Arial, Helvetica, sans-serif;
    --eb-font-body: 'Roboto', sans-serif;
    --eb-font-heading: 'Oswald', sans-serif;
    --eb-color-blue-0: #001f2e;
    --eb-color-blue-1: #023443;
    --eb-color-blue-2: #305969;
    --eb-color-blue-3: #598192;
    --eb-color-blue-4: #83abbd;
    --eb-color-blue-5: #aed8eb;
    --eb-color-footer: #00131d;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 95%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--eb-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--eb-white);
    background-color: var(--eb-color-blue-0);
    -webkit-font-smoothing: antialiased;
    background-image: url('assets/img/home_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.login {
    filter: grayscale(80%) brightness(20%) contrast(105%) sepia(70%);
}

a {
    color: var(--eb-red-hover);
    text-decoration: none;
    transition: color 0.3s ease;
}

body.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 125px;
    background: linear-gradient(var(--eb-color-footer), transparent);
    z-index: 1;
}

a:hover,
a:focus {
    color: var(--eb-red-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--eb-font-heading);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--eb-white);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1.2em;
}

ul, ol {
    margin-bottom: 1.2em;
    padding-left: 1.5em;
}

blockquote {
    border-left: 4px solid var(--eb-red);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background-color: var(--eb-dark-gray);
    font-style: italic;
    color: var(--eb-light-gray);
}

.eb-home-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: url('assets/img/home_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eb-home-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(var(--eb-black), transparent);
    z-index: 1;
}

.eb-home-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.eb-home-title {
    font-size: 4rem;
    letter-spacing: 4px;
    margin-bottom: 0.3em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.eb-home-subtitle {
    font-size: 1.3rem;
    color: var(--eb-light-gray);
    margin-bottom: 2em;
    font-weight: 300;
}

/* === Layout === */
.eb-container {
    max-width: 1200px;
    margin: 35px auto 0 auto;
    padding: 0 20px;
}

.eb-content-area {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.eb-main {
    flex: 1;
    min-width: 0;
}

.eb-sidebar {
    width: 300px;
    flex-shrink: 0;
    padding-top: 90px;
}

/* === Site Header === */
.eb-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 3px solid transparent;
}

.eb-site-header .eb-site-title {
    opacity: 0;
}

.eb-site-header-bg {
    background-color: rgba(0, 31, 46, .2);
    border-bottom: 1px solid var(--eb-red);
    -webkit-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;
    -webkit-transition: border-bottom 200ms linear;
    -ms-transition: border-bottom 200ms linear;
    transition: border-bottom 200ms linear;
    backdrop-filter: blur(8px);
}

.eb-site-header-bg .eb-site-title {
    opacity: 1 !important;
    transition: opacity 500ms linear;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.eb-site-header-offset {
    top: 30px;
}

.eb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.eb-site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eb-site-branding .custom-logo {
    max-height: 50px;
    width: auto;
}

.eb-site-title {
    font-family: var(--eb-font-title);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.eb-site-title a {
    color: var(--eb-white);
}

.eb-site-title a:hover {
    color: var(--eb-red);
}

.eb-site-description {
    font-size: 0.75rem;
    color: var(--eb-light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* === Navigation === */
.eb-main-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.eb-main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--eb-white);
    font-family: var(--eb-font-heading);
    font-size: 1.095rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.eb-main-nav a:hover,
.eb-main-nav .current-menu-item > a {
    background-color: var(--eb-red);
    color: var(--eb-white);
}

/* Sub-menus */
.eb-main-nav li {
    position: relative;
}

.eb-main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--eb-dark);
    border: 1px solid var(--eb-medium-gray);
    min-width: 200px;
    flex-direction: column;
    z-index: 100;
}

.eb-main-nav li:hover > .sub-menu {
    display: flex;
}

.eb-main-nav .sub-menu a {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 0;
}

/* Mobile menu toggle */
.eb-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--eb-red);
    color: var(--eb-white);
    font-size: 1.5rem;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 3px;
}

.eb-menu-toggle:hover {
    background-color: var(--eb-red);
}

/* === Hero Section (Front Page) === */
.eb-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(204, 0, 0, 0.3) 100%
    ), var(--eb-dark);
    background-image: url('assets/img/cover/pexels-thgusstavo-2607554.jpg');
    background-size: cover;
    background-position: center; */
    overflow: hidden;
}

.eb-hero::after {
    display: none;

    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--eb-black));
    z-index: 5;
}

.eb-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* background-image: url('assets/img/cover/pexels-thgusstavo-2607554.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(80%) brightness(20%) contrast(105%) sepia(70%); */
}

.eb-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.eb-hero-title {
    font-family: var(--eb-font-title);
    font-size: 10rem;
    letter-spacing: 4px;
    margin-bottom: 0.3em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.eb-hero-subtitle {
    font-size: 1.3rem;
    color: var(--eb-light-gray);
    margin-bottom: 2em;
    font-weight: 300;
}

/* === Buttons === */
.eb-btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--eb-font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--eb-red);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eb-btn-primary {
    background-color: var(--eb-red);
    color: var(--eb-white);
}

.eb-btn-primary:hover {
    background-color: var(--eb-red-hover);
    border-color: var(--eb-red-hover);
    color: var(--eb-white);
}

.eb-btn-outline {
    background-color: transparent;
    color: var(--eb-white);
}

.eb-btn-outline:hover {
    background-color: var(--eb-red);
    color: var(--eb-white);
}

.eb-page-wrapper {
    backdrop-filter: grayscale(0.7) blur(15px);
}

/* === Front Page Sections === */
.eb-section {
    padding: 25px 0;
    background: linear-gradient(180deg, rgba(2,52,67,.10), rgba(2,52,67,.04)), radial-gradient(circle at top right, rgba(2,52,67,.14), transparent 20%);
    border-top: 1px solid rgba(131, 171, 189,.2);
    backdrop-filter: blur(15px);
}

.eb-section-dark {
    background-color: var(--eb-dark);
}

.eb-section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.eb-section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: var(--eb-red);
    margin: 15px auto 0;
}

/* === Post Cards === */
.eb-posts-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
    gap: 30px;
}

.eb-post-card {
    background-color: var(--eb-color-blue-0);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--eb-color-blue-1);
}

.eb-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.2);
}

.eb-post-card-thumb {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.eb-post-card-body {
    padding: 25px;
}

.eb-post-card-meta {
    font-size: 0.8rem;
    color: var(--eb-color-blue-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.eb-post-card-meta time {
    color: var(--eb-color-blue-4);
}

.eb-post-card-meta a {
    color: var(--eb-red-hover);
}

.eb-post-card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.eb-post-card-title a {
    color: var(--eb-red-hover);
}

.eb-post-card-title a:hover {
    color: var(--eb-red);
}

.eb-post-card-excerpt {
    color: var(--eb-light-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.eb-read-more {
    display: none;

    font-family: var(--eb-font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--eb-red);
    font-weight: 700;
}

.eb-read-more:hover {
    color: var(--eb-red-hover);
}

/* === Single Post === */
.eb-single-header {
    padding: 30px 0 5px;
}

.eb-single-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--eb-red-hover);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5)
}

.eb-single-meta {
    display: none;

    color: var(--eb-light-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eb-single-meta a {
    color: var(--eb-red);
}

.eb-single-featured-img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 30px;
}

.eb-entry-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    background-color: var(--eb-color-blue-0);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--eb-color-blue-1);
}

.eb-entry-content a {
    border-bottom: 1px solid var(--eb-red);
}

.eb-entry-content a:hover {
    color: var(--eb-red-hover);
    border-color: var(--eb-red-hover);
}

.eb-entry-content hr {
    border: 0;
    border-top: 1px solid var(--eb-color-blue-3);
    margin: 25px 0;
}
/* === Post Navigation === */
.eb-post-nav {
    display: none; /* flex */
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--eb-medium-gray);
}

.eb-post-nav a {
    font-family: var(--eb-font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* === Comments === */
.eb-comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--eb-medium-gray);
}

.eb-comments-area .comment-respond {
    margin-top: 30px;
}

.eb-comments-area label {
    display: block;
    margin-bottom: 5px;
    color: var(--eb-light-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eb-comments-area input[type="text"],
.eb-comments-area input[type="email"],
.eb-comments-area input[type="url"],
.eb-comments-area textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--eb-dark-gray);
    border: 1px solid var(--eb-medium-gray);
    color: var(--eb-white);
    border-radius: 3px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.eb-comments-area input:focus,
.eb-comments-area textarea:focus {
    border-color: var(--eb-red);
    outline: none;
}

.eb-comments-area .submit {
    background-color: var(--eb-red);
    color: var(--eb-white);
    border: none;
    padding: 12px 30px;
    font-family: var(--eb-font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.eb-comments-area .submit:hover {
    background-color: var(--eb-red-hover);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    padding: 20px;
    margin-bottom: 20px;
    background-color: var(--eb-dark-gray);
    border-radius: 5px;
    border-left: 3px solid var(--eb-red);
}

.comment-list .comment .children {
    list-style: none;
    margin-top: 20px;
    padding-left: 30px;
}

.comment-author {
    font-family: var(--eb-font-heading);
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.comment-meta {
    font-size: 0.8rem;
    color: var(--eb-light-gray);
    margin-bottom: 10px;
}

/* === Sidebar / Widgets === */
.eb-sidebar .widget {
    background-color: var(--eb-color-blue-0);
    border: 1px solid var(--eb-color-blue-1);
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 30px;
}

.eb-sidebar .widget-title {
    font-family: var(--eb-font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--eb-red);
}

.eb-sidebar .widget ul {
    list-style: none;
    padding: 0;
}

.eb-sidebar .widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--eb-medium-gray);
}

.eb-sidebar .widget li:last-child {
    border-bottom: none;
}

.eb-sidebar .widget a {
    color: var(--eb-light-gray);
}

.eb-sidebar .widget a:hover {
    color: var(--eb-red);
}

/* === Pagination === */
.eb-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 50px;
}

.eb-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background-color: var(--eb-dark-gray);
    color: var(--eb-white);
    border: 1px solid var(--eb-medium-gray);
    border-radius: 3px;
    font-family: var(--eb-font-heading);
    transition: all 0.3s ease;
}

.eb-pagination .page-numbers.current,
.eb-pagination .page-numbers:hover {
    background-color: var(--eb-red);
    border-color: var(--eb-red);
    color: var(--eb-white);
}

/* === Footer === */
.eb-site-footer {
    background-color: #00131d;
    border-top: 1px solid var(--eb-color-blue-2);
    padding: 25px 0 0;
}

.eb-site-footer .eb-container {
    margin-top: 0;
}

.eb-footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.eb-footer-widgets .widget-title {
    font-family: var(--eb-font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--eb-red);
}

.eb-footer-widgets ul {
    list-style: none;
    padding: 0;
}

.eb-footer-widgets li {
    padding: 5px 0;
}

.eb-footer-widgets a {
    color: var(--eb-light-gray);
}

.eb-footer-widgets a:hover {
    color: var(--eb-red);
}

.eb-footer-bottom {
    text-align: center;
    padding: 20px 0;
    /* border-top: 1px solid var(--eb-color-blue-2); */
    font-size: 0.85rem;
    color: var(--eb-color-blue-4);
}

.eb-no-posts {
    width: 100%;
}

/* === 404 Page === */
.eb-404 {
    text-align: center;
    padding: 100px 20px;
}

.eb-404 h1 {
    font-size: 8rem;
    color: var(--eb-red);
    line-height: 1;
    margin-bottom: 20px;
}

.eb-404 p {
    font-size: 1.2rem;
    color: var(--eb-light-gray);
    margin-bottom: 30px;
}

/* === Responsive === */
@media (max-width: 992px) {
    .eb-content-area {
        flex-direction: column;
    }

    .eb-sidebar {
        width: 100%;
    }

    .eb-footer-widgets {
        grid-template-columns: 1fr;
    }

    .eb-hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .eb-menu-toggle {
        display: block;
    }

    .eb-main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--eb-color-blue-0);
        border-top: 1px solid var(--eb-color-blue-2);
        padding: 10px 0;
    }

    .eb-main-nav.is-open ul {
        display: flex;
    }

    .eb-main-nav .sub-menu {
        position: static;
        border: none;
        padding-left: 20px;
    }

    .eb-main-nav li:hover > .sub-menu {
        display: flex;
    }

    .eb-posts-grid {
        grid-template-columns: 1fr;
    }

    .eb-hero-title {
        font-size: 2.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}

/* === WordPress Alignment Classes === */
.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin: 1em auto;
}

.wp-caption {
    max-width: 100%;
    background-color: var(--eb-dark-gray);
    border: 1px solid var(--eb-medium-gray);
    border-radius: 3px;
    padding: 5px;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--eb-light-gray);
    padding: 5px 0;
}

/* === Screen Reader Text === */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    display: block;
    height: auto;
    width: auto;
    background-color: var(--eb-red);
    color: var(--eb-white);
    font-size: 1rem;
    padding: 15px 23px;
    z-index: 100000;
}

.eb-container table {
    width: 100%;
    border-collapse: collapse;
}
.eb-container th {
    color: var(--eb-color-blue-5);
    padding: 10px;
    width: 1%;
    white-space: nowrap;
    vertical-align: top;
    border-bottom: 1px solid var(--eb-color-blue-2);
}
.eb-container td {
    color: var(--eb-white);
    padding: 10px;
    border-bottom: 1px solid var(--eb-color-blue-2);
}

.eb-home-footer-widgets {
    margin-top: 40px;
}

.eb-home-footer-widgets ul.menu {
    list-style: none;
    padding: 0;
    text-align: center;
    font-size: 0.95rem;
}

.eb-home-footer-widgets ul.menu li {
    width: auto;
    color: var(--eb-color-blue-3);
    display: inline-block;
}

.eb-home-footer-widgets ul.menu li a {
    color: var(--eb-color-blue-3);
}

#wpadminbar {
    position: fixed !important;
}

.language-switcher {
    display: none !important;
}

.bch_event_details_table,
.bch_event_attendees_table,
.bch_dashboard_garage table,
.bch_dashboard_calendar table {
    font-size: 0.8em;
}

.bch_dashboard_calendar table td {
    text-align: center;
}
.bch_dashboard_calendar table td:first-child {
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 1px;
}
.bch_dashboard_calendar table td:nth-child(4) {
    white-space: nowrap;
}

.bch_event_details_table td a,
.bch_dashboard_calendar table td a {
    text-decoration: none;
    border: none;
    color: var(--eb-color-blue-5);
}

table thead th {
    background-color: var(--eb-color-blue-1);
}

.bch_event_info_attendance {
    margin-top: 25px;
}

.bch_dashboard_garage table td {
    text-align: center;
}

.bch_dashboard_garage table td:last-child {
    white-space: nowrap;
}

.bch_dashboard_garage table td a,
.bch_dashboard_garage .bch_garage_form_buttons button {
    color: var(--eb-color-blue-0);
    background-color: var(--eb-color-blue-3);
    padding: 5px;
    border-radius: 3px;
    border: none;
    font-weight: bold;
}
.bch_dashboard_garage table td a:hover,
.bch_dashboard_garage .bch_garage_form_buttons button:hover {
    background-color: var(--eb-color-blue-5);
}
.bch_dashboard_garage .bch_garage_form_buttons button {
    display: inline-block;
    width: auto;
    font-size: 0.8em;
    margin: 15px auto 0 auto;
    padding: 5px;
}
.bch_dashboard_garage .bch_add_vehicle::before {
    content: '🏍️ ';
}
.bch_dashboard_garage .bch_save_vehicle::before {
    content: '✔️ ';
}
.bch_dashboard_garage .bch_cancel_edit::before {
    content: '❌ ';
}
.bch_dashboard_garage table td a.edit::before {
    content: '✏️ ';
    margin-right: 5px;
}
.bch_dashboard_garage table td a.delete::before {
    content: '❌ ';
}
.bch_dashboard_garage .bch_garage_add,
.bch_dashboard_garage .bch_garage_edit,
.bch_dashboard_garage .form-table {
    display: none;
}
.bch_dashboard_garage .form-table th,
.bch_dashboard_garage .form-table td {
    text-align: left;
}
.bch_dashboard_garage .form-table input[type="text"],
.bch_dashboard_garage .form-table input[type="number"] {
    width: 100%;
    padding: 5px;
    border: 1px solid var(--eb-color-blue-2);
    border-radius: 3px;
    background-color: var(--eb-color-blue-1);
    color: var(--eb-color-blue-5);
}

.bch_dashboard_garage .bch_garage_add,
.bch_dashboard_garage .bch_garage_edit {
    margin-top: 25px;
}

.bch_event_attendance button,
.wp-element-button,
.swpm-login-form-submit,
.swpm-submit {
    background-color: var(--eb-color-blue-4);
    color: var(--eb-color-blue-1);
    font-weight: 500;
    border: none;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}
.wp-element-button {
    background-color: var(--eb-color-blue-0);
}
.wp-block-search input[type="search"] {
    background-color: var(--eb-color-blue-0);
    color: var(--eb-color-blue-5);
    border: 1px solid var(--eb-color-blue-2);
    border-radius: 3px;
    padding: 5px;
}
.wp-block-search input[type="search"]:focus {
    color: var(--eb-color-blue-0);
    background-color: var(--eb-color-blue-5);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.bch_event_attendance button:hover {
    background-color: var(--eb-color-blue-5);
}
.bch_attendance_action {
    padding: 15px 0;
    text-align: right;
}
.bch_attendance_action select,
.bch_attendance_action span.bch_checkbox_wrapper {
    font-size: 0.7em;
    padding: 6px;
    border: 1px solid var(--eb-color-blue-2);
    border-radius: 3px;
    background-color: var(--eb-color-blue-1);
    color: var(--eb-color-blue-5);
}

.bch_event_weather_forecast_table th,
.bch_event_weather_forecast_table td {
    width: 1%;
    font-size: 0.7em;
    text-align: center;
}
.bch_event_weather_forecast_table tr td.bch_event_weather_forecast_table_location {
    text-align: left;
    white-space: nowrap;
    text-overflow:ellipsis;
    overflow: hidden;
    max-width: 1px;
}
.bch_event_weather_forecast_table td img {
    width: 50px;
    margin: auto;
    background-color: var(--eb-color-blue-4);
    border-radius: 30px;
}
.bch_event_cancelled {
    filter: grayscale(80%) brightness(50%) sepia(70%);
}
.eb-post-card-cancelled-notice {
    position: absolute;
    z-index: 999;
    height: 400px;
    top: 0;
    right: 0;
    left: 0;
}
.eb-post-card-cancelled-notice p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(204, 0, 0, 0.9);
    color: var(--eb-white);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 3px;
    width: 100%;
    text-align: center;
}

.swpm-label,
.swpm-form-label-wrap,
.swpm-password-input-visibility,
.swpm-remember-me {
    font-size: 0.9em;
    color: var(--eb-color-blue-4);
}
.swpm-firstname-row,
.swpm-lastname-row {
    display: none;
}
input.swpm-form-field,
input.swpm-text-field {
    color: var(--eb-color-blue-1);
    background-color: var(--eb-color-blue-5);
    border: 1px solid var(--eb-color-blue-3);
    border-radius: 3px;
    padding: 5px;
    width: 100% !important;
}
.swpm-form-label-wrap label,
.swpm-login-widget-form .swpm-label {
    color: var(--eb-red-hover);
    font-size: 1em;
    font-weight: bold;
}
a.swpm-login-form-pw-reset-link {
    font-size: 0.8em;
    color: var(--eb-color-blue-4);
    border-bottom: none;
    text-decoration: underline;
}

.swpm-login-widget-logged {
    color: var(--eb-color-blue-5);
    font-size: 1rem;
}
.swpm-logged-label {
    color: var(--eb-red-hover);
}
.swpm-login-widget-logged a {
    color: var(--eb-color-blue-3);
    border-bottom: none;
    text-decoration: underline;
}
.swpm-account-delete-button {
    font-size: 0.8em;
}
.swpm-edit-profile-link {
    margin-top: 35px;
}
.swpm-logged-membership,
.swpm-logged-expiry,
.swpm-phone-row,
.swpm-street-row,
.swpm-city-row,
.swpm-state-row,
.swpm-zipcode-row,
.swpm-country-row,
.swpm-company-row,
.swpm-membership-level-row {
    display: none;
}

.post-password-form,
.swpm-form,
.swpm-login-widget-form form,
.swpm-login-widget-logged {
    background-color: var(--eb-color-footer);
    padding: 25px;
    border-radius: 5px;
    border: 1px solid var(--eb-color-blue-1);
}
.post-password-form label {
    color: var(--eb-color-blue-4);
}
.post-password-form input {
    background-color: var(--eb-color-blue-4);
    padding: 5px;
    border: 1px solid var(--eb-color-blue-2);
    border-radius: 3px;
    color: var(--eb-color-blue-0);
}

.swpm-profile-update-success {
    color: #53f753;
    padding: 15px;
    border: 1px solid var(--eb-color-blue-1);
    border-radius: 5px;
    margin-bottom: 15px;
}

.widget_nav_menu {
    border: 0 !important;
    width: 100%;
    padding: 10px 0 !important;
}

#menu-user-dashboard {
    padding: 20px 25px 0 25px;
}

.wp-block-navigation-item,
.wp-block-navigation-link,
#menu-user-dashboard li {
    display: block;
    width: 100%;
}
#menu-user-dashboard li {
    border: 0;
    padding: 0;
    margin: 0 0 10px 0;
}
.wp-block-navigation-item a,
.wp-block-navigation-link a,
#menu-user-dashboard li a {
    color: var(--eb-red-hover) !important;
    border-bottom: none;
    text-decoration: none;
    font-weight: bold;
    display: block;
    width: 100%;
    background-color: var(--eb-color-footer);
    padding: 10px;
    border: 1px solid var(--eb-color-blue-1);
    border-radius: 5px;
}
.wp-block-navigation-item a::before,
.wp-block-navigation-link a::before,
#menu-user-dashboard li a::before {
    content: '🌐 ';
}
.wp-block-navigation-item a:hover,
.wp-block-navigation-link a:hover,
#menu-user-dashboard li a:hover {
    background-color: var(--eb-color-blue-0) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.wp-block-navigation-item.menu-item-logout a,
#menu-user-dashboard li:nth-child(4) a {
    color: var(--eb-light-gray) !important;
}
.wp-block-navigation-item.menu-item-calendar a::before,
#menu-user-dashboard li:first-child a::before {
    content: '📆 ';
}
.wp-block-navigation-item.menu-item-garage a::before,
#menu-user-dashboard li:nth-child(2) a::before {
    content: '🏍️ ';
}
.wp-block-navigation-item.menu-item-profile a::before,
#menu-user-dashboard li:nth-child(3) a::before {
    content: '🐱 ';
}
.wp-block-navigation-item.menu-item-logout a::before,
#menu-user-dashboard li:nth-child(4) a::before {
    content: '❌ ';
}
#menu-footer-navigation-home li a {
    border-right: 1px solid var(--eb-color-blue-2);
    padding: 0 15px;
}
#menu-footer-navigation-home li:last-child a {
    border-right: none;
}
#menu-footer-navigation li {
    display: inline-block;
    padding: 0 10px;
    border-right: 1px solid var(--eb-color-blue-2);
    text-transform: lowercase;
}
#menu-footer-navigation li:last-child {
    border-right: none;
}
.eb-footer-bottom a {
    color: var(--eb-color-blue-5);
}
.eb-footer-bottom a:hover {
    color: var(--eb-red-hover);
}

.image-caption, .bch_service_credits {
    margin-top: 10px;
    color: var(--eb-light-gray);
    font-size: 0.7em;
    text-align: right;
}
.image-caption a, .bch_service_credits a {
    color: var(--eb-light-gray);
    border-bottom: none;
    text-decoration: underline;
}
.bch_service_credits img {
    height: 15px !important;
    display: inline-block;
    margin: 0 5px;
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */ }
@media (max-width:481px)  {
    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .eb-post-card-thumb {
        height: 250px;
    }
    .eb-hero {
        min-height: 40vh;
    }
    .eb-sidebar {
        padding-top: 0;
    }
    .bch_event_details_table {
        font-size: 0.7em;
    }
    .bch_event_details_table th, .bch_event_details_table td {
        padding: 5px;
    }
    .bch_event_details_table td a {
        white-space: nowrap;
    }
    .bch_event_details_table tr.bch_event_details_route_specs td,
    .bch_event_details_table tr.bch_event_details_links td {
        text-align: left;
        white-space: nowrap;
        text-overflow:ellipsis;
        overflow: hidden;
        max-width: 1px;
    }
    .bch_event_attendance table {
        font-size: 0.7em;
    }
    .bch_event_attendance .bch_event_attendees_join,
    .bch_event_attendance .bch_event_attendees_leave,
    .bch_event_attendance .bch_attendance_action select,
    .bch_event_attendance .bch_attendance_action span.bch_checkbox_wrapper {
        width: 100%;
        display: block;
        text-align: left;
        margin-bottom: 5px;
    }

    .bch_event_weather_forecast_table .bch_event_weather_forecast_table_humidity,
    .bch_event_weather_forecast_table .bch_event_weather_forecast_table_wind {
        display: none;
    }

    .bch_dashboard_calendar table th,
    .bch_dashboard_calendar table td {
        font-size: 0.7em;
    }
    .bch_dashboard_calendar table th:nth-child(4),
    .bch_dashboard_calendar table td:nth-child(4),
    .bch_dashboard_calendar table th:nth-child(5),
    .bch_dashboard_calendar table td:nth-child(5) {
        display: none;
    }
    .eb-post-card-cancelled-notice {
        height: 250px;
    }
}
@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ }
@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }
