/*!
Theme Name: Cardel Ride Of A Lifetime
Theme URI: http://underscores.me/
Author: Cardel Homes
Author URI: https://www.cardelhomes.com
Description: Cardel Homes 2023
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cardel-ride-of-a-lifetime
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Cardel Ride Of A Lifetime is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}
/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}
/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b, strong {
    font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}
/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button, input {
    overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button, select {
    text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
    height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */ ::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}
/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}
/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*, *::before, *::after {
    box-sizing: inherit;
}
html {
    box-sizing: border-box;
}
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body, button, input, select, optgroup, textarea {
    color: #404040;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
    clear: both;
}
p {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    line-height: 38px;
    font-weight: 400;
    margin-bottom: 1.5em;
}
dfn, cite, em, i {
    font-style: italic;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}
code, kbd, tt, var {
    font-family: "Inter", sans-serif;
}
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark, ins {
    background: #fff9c0;
    text-decoration: none;
}
big {
    font-size: 125%;
}
/* Elements
--------------------------------------------- */
body {
    background: #FFF;
}
body.theme-cardel-ride-of-a-lifetime {
    font-family: "Inter", sans-serif;
    background: #FFF;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
ul, ol {
    margin: 0 0 1.5em 3em;
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
li > ul, li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}
dt {
    font-weight: 700;
}
dd {
    margin: 0 1.5em 1.5em;
}
/* Make sure embeds and iframes fit their containers. */
embed, iframe, object {
    max-width: 100%;
}
img {
    height: auto;
    max-width: 100%;
}
figure {
    margin: 1em 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}
/* Links
--------------------------------------------- */
a {
    color: #4169e1;
}
a:visited {
    color: #800080;
}
a:hover, a:focus, a:active {
    color: #191970;
}
a:focus {
    outline: thin dotted;
}
a:hover, a:active {
    outline: 0;
}
/* Forms
--------------------------------------------- */
button, input[type="button"], input[type="reset"], input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}
button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
    color: #111;
}
select {
    border: 1px solid #ccc;
}
textarea {
    width: 100%;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}
.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}
.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}
.main-navigation ul ul a {
    width: 200px;
}
.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
    left: auto;
}
.main-navigation li {
    position: relative;
}
.main-navigation a {
    display: block;
    text-decoration: none;
}
/* Small menu. */
.menu-toggle, .main-navigation.toggled ul {
    display: block;
}
@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: flex;
    }
}
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {
    margin: 0 0 1.5em;
}
.comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links {
    display: flex;
}
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {
    flex: 1 0 50%;
}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}
/* Responsive navbar adjustments */
@media (max-width: 767.98px) {
    .navbar-brand img {
        width: 200px;
    }
}
/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}
.post, .page {
    margin: 0;
}
.updated:not(.published) {
    display: none;
}
.page-content, .entry-content, .entry-summary {
    margin: 0;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}
/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}
.bypostauthor {
    display: block;
}
/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}
.widget select {
    max-width: 100%;
}
/* Media
--------------------------------------------- */
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}
/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}
.wp-caption-text {
    text-align: center;
}
/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}
.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}
.gallery-caption {
    display: block;
}
/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {
    display: none;
}
/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}
/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}
/* Alignments
--------------------------------------------- */
.alignleft {
    /*rtl:ignore*/
    float: left;
    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.alignright {
    /*rtl:ignore*/
    float: right;
    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}
/* Custom to the theme - Enhanced with animated hamburger */

/* Default Bootstrap icon (hidden when using custom hamburger) */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    display: none; /* Hidden when using custom hamburger */
}

.navbar-toggler {
    border: solid 1px #FFF !important;
    padding: 4px 8px;
    background: transparent;
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Custom hamburger icon container */
.hamburger {
    width: 28px; /* Match the height for square proportions */
    height: 18px;
    position: relative;
    cursor: pointer;
}

/* Individual hamburger lines */
.hamburger span {
    display: block;
    position: absolute;
    height: 3px; /* Match stroke-width from SVG */
    width: 100%;
    background: rgba(0, 0, 0, 0.75); /* Match SVG stroke color */
    border-radius: 1.5px; /* Round ends like SVG linecap */
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

/* Position each line to match SVG spacing */
.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 7.5px; /* Center line */
}

.hamburger span:nth-child(3) {
    top: 15px;
}

/* Animation when menu is open (X formation) */
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    top: 7.5px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
    left: -30px; /* Adjust for smaller width */
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    top: 7.5px;
    transform: rotate(-135deg);
}

/* Navigation styles */
.navbar-nav, .navbar-nav a.nav-link {
    color: #000;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar-nav a.nav-link.register-menu-item {
    font-size: 18px;
    color: #FFF;
    font-weight: 600;
    text-transform: none;
    background: #BE1E2D;
    padding: 10px 25px;
    border-radius: 3px;
    display: block;
    margin-left: 58px;
}

/* Responsive navigation */
@media (max-width: 1399.98px) {
    .navbar-toggler[aria-expanded="true"] {
        /* Additional styles when menu is open can go here */
    }
    
    button.navbar-toggler {
        position: relative;
        z-index: 2;
    }
    
    .navbar-nav {
        position: fixed;
        width: 100%;
        background: #FFF;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 1;
        overflow: hidden;
        padding-top: 50px;
    }
    
    .navbar-nav a.nav-link {
        margin-bottom: 20px;
    }
    
    .navbar-nav a.nav-link.register-menu-item {
        margin-left: 0;
    }
    
    .navbar-nav span {
        display: none;
    }
}
/* Modal adjustments */
#register .modal-content, #submitvehicle .modal-content {
    background: #081e3f;
}
#registerform {
    min-height: 450px;
}
/* Video background */
video {
    object-fit: cover;
    width: 100vw;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}
/* Layout sections */
.welcome {
    min-height: 70vh;
}
.edit-link {
    display: none;
}
/* Header */
header.site-header {
    background: #FFF;
    padding: 20px 0;
}
.page-home header.site-header {
    background: #FFFFFFC2;
}
/* Heading banners */
.heading-banner {
    font-family: 'DM Sans', serif;
    font-style: italic;
    font-weight: 900;
    font-size: 70px;
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;
    color: #FFF;
}
/* Page-specific banners */
body.page-about-the-event .heading-banner, body.page-sponsors .heading-banner, body.page-purchase-a-ride .heading-banner, body.page-car-show .heading-banner, body.page-gallery .heading-banner {
    background: #1D252C url("/wp-content/themes/cardel-ride-of-a-lifetime/images/event-banner.jpg") center center no-repeat;
    background-size: cover;
    height: 340px;
}
/* Header quote */
header .quote {
    font-size: 44px;
    font-weight: 600;
    color: #00A5B5;
    line-height: 50px;
    padding-left: 2.25rem;
    padding-top: 3rem;
}
/* Feature elements */
span.featurehome {
    font-family: 'DM Sans', serif;
    font-size: 38px;
    color: #FFF !important;
    letter-spacing: 0.3rem;
    font-weight: 600;
    text-align: center;
    display: block;
    padding: 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Main title */
body.home h1.title {
    font-family: 'DM Sans', serif;
    color: #FFF;
    font-size: 90px;
    line-height: 6rem;
    font-weight: 1000;
    font-style: italic;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    text-transform: uppercase;
}
body.page-home h1.title p {
    font-size: 22px;
    line-height: 36px;
    margin-bottom: 2rem;
}
/* Heading title */
.heading-title {
    font-style: italic;
    font-weight: 950;
    font-size: 65px;
    line-height: 1em;
    font-family: 'DM Sans', serif;
}
/* Color utilities */
.red {
    color: #CE0E2D;
}
.blue {
    color: #00A5B5;
}
.white {
    color: #FFF;
}
/* Buttons */
a.redbutton {
    font-size: 18px;
    color: #FFF !important;
    font-weight: 600;
    text-transform: none;
    background: #BE1E2D;
    padding: 10px 25px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
}
.redbutton.submitvehicle {
    display: block;
    width: 250px;
    margin-bottom: 20px;
}
/* Section links */
.page-template-home-template .section-links {
    min-height: 372px;
    color: #FFF;
    text-decoration: none;
    font-size: 34px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 20px;
    text-align: center;
    line-height: 36px;
}
/* Section link backgrounds */
.section-links.about-the-event {
    background: #1D252C url("/wp-content/themes/cardel-ride-of-a-lifetime/images/home/about-the-event-bg.jpg") center center no-repeat;
    background-size: cover;
}
.section-links.purchase-your-ride {
    background: #1D252C url("/wp-content/themes/cardel-ride-of-a-lifetime/images/home/purchase-your-ride-bg.jpg") center center no-repeat;
    background-size: cover;
}
.section-links.car-show {
    background: #1D252C url("/wp-content/themes/cardel-ride-of-a-lifetime/images/home/car-show-bg.jpg") center center no-repeat;
    background-size: cover;
}
.section-links.our-sponsors {
    background: #1D252C url("/wp-content/themes/cardel-ride-of-a-lifetime/images/home/our-sponsors-bg.jpg") center center no-repeat;
    background-size: cover;
}
.page-purchase-a-ride h1{
    color: #000000 !important;
}
/* Page specific styling */
.page-purchase-a-ride h2 {
    font-size: 30px;
    font-weight: 700;
    padding: 50px 0;
    margin: 0;
    color: #FFF;
}
.page-purchase-a-ride p {
    color: #000;
}
.page-purchase-a-ride p.price-prod {
    color: #000;
}
.page-sponsors .white-stripe-bg {
    padding-bottom: 0;
}
.page-gallery h1 {
    font: italic 950 90px/1.0em 'DM Sans', serif;
    margin: 40px 0;
}
.page-sponsors p {
    font: 400 20px/38px 'Inter', serif !important;
    color: #000;
}
.page-about-the-event .heading-banner span{
    color: #FFF;
}
/* Sponsor styling */
.spon-top-logos {
    margin: 30px 0;
}
.spon-top-logos div img {
    padding: 0 10px 30px 10px;
}
/* Sponsor styling */
.sponsor {
    min-height: 300px;
    background: #FFF;
    margin-bottom: 25px;
    border: solid 2px #e6e6e6;
}
.spon-classes {
    margin-bottom: 40px;
}
.sponsor img {
    padding: 0 15px;
}
.sponsor span {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 20px;
}
.sponsor span.sponsors-name {
    padding-top: 20px;
    padding-bottom: 10px;
}
.sponsor span.all-wheel {
    color: #CE0E2D;
}
.sponsor span.rear-wheel {
    color: #004293;
}
.sponsor span.front-wheel {
    color: #00A5B5;
}
/* Background sections */
.white-stripe-bg {
    background: #FFF;
    padding: 80px 0;
}
.day-23-icon {
    margin-top: -20px;
    margin-bottom: -20px;
}
.page-car-show .white-stripe-bg {
    padding: 80px 0 0 0;
}
/* Shop intro */
.shop-intro {}
.shop-intro .container {
    padding-top: 0;
    padding-bottom: 40px;
}
/* WooCommerce styling */
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link p.price-prod span.price-laps {
    color: #00626B;
    font-weight: 600;
    text-transform: uppercase;
}
body.woocommerce-cart {
    color: #FFF;
}
body.woocommerce-cart .product-quantity {
    display: none;
}
body.woocommerce-cart .product-subtotal {
    text-align: right;
}
body.woocommerce-cart .cart-subtotal td, body.woocommerce-cart .order-total td {
    text-align: right;
}
body.woocommerce-cart .cart-header {
    background: #00A5B5;
    padding: 30px 0;
}
body.woocommerce-cart th.product-name, body.woocommerce-cart th.product-price, body.woocommerce-cart th.product-quantity, body.woocommerce-cart th.product-subtotal {
    text-transform: uppercase;
}
.woocommerce-cart-form__cart-item.cart_item td.product-remove {
    max-width: 30px;
}
#add_payment_method table.cart .product-thumbnail, .woocommerce-cart table.cart .product-thumbnail, .woocommerce-checkout table.cart .product-thumbnail {
    max-width: 84px;
}
body.woocommerce-cart #add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: 136px;
    box-shadow: none;
}
body.woocommerce-cart .product-name a {
    color: #FFF;
    font-size: 24px;
    font-weight: 600;
}
body.woocommerce-cart .product-name {
    font-size: 18px;
    line-height: 30px;
    font-weight: 500;
}
.woocommerce td.product-name dl.variation p, .woocommerce td.product-name dl.variation dt {
    line-height: 31px;
    font-weight: 500;
    font-size: 18px;
}
body.woocommerce-cart .actions {
    display: none;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #BE1E2D;
    color: #FFFFFF !important;
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    width: 33%;
}
body.page-purchase-a-ride .price-prod span.woocommerce-Price-amount.amount bdi span.woocommerce-Price-currencySymbol {
    display: none;
}
body.page-purchase-a-ride .price-prod span.woocommerce-Price-amount.amount bdi span.woocommerce-Price-amount.amount bdi span.woocommerce-Price-currencySymbol {
    display: inline-block;
}
/* Scope to this cart form only */

/* Ensure links and table text inherit */
.page-cart form.woocommerce-cart-form a,
.page-cart form.woocommerce-cart-form th,
.page-cart form.woocommerce-cart-form td,
.page-cart form.woocommerce-cart-form dt,
.page-cart form.woocommerce-cart-form dd,
.page-cart form.woocommerce-cart-form p,
.page-cart form.woocommerce-cart-form .woocommerce-Price-amount,
.page-cart form.woocommerce-cart-form .woocommerce-Price-amount bdi,
.page-cart .woocommerce-cart span.woocommerce-Price-amount.amount bdi
.page-cart form.woocommerce-cart-form .product-name a,
.page-cart form.woocommerce-cart-form .product-remove .remove {
  color: #000;
}


/* Force color on common text-containing elements inside checkout */
.entry-content h1{
    color: #FFFFFF;
}
.woocommerce .woocommerce-customer-details address,
.page-checkout .entry-content h2,
.page-checkout .entry-content h3,
.page-checkout .entry-content h4,
.page-checkout .entry-content h5,
.page-checkout .entry-content h6,
.page-checkout .entry-content p,
.page-checkout .entry-content span,
.page-checkout .woocommerce-Price-amount.amount bdi,
.page-checkout .entry-content th,
.page-checkout .entry-content td,
.page-checkout .entry-content dt,
.page-checkout .entry-content dd,
.page-checkout .entry-content strong,
.page-checkout .entry-content em {
  color: #000;
}

/* Override WooCommerce and theme link colors */
.entry-content a,
.entry-content a:visited,
.entry-content a:hover {
  color: #00818F !important;
}

/* Price text */
.entry-content .woocommerce-Price-amount,
.entry-content .woocommerce-Price-currencySymbol {
  color: #00818Fs;
}

/* Form inputs text */
.page-checkout .entry-content input,
.page-checkout .entry-content select,
.page-checkout .entry-content textarea,
.entry-content .select2-selection__rendered{
  color: #000;
}

body.page-checkout .cart-header{
    padding: 30px 0;
    background: #00818F;
}

.woocommerce ul.products li.product .button{
    color: #FFF !important;
}

/* Back navigation */
.backto {
    background: #00818F;
    padding: 40px 0;
}
.backto a {
    color: #FFF;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}
.backto a span {
    padding-left: 20px;
}
/* WooCommerce messages and products */
.woocommerce-message {
    border: none;
    background: #FFF;
}
.woocommerce-result-count, .woocommerce-ordering {
    display: none;
}
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    color: #000;
    font-size: 21px;
    font-weight: 600;
    min-height: 2rem;
}
.product h1 {
    font-size: 51px;
    color: #000;
    margin: 30px auto;
}
.woocommerce div.product form.cart .variations label {
    font-size: 22px;
    text-transform: uppercase;
}
.wcpa_form_outer .wcpa_form_item .required_ast {
    color: #FF8F8F;
}
select#lap-sessions {
    background: #00818F;
    padding: 10px;
    color: #FFF !important;
    font-weight: 600;
    width: 100%;
    border: none;
}
.woocommerce div.product form.cart .variations th {
    line-height: 2.5em;
    color: #000;
}
.wcpa_form_item input {
    width: 100% !important;
    border-radius: 0;
    padding: 10px 15px !important;
    margin: 3px 0;
}
.single-product p {
    color: #000;
}
.single-product p.price {
    display: none;
}
.single-product p.price-prod {
    margin: 0 0 30px 0;
}
.woocommerce div.product form.cart .reset_variations {
    color: #000;
    text-decoration: underline;
}
.woocommerce-variation-availability p.stock.in-stock {
    display: none;
}
.woocommerce-cart .cart_totals.calculated_shipping h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.woocommerce-cart tbody tr.cart-subtotal th, .woocommerce-cart tbody tr.order-total th, .woocommerce-cart td.product-price span.woocommerce-Price-amount.amount bdi {
    padding-left: 0;
    font-size: 18px;
    text-transform: uppercase;
}
.woocommerce-cart span.woocommerce-Price-amount.amount bdi {
    color: #00818F;
}
.woocommerce-cart tbody tr.order-total, .woocommerce-cart table.shop_table.shop_table_responsive tbody tr.order-total td strong span.woocommerce-Price-amount.amount bdi {
    color: #00626B;
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    margin: 0;
    text-decoration: none;
    line-height: 1;
    font-weight: 400;
    padding: .5em;
    min-width: 1em;
    display: block;
    color: #FFF;
    font-size: 18px;
}
.single-product .woocommerce-Price-amount.amount bdi, .single-product .price-prod .price-laps {
    font-size: 29px;
    color: #00626B;
    font-weight: 600;
    text-transform: uppercase;
}
.woocommerce-Price-amount.amount bdi {
    color: #00626B;
    font-size: 21px;
    font-weight: 600;
}
li.product .button {
    background: #BE1E2D;
    color: #FFF;
    padding: 15px 40px;
}
.woocommerce button.button.alt {
    background: #BE1E2D;
    color: #FFF;
    padding: 15px 40px;
}
.single_variation_wrap {
    color: #000;
}
.product_meta {
    display: none;
}
.pswp__caption__center {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}
/* Checkout styling */
.woocommerce-checkout {
    color: #FFF;
}
.woocommerce form .form-row label, .woocommerce-page form .form-row label {
    font-size: 16px;
    font-weight: 500;
}
.page-checkout .woocommerce-checkout-review-order tr.cart_item td.product-name strong.product-quantity {
    display: none;
}
table.shop_table.woocommerce-checkout-review-order-table {
    margin-bottom: 20px;
}
.page-checkout .woocommerce table.shop_table th, .page-checkout .woocommerce .product-name {
    padding-left: 0;
    padding-right: 0;
}
.page-checkout .woocommerce table.shop_table.woocommerce-checkout-review-order-table thead tr th.product-total {
    text-align: right;
}
/* About page specific */
.page-about-the-event h2 {
    padding-top: 20px;
}
.roal-clr-logo {
    position: relative;
    top: -100px;
}
.quote-feature {
    font-size: 38px;
    color: #00A5B5;
    line-height: 43px;
    font-weight: 700;
}
.quote-feature span {
    display: block;
    width: 90px;
    height: 17px;
    background: #CE0E2D;
    margin: 30px 0;
}
/* Event info */
.event-info {
    color: #FFF;
    padding: 80px 0;
    background: #FFF;
}
.event-info h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 35px;
}
.event-info p {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 0;
}
.event-info .redbutton {
    width: 246px;
}
.event-info ul {
    margin: 0;
    padding: 0;
}
.event-info ul li {
    list-style: none;
    margin-bottom: 28px;
}
/* Footer elements */
.footer-stripe {
    background: #FFF;
    height: 15px;
    margin-top: 150px;
    clear: both;
}
.page-id-86 .footer-stripe {
    margin-top: 0;
}
/* Modal styling */
.modal-content .btn-close {
    position: absolute;
    right: 0;
    padding: 20px;
}
.modal p.disclaimer {
    padding: 0 30px;
    color: #FFF;
    margin-bottom: 0;
    padding-bottom: 30px;
    font-size: 16px !important;
    line-height: 21px !important;
    font-weight: 300 !important;
}
.modal p.disclaimer a:link, .modal p.disclaimer a:visited {
    color: #FFF;
}
#carregform {
    min-height: 596px;
}
body.page-about-the-event .footer-stripe {
    margin-top: 0;
}
/* Footer */
footer {
    padding: 3.125rem 0;
    background: #081E3F url("/wp-content/themes/cardel-ride-of-a-lifetime/images/roal-bg-logo.svg") right center no-repeat;
    background-size: contain;
    color: #919191;
    margin-top: 50px;
}
footer .chroal-footer {
    padding-bottom: 1.875rem;
}
footer .sponsors a {
    margin-right: 3.125rem;
}
footer .sponsors a:last-child {
    margin-right: 0;
}
footer .sponsors img {
    padding-bottom: 1.875rem;
}
footer .footer-about {
    font-size: 0.75rem;
    line-height: 0.9375rem;
    font-weight: 400;
    margin-top: 2rem;
    color: #FFF;
}
footer .footer-about span {
    font-size: 0.875rem;
    font-weight: 600;
}
footer .copyright {
    color: #FFF;
    margin-top: 2.875rem;
    font-size: 0.875rem;
    font-weight: 600;
}
footer.site-footer a {
    color: #FFF;
    text-decoration: none;
}
/* Footer buttons */
a.footercontact {
    font-size: 14px;
    color: #FFF;
    font-weight: 600;
    background: transparent;
    border: solid 1px #FFF;
    padding: 10px 25px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-top: 10px;
    width: 150px;
    text-transform: uppercase;
}
#footercontactform {
    min-height: 543px;
}
#footercontact .modal-content{
    background-color: #081e3f;
}
a.footerdirections {
    font-size: 14px;
    color: #FFF;
    font-weight: 600;
    background: transparent;
    border: solid 1px #FFF;
    padding: 10px 25px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-top: 10px;
    width: 180px;
    text-transform: uppercase;
}
/* Checkout payment */
.woocommerce-checkout #payment {
    /*background: #1d252c;*/
}
/* Countdown container */
/* General countdown container styling - consistent layout across all devices */

.countdown-container {
    text-align: center;
    padding: 0;
}

.countdown-container .countdown-display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for the title */
    margin: 30px 0;
    align-items: flex-start; /* Align items to top */
}

/* Make title take full width and appear on new line */
.countdown-container .countdown-display .title {
    flex-basis: 100%; /* Take full width */
    order: 2; /* Move to bottom */
    margin-top: 20px;
    font-size: 25px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #FFF;
    font-weight: 400;
    width: 100%;
}

.page-about-the-event .countdown-container .countdown-display .title{
    text-shadow: none;
}

.countdown-container .time-unit {
    color: #FFF;
    min-width: 100px;
    position: relative;
    order: 1; /* Keep time units at top */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-container .time-unit:not(:last-of-type):after {
    content: ":";
    position: absolute;
    right: -1px;
    top: 34%;
    transform: translateY(-50%);
    font-size: 2em;
    font-weight: bold;
    color: #FFF;
}

.countdown-container .time-number {
    font-size: 3em;
    font-weight: bold;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-variant-numeric: tabular-nums;
}

.countdown-container .time-label {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-container .target-date {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.countdown-container .finished {
    font-size: 2em;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991.98px) {
    .countdown-container .countdown-display .title {
        font-size: 22px;
        margin-top: 15px;
    }
    
    .countdown-container .time-number {
        font-size: 2.5em;
    }
    
    .countdown-container .time-unit {
        min-width: 80px;
    }
    
    .countdown-container .time-unit:not(:last-of-type):after {
        font-size: 1.8em;
    }
}

@media (max-width: 767.98px) {
    .countdown-container .countdown-display .title {
        font-size: 20px;
        margin-top: 12px;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    .countdown-container .time-number {
        font-size: 2em;
    }
    
    .countdown-container .time-unit {
        min-width: 70px;
    }
    
    .countdown-container .time-unit:not(:last-of-type):after {
        font-size: 1.5em;
        right: 0px;
    }
    
    .countdown-container .time-label {
        font-size: 0.8em;
    }
}

@media (max-width: 575.98px) {
    .countdown-container .countdown-display .title {
        font-size: 18px;
        margin-top: 10px;
        padding: 0 15px;
    }
    
    .countdown-container .time-number {
        font-size: 1.8em;
    }
    
    .countdown-container .time-unit {
        min-width: 60px;
    }
    
    .countdown-container .time-unit:not(:last-of-type):after {
        font-size: 1.3em;
        right: 2px;
    }
    
    .countdown-container .time-label {
        font-size: 0.7em;
    }
}

.carshow-page h1.heading-title, .page-sponsors  h1.heading-title, .page-gallery  h1.heading-title {
    color: #000;
}
/*** Event Page CSS ***/
.event-page h1.heading-title, .event-page h2.heading-title {
    color: #000;
}
.event-page.theme-cardel-ride-of-a-lifetime p {
    color: #000;
}
.event-page section.orange-bg {
    background: #ff4602;
    padding: 60px 0 20px;
    margin-top: -135px;
}
.event-page section.experience {
    background: #fff;
    padding: 30px 0;
}
.event-page section.beige-bg {
    background: #e3e2d6;
    padding: 40px 0;
}
.event-page.theme-cardel-ride-of-a-lifetime p.biggerText {
    font-size: 28px;
    line-height: 45px;
    font-weight: 300;
    color: #000;
    letter-spacing: 2.5px;
    margin-bottom: 0;
}
.event-page a.blackbutton {
    font-size: 18px;
    color: #FFF !important;
    font-weight: 600;
    text-transform: uppercase;
    background: #000;
    padding: 10px 25px;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
    width: 250px;
    letter-spacing: 1px;
}
.event-page .countdown-container {
    text-align: center;
    border-radius: 0;
    padding: 0;
}
.event-page .title {
    font-size: 34px;
    margin-bottom: 0;
    text-shadow: none;
    color: #000;
    font-weight: 500;
    margin-top: 20px;
    width: 100%;
}
.event-page .target-date {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}
.event-page .countdown-display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}
.event-page .time-unit:not(:last-of-type):after {
    content: ":";
    position: absolute;
    right: -10px;
    top: 34%;
    transform: translateY(-50%);
    font-size: 6em;
    font-weight: bold;
    color: #FFF;
    text-shadow: none;
}
.event-page .time-unit {
    color: #FFF;
    min-width: 100px;
    position: relative;
}
.event-page .time-number {
    font-size: 100px;
    font-weight: 500;
    text-shadow: none;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin: 0 20px;
}
.event-page .time-label {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 1;
}
.event-page .finished {
    font-size: 2em;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
}
.event-page .event-info {
    background: #FFF url('/wp-content/uploads/2025/06/map-bg.svg') no-repeat;
    background-position: -300px;
    background-size: 65%;
}
.event-page .event-info .grey-bg {
    background-color: #f0f0f0;
    padding: 20px 40px;
    width: 98%;
}
.event-page .event-info .white-bg {
    background-color: #fff;
}
.event-page .event-info h2 {
    font-family: 'DM Sans', serif;
    font-size: 65px;
    line-height: 1em;
    font-weight: 950;
    font-style: italic;
    text-transform: none;
}
.event-page .event-info h3 {
    color: #000;
    font-family: 'Inter', serif;
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    text-transform: uppercase;
}
.event-page .event-info ul li {
    margin-bottom: 20px;
}
.event-page .event-info .arrow {
    margin-top: -150px;
    margin-left: 60px;
}
.event-page .event-info .arrow svg {
    width: 400px;
}
.event-page .event-info p.date {
    font-family: 'Inter', serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}
.event-page .event-info p.bold {
    font-weight: 700;
}
.event-page .event-info a.btn-register {
    color: #BE1E2C;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.event-page .event-info a.btn-register:hover {
    text-decoration: none;
}
/*** Carshow Page CSS ***/
.carshow-page h1.heading-title, .carshow-page h2.heading-title {
    color: #000;
}
.carshow-page.theme-cardel-ride-of-a-lifetime p {
    font: 400 20px/38px 'Inter', serif;
    color: #000;
}
/*--------------------------------------------------------------
# RESPONSIVE BREAKPOINTS
--------------------------------------------------------------*/
/* Bootstrap 5 Breakpoints with proportional scaling:
   - xs: <576px (default)
   - sm: 576px - 767px (75% of desktop)
   - md: 768px - 991px (80% of desktop)
   - lg: 992px - 1199px (85% of desktop)
   - xl: 1200px - 1399px (90% of desktop)
   - xxl: ≥1400px (100% - desktop)
*/
/* XXL (Desktop) - Base sizes already defined above */
/* XL Breakpoint: 1200px - 1399px (90% of desktop) */
@media (max-width: 1399.98px) {
    /* Typography scaling */
    p {
        font-size: 18px;
        line-height: 34px;
    }
    .heading-banner {
        font-size: 63px; /* 90% of 70px */
    }
    header .quote {
        font-size: 39.6px; /* 90% of 44px */
        line-height: 45px; /* 90% of 50px */
        padding-left: 2rem;
        padding-top: 2.7rem;
    }
    span.featurehome {
        font-size: 34px; /* 90% of 38px */
        letter-spacing: 0.27rem; /* 90% of 0.3rem */
    }
    body.home h1.title {
        font-size: 81px; /* 90% of 90px */
        line-height: 5.4rem; /* 90% of 6rem */
    }
    body.page-home h1.title p {
        font-size: 19.8px; /* 90% of 22px */
        line-height: 32.4px; /* 90% of 36px */
    }
    .heading-title {
        font-size: 58.5px; /* 90% of 65px */
    }
    .page-template-home-template .section-links {
        font-size: 30.6px; /* 90% of 34px */
        line-height: 32.4px; /* 90% of 36px */
        min-height: 334.8px; /* 90% of 372px */
    }
    .page-purchase-a-ride h2 {
        font-size: 27px; /* 90% of 30px */
        padding: 45px 0; /* 90% of 50px */
    }
    .page-gallery h1, .page-sponsors h1 {
        font-size: 81px; /* 90% of 90px */
    }
    .quote-feature {
        font-size: 34.2px; /* 90% of 38px */
        line-height: 38.7px; /* 90% of 43px */
    }
    .event-info h2 {
        font-size: 28.8px; /* 90% of 32px */
        margin-bottom: 31.5px; /* 90% of 35px */
    }
    .event-info p {
        font-size: 21.6px; /* 90% of 24px */
        line-height: 25.2px; /* 90% of 28px */
    }
    .product h1 {
        font-size: 45.9px; /* 90% of 51px */
    }
    .woocommerce div.product form.cart .variations label {
        font-size: 19.8px; /* 90% of 22px */
    }
    .single-product .woocommerce-Price-amount.amount bdi, .single-product .price-prod .price-laps {
        font-size: 26.1px; /* 90% of 29px */
    }
    .woocommerce-Price-amount.amount bdi {
        font-size: 18.9px; /* 90% of 21px */
    }
    body.woocommerce-cart .product-name a {
        font-size: 21.6px; /* 90% of 24px */
    }
    .backto a {
        font-size: 19.8px; /* 90% of 22px */
    }
    .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 18.9px; /* 90% of 21px */
    }
    /* Event page specific */
    .event-page .title {
        font-size: 30.6px; /* 90% of 34px */
    }
    .event-page .time-number {
        font-size: 90px; /* 90% of 100px */
    }
    .event-page .time-unit:not(:last-of-type):after {
        font-size: 5.4em; /* 90% of 6em */
    }
    .event-page .event-info h2 {
        font-size: 58.5px; /* 90% of 65px */
    }
    .event-page .event-info h3 {
        font-size: 27px; /* 90% of 30px */
        line-height: 36px; /* 90% of 40px */
    }
    .event-page.theme-cardel-ride-of-a-lifetime p.biggerText {
        font-size: 25.2px; /* 90% of 28px */
        line-height: 40.5px; /* 90% of 45px */
        letter-spacing: 2.25px; /* 90% of 2.5px */
    }
    /* Padding and margin adjustments */
    .white-stripe-bg {
        padding: 72px 0; /* 90% of 80px */
    }
    .event-info {
        padding: 72px 0; /* 90% of 80px */
    }
    .event-page section.orange-bg {
        padding: 54px 0 18px; /* 90% of 60px and 20px */
        margin-top: -121.5px; /* 90% of -135px */
    }
    .event-page section.experience {
        padding: 27px 0; /* 90% of 30px */
    }
    .event-page section.beige-bg {
        padding: 36px 0; /* 90% of 40px */
    }
}
/* LG Breakpoint: 992px - 1199px (85% of desktop) */
@media (max-width: 1199.98px) {
    /* Typography scaling */
    p {
        font-size: 17px;
        line-height: 32px;
    }
    .heading-banner {
        font-size: 59.5px; /* 85% of 70px */
    }
    header .quote {
        font-size: 37.4px; /* 85% of 44px */
        line-height: 42.5px; /* 85% of 50px */
        padding-left: 1.9rem;
        padding-top: 2.55rem;
    }
    span.featurehome {
        font-size: 32.3px; /* 85% of 38px */
        letter-spacing: 0.255rem; /* 85% of 0.3rem */
    }
    body.home h1.title {
        font-size: 76.5px; /* 85% of 90px */
        line-height: 5.1rem; /* 85% of 6rem */
    }
    body.page-home h1.title p {
        font-size: 18.7px; /* 85% of 22px */
        line-height: 30.6px; /* 85% of 36px */
    }
    .heading-title {
        font-size: 55.25px; /* 85% of 65px */
    }
    .page-template-home-template .section-links {
        font-size: 28.9px; /* 85% of 34px */
        line-height: 30.6px; /* 85% of 36px */
        min-height: 316.2px; /* 85% of 372px */
    }
    .page-purchase-a-ride h2 {
        font-size: 25.5px; /* 85% of 30px */
        padding: 42.5px 0; /* 85% of 50px */
    }
    .page-gallery h1, .page-sponsors h1 {
        font-size: 76.5px; /* 85% of 90px */
    }
    .quote-feature {
        font-size: 32.3px; /* 85% of 38px */
        line-height: 36.55px; /* 85% of 43px */
    }
    .event-info h2 {
        font-size: 27.2px; /* 85% of 32px */
        margin-bottom: 29.75px; /* 85% of 35px */
    }
    .event-info p {
        font-size: 20.4px; /* 85% of 24px */
        line-height: 23.8px; /* 85% of 28px */
    }
    .product h1 {
        font-size: 43.35px; /* 85% of 51px */
    }
    .woocommerce div.product form.cart .variations label {
        font-size: 18.7px; /* 85% of 22px */
    }
    .single-product .woocommerce-Price-amount.amount bdi, .single-product .price-prod .price-laps {
        font-size: 24.65px; /* 85% of 29px */
    }
    .woocommerce-Price-amount.amount bdi {
        font-size: 17.85px; /* 85% of 21px */
    }
    body.woocommerce-cart .product-name a {
        font-size: 20.4px; /* 85% of 24px */
    }
    .backto a {
        font-size: 18.7px; /* 85% of 22px */
    }
    .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 17.85px; /* 85% of 21px */
    }
    /* Event page specific */
    .event-page .title {
        font-size: 28.9px; /* 85% of 34px */
    }
    .event-page .time-number {
        font-size: 85px; /* 85% of 100px */
    }
    .event-page .time-unit:not(:last-of-type):after {
        font-size: 5.1em; /* 85% of 6em */
    }
    .event-page .event-info h2 {
        font-size: 55.25px; /* 85% of 65px */
    }
    .event-page .event-info h3 {
        font-size: 25.5px; /* 85% of 30px */
        line-height: 34px; /* 85% of 40px */
    }
    .event-page.theme-cardel-ride-of-a-lifetime p.biggerText {
        font-size: 23.8px; /* 85% of 28px */
        line-height: 38.25px; /* 85% of 45px */
        letter-spacing: 2.125px; /* 85% of 2.5px */
    }
    /* Padding and margin adjustments */
    .white-stripe-bg {
        padding: 68px 0; /* 85% of 80px */
    }
    .event-info {
        padding: 68px 0; /* 85% of 80px */
    }
    .event-page section.orange-bg {
        padding: 51px 0 17px; /* 85% of 60px and 20px */
        margin-top: -114.75px; /* 85% of -135px */
    }
    .event-page section.experience {
        padding: 25.5px 0; /* 85% of 30px */
    }
    .event-page section.beige-bg {
        padding: 34px 0; /* 85% of 40px */
    }
}
/* MD Breakpoint: 768px - 991px (80% of desktop) */
@media (max-width: 991.98px) {
    /* Typography scaling */
    p {
        font-size: 16px;
        line-height: 30px;
    }
    .heading-banner {
        font-size: 56px; /* 80% of 70px */
    }
    header .quote {
        font-size: 35.2px; /* 80% of 44px */
        line-height: 40px; /* 80% of 50px */
        padding-left: 1.8rem;
        padding-top: 2.4rem;
    }
    span.featurehome {
        font-size: 30.4px; /* 80% of 38px */
        letter-spacing: 0.24rem; /* 80% of 0.3rem */
    }
    body.home h1.title {
        font-size: 66px; /* 80% of 90px */
        line-height: 4.0rem; /* 80% of 6rem */
    }
    body.page-home h1.title p {
        font-size: 17.6px; /* 80% of 22px */
        line-height: 28.8px; /* 80% of 36px */
    }
    .heading-title {
        font-size: 52px; /* 80% of 65px */
    }
    .page-template-home-template .section-links {
        font-size: 27.2px; /* 80% of 34px */
        line-height: 28.8px; /* 80% of 36px */
        min-height: 297.6px; /* 80% of 372px */
    }
    .page-purchase-a-ride h2 {
        font-size: 24px; /* 80% of 30px */
        padding: 40px 0; /* 80% of 50px */
    }
    .page-gallery h1, .page-sponsors h1 {
        font-size: 72px; /* 80% of 90px */
    }
    .quote-feature {
        font-size: 30.4px; /* 80% of 38px */
        line-height: 34.4px; /* 80% of 43px */
    }
    .event-info h2 {
        font-size: 25.6px; /* 80% of 32px */
        margin-bottom: 28px; /* 80% of 35px */
    }
    .event-info p {
        font-size: 19.2px; /* 80% of 24px */
        line-height: 22.4px; /* 80% of 28px */
    }
    .product h1 {
        font-size: 40.8px; /* 80% of 51px */
    }
    .woocommerce div.product form.cart .variations label {
        font-size: 17.6px; /* 80% of 22px */
    }
    .single-product .woocommerce-Price-amount.amount bdi, .single-product .price-prod .price-laps {
        font-size: 23.2px; /* 80% of 29px */
    }
    .woocommerce-Price-amount.amount bdi {
        font-size: 16.8px; /* 80% of 21px */
    }
    body.woocommerce-cart .product-name a {
        font-size: 19.2px; /* 80% of 24px */
    }
    .backto a {
        font-size: 17.6px; /* 80% of 22px */
    }
    .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 16.8px; /* 80% of 21px */
    }
    /* Additional existing overrides for MD */
    .roal-clr-logo {
        top: 0;
    }
    .page-about-the-event .white-stripe-bg {
        padding-bottom: 0;
    }
    .white-stripe-bg {
        background-image: none;
        padding: 64px 0; /* 80% of 80px */
    }
    .quote-feature span {
        margin: 9.6px 0; /* 80% of 12px */
    }
    .event-info {
        padding: 64px 0; /* 80% of 80px */
    }
    .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
        width: 100%;
    }
    /* Event page specific */
    .event-page .heading-banner {
        font-size: 26px;
        line-height: 1em;
    }
    .event-page .heading-title {
        font-size: 50px;
        line-height: 1em;
    }
    .event-page.theme-cardel-ride-of-a-lifetime p {
        font: 400 18px/30px 'Inter', serif;
    }
    .event-page.theme-cardel-ride-of-a-lifetime p.biggerText {
        font: 300 22px/30px 'Inter', serif;
    }
    .event-page section.orange-bg {
        margin-top: 30px;
        padding: 20px;
    }
    .event-page .event-info .grey-bg {
        padding: 20px 30px;
        width: 100%;
    }
    .event-page .event-info .white-bg {
        padding: 20px 40px;
    }
    .event-page .event-info .arrow {
        display: none;
    }
    .event-page .event-info h2 {
        font: italic 900 50px/1em 'DM Sans', serif;
    }
    .event-page .event-info h3 {
        font: 700 22px/30px 'Inter', serif;
    }
    /* Carshow page specific */
    .carshow-page .heading-banner {
        font: italic 900 50px/1em 'DM Sans', serif;
    }
    .carshow-page .heading-title {
        font: italic 900 50px/1em "DM Sans", serif;
    }
    .carshow-page.theme-cardel-ride-of-a-lifetime p {
        font: 400 18px/30px 'Inter', serif;
    }
}
/* SM Breakpoint: 576px - 767px (75% of desktop) */
@media (max-width: 767.98px) {
    /* Typography scaling */
    p {
        font-size: 15px;
        line-height: 28px;
    }
    .heading-banner {
        font-size: 52.5px; /* 75% of 70px */
    }
    header .quote {
        font-size: 33px; /* 75% of 44px */
        line-height: 37.5px; /* 75% of 50px */
        padding-left: 1.68rem;
        padding-top: 2.25rem;
    }
    span.featurehome {
        font-size: 28.5px; /* 75% of 38px */
        letter-spacing: 0.225rem; /* 75% of 0.3rem */
    }
    body.home h1.title {
        font-size: 67.5px; /* 75% of 90px */
        line-height: 4.5rem; /* 75% of 6rem */
    }
    body.page-home h1.title p {
        font-size: 16.5px; /* 75% of 22px */
        line-height: 27px; /* 75% of 36px */
    }
    .heading-title {
        font-size: 48.75px; /* 75% of 65px */
    }
    .page-template-home-template .section-links {
        font-size: 25.5px; /* 75% of 34px */
        line-height: 27px; /* 75% of 36px */
        min-height: 279px; /* 75% of 372px */
    }
    .page-purchase-a-ride h2 {
        font-size: 22.5px; /* 75% of 30px */
        padding: 37.5px 0; /* 75% of 50px */
    }
    .page-gallery h1, .page-sponsors h1 {
        font-size: 67.5px; /* 75% of 90px */
    }
    .quote-feature {
        font-size: 28.5px; /* 75% of 38px */
        line-height: 32.25px; /* 75% of 43px */
    }
    .event-info h2 {
        font-size: 24px; /* 75% of 32px */
        margin-bottom: 26.25px; /* 75% of 35px */
    }
    .event-info p {
        font-size: 18px; /* 75% of 24px */
        line-height: 21px; /* 75% of 28px */
    }
    .product h1 {
        font-size: 38.25px; /* 75% of 51px */
    }
    .woocommerce div.product form.cart .variations label {
        font-size: 16.5px; /* 75% of 22px */
    }
    .single-product .woocommerce-Price-amount.amount bdi, .single-product .price-prod .price-laps {
        font-size: 21.75px; /* 75% of 29px */
    }
    .woocommerce-Price-amount.amount bdi {
        font-size: 15.75px; /* 75% of 21px */
    }
    body.woocommerce-cart .product-name a {
        font-size: 18px; /* 75% of 24px */
    }
    .backto a {
        font-size: 16.5px; /* 75% of 22px */
    }
    .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 15.75px; /* 75% of 21px */
    }
    /* Padding and margin adjustments */
    .white-stripe-bg {
        padding: 60px 0; /* 75% of 80px */
    }
    .event-info {
        padding: 60px 0; /* 75% of 80px */
    }
    /* Countdown adjustments */
    .countdown-container {
        padding: 15px;
        margin: 15px;
    }
    .countdown-container .title {
        font-size: 18.75px; /* 75% of 25px */
    }
    .countdown-container .time-unit {
        min-width: 75px; /* 75% of 100px */
        padding: 11.25px; /* 75% of 15px */
    }
    .countdown-container .time-number {
        font-size: 2.25em; /* 75% of 3em */
    }
    /* Event page specific adjustments */
    .event-page .countdown-container {
        padding: 15px;
        margin: 15px;
    }
    .event-page .title {
        font-size: 25.5px; /* 75% of 34px */
        line-height: 22.5px; /* 75% of 30px */
    }
    .event-page .time-unit {
        min-width: 75px; /* 75% of 100px */
        padding: 11.25px; /* 75% of 15px */
    }
    .event-page .time-number {
        font-size: 75px; /* 75% of 100px */
    }
    .event-page .time-unit:not(:last-of-type)::after {
        font-size: 4.5em; /* 75% of 6em */
    }
}
/* XS Breakpoint: <576px (Mobile - 65% of desktop) */
@media (max-width: 575.98px) {
    /* Page-specific banners */
    body.page-about-the-event .heading-banner, body.page-sponsors .heading-banner, body.page-purchase-a-ride .heading-banner, body.page-car-show .heading-banner, body.page-gallery .heading-banner {
        height: 210px;
    }
    header.site-header {
        padding: 2px 0;
    }
    .event-page .heading-banner {
        font-size: 28px;
        line-height: 1em;
    }
    /* Typography scaling */
    p {
        font-size: 13px;
        line-height: 25px;
    }
    .heading-banner {
        font-size: 40px !important; /* 65% of 70px */
    }
    header .quote {
        font-size: 28.6px; /* 65% of 44px */
        line-height: 32.5px; /* 65% of 50px */
        padding-left: 1.46rem;
        padding-top: 1.95rem;
    }
    span.featurehome {
        font-size: 24.7px; /* 65% of 38px */
        letter-spacing: 0.195rem; /* 65% of 0.3rem */
    }
    body.home h1.title {
        font-size: 41.5px; /* 65% of 90px */
        line-height: 3.0rem; /* 65% of 6rem */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    body.page-home h1.title p {
        font-size: 14.3px; /* 65% of 22px */
        line-height: 23.4px; /* 65% of 36px */
    }
    .heading-title {
        font-size: 42.25px; /* 65% of 65px */
    }
    .page-template-home-template .section-links {
        font-size: 22.1px; /* 65% of 34px */
        line-height: 23.4px; /* 65% of 36px */
        min-height: 241.8px; /* 65% of 372px */
    }
    .page-purchase-a-ride h2 {
        font-size: 19.5px; /* 65% of 30px */
        padding: 32.5px 0; /* 65% of 50px */
    }
    .page-gallery h1, .page-sponsors h1 {
        font-size: 58.5px; /* 65% of 90px */
    }
    .quote-feature {
        font-size: 24.7px; /* 65% of 38px */
        line-height: 27.95px; /* 65% of 43px */
    }
    .event-info h2 {
        font-size: 20.8px; /* 65% of 32px */
        margin-bottom: 22.75px; /* 65% of 35px */
    }
    .event-info p {
        font-size: 15.6px; /* 65% of 24px */
        line-height: 18.2px; /* 65% of 28px */
    }
    .product h1 {
        font-size: 33.15px; /* 65% of 51px */
    }
    .woocommerce div.product form.cart .variations label {
        font-size: 14.3px; /* 65% of 22px */
    }
    .single-product .woocommerce-Price-amount.amount bdi, .single-product .price-prod .price-laps {
        font-size: 18.85px; /* 65% of 29px */
    }
    .woocommerce-Price-amount.amount bdi {
        font-size: 13.65px; /* 65% of 21px */
    }
    body.woocommerce-cart .product-name a {
        font-size: 15.6px; /* 65% of 24px */
    }
    .backto a {
        font-size: 14.3px; /* 65% of 22px */
    }
    .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 13.65px; /* 65% of 21px */
    }
    .white-stripe-bg {
        padding: 18.2px 0; /* 65% of 28px from existing */
    }
    .event-info {
        padding: 15.6px 0; /* 65% of 24px from existing */
    }
    .shop-intro .container {
        padding-top: 19.5px; /* 65% of 30px from existing */
        padding-bottom: 19.5px; /* 65% of 30px from existing */
    }
    .page-car-show .white-stripe-bg {
        padding: 19.5px 0 0 0; /* 65% of 30px from existing */
    }
    .footer{
        background-position: center bottom;
    }
    .footer-stripe {
        margin-top: 26px; /* 65% of 40px from existing */
    }
    li.product .button {
        padding: 9.75px 21.45px; /* 65% of 15px 33px from existing */
    }
    /* Countdown adjustments */
    .countdown-container {
        padding: 0;
        margin: 0;
    }
    .countdown-container .title {
        font-size: 16.25px; /* 65% of 25px */
    }
    .countdown-container .time-unit {
        min-width: 65px; /* 65% of 100px */
        padding: 9.75px; /* 65% of 15px */
    }
    .countdown-container .time-number {
        font-size: 1.95em; /* 65% of 3em */
    }
    /* Event page specific adjustments */
    .event-page .countdown-container {
        padding: 13px;
        margin: 13px;
    }
    .event-page .title {
        font-size: 22.1px; /* 65% of 34px */
        line-height: 19.5px; /* 65% of 30px */
    }
    .event-page .time-unit {
        min-width: 65px; /* 65% of 100px */
        padding: 9.75px; /* 65% of 15px */
    }
    .event-page .time-number {
        font-size: 65px; /* 65% of 100px */
    }
    .event-page .time-unit:not(:last-of-type)::after {
        font-size: 3.9em; /* 65% of 6em */
    }
}


/* Enhanced countdown container styling for consistent layout across all devices */

.event-page .countdown-container {
    text-align: center;
    padding: 0;
}

/* Force title text to wrap properly on mobile */
.event-page .title {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    margin-bottom: 20px;
}

.event-page .countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping for the title */
    margin: 30px 0;
    gap: 10px; /* Add consistent spacing between units */
}

/* Container for just the time units */
.event-page .countdown-display .time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Make title take full width and appear on new line */
.event-page .countdown-display .title {
    flex-basis: 100%; /* Take full width */
    order: 2; /* Move to bottom */
    margin-top: 20px;
}

.event-page .time-unit {
    color: #FFF;
    min-width: auto; /* Remove fixed width */
    flex: 0 0 auto; /* Don't grow or shrink */
    position: relative;
    text-align: center;
    order: 1; /* Keep time units at top */
}

.event-page .time-number {
    font-weight: 500;
    text-shadow: none;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin: 0 10px; /* Horizontal spacing for numbers */
    display: block;
}

.event-page .time-label {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 1;
    display: block;
}

.event-page .time-unit:not(:last-of-type):after {
    content: ":";
    position: absolute;
    right: -15px; /* Adjust colon positioning */
    top: 32%; /* Center the colon with the numbers */
    transform: translateY(-50%);
    font-weight: bold;
    color: #FFF;
    text-shadow: none;
}

/* Responsive adjustments for different screen sizes */

/* XL Breakpoint: 1200px - 1399px */
@media (max-width: 1399.98px) {
    .event-page .time-number {
        font-size: 90px;
    }
    .event-page .time-unit:not(:last-of-type):after {
        font-size: 5.4em;
        right: -12px;
    }
}

/* LG Breakpoint: 992px - 1199px */
@media (max-width: 1199.98px) {
    .event-page .time-number {
        font-size: 85px;
    }
    .event-page .time-unit:not(:last-of-type):after {
        font-size: 5.1em;
        right: -10px;
    }
}

/* MD Breakpoint: 768px - 991px */
@media (max-width: 991.98px) {
    .event-page .countdown-display {
        gap: 5px; /* Reduce gap slightly */
    }
    
    .event-page .countdown-display .title {
        margin-top: 15px;
        font-size: 20px;
    }
    
    .event-page .time-number {
        font-size: 60px; /* Smaller for tablets */
        margin: 0 5px;
    }
    .event-page .time-unit:not(:last-of-type):after {
        font-size: 3.6em;
        right: -8px;
        top: 28%;
    }
    .event-page .time-label {
        font-size: 0.8em;
    }
}

/* SM Breakpoint: 576px - 767px */
@media (max-width: 767.98px) {
    .event-page .title {
        font-size: 18px; /* Smaller font for mobile */
        line-height: 1.3;
        margin-bottom: 15px;
        padding: 0 10px; /* Add padding to prevent edge overflow */
    }
    
    .event-page .countdown-display .title {
        margin-top: 12px;
        font-size: 18px;
    }
    
    .event-page .countdown-display {
        gap: 2px; /* Minimal gap for mobile */
        margin: 20px 0;
    }
    .event-page .time-number {
        font-size: 45px; /* Smaller for mobile */
        margin: 0 3px;
    }
    .event-page .time-unit:not(:last-of-type):after {
        font-size: 2.7em;
        right: -6px;
        top: 25%;
    }
    .event-page .time-label {
        font-size: 0.7em;
        margin-top: 3px;
    }
}

/* XS Breakpoint: <576px */
@media (max-width: 575.98px) {
    .event-page .title {
        font-size: 16px; /* Even smaller for very small screens */
        line-height: 1.3;
        margin-bottom: 12px;
        padding: 0 15px; /* More padding for very small screens */
    }
    
    .event-page .countdown-display .title {
        margin-top: 10px;
        font-size: 16px;
    }
    
    .event-page .countdown-display {
        gap: 1px; /* Very minimal gap for small mobile */
        margin: 15px 0;
    }
    .event-page .time-number {
        font-size: 35px; /* Even smaller for very small screens */
        margin: 0 2px;
    }
    .event-page .time-unit:not(:last-of-type):after {
        font-size: 2.1em;
        right: -4px;
        top: 32%;
    }
    .event-page .time-label {
        font-size: 0.6em;
        margin-top: 2px;
        letter-spacing: 0.5px;
    }
}
.page-about-the-event .redbutton.submitvehicle{
    color: #fff !important;
}