/* =========================================================
   ALL AUTO ADS
   AUTOMOTIVE EVENTS — PREMIUM REDESIGN
========================================================= */

.aaa-events-page {
    --aaa-blue: #2F6FA3;
    --aaa-blue-light: #3d91c8;
    --aaa-blue-dark: #24577f;

    --aaa-black: #080a0d;
    --aaa-dark: #101419;
    --aaa-dark-2: #171d23;

    --aaa-text: #15191d;
    --aaa-muted: #737c84;
    --aaa-light: #f1f4f6;

    --aaa-border: #e0e5e9;

    width: 100%;
/*     padding-bottom: 90px; */

    background: #f1f4f6;
    color: var(--aaa-text);

    font-family: inherit;
	 padding: 0 0 90px 0 !important;
}


/* =========================================================
   RESET
========================================================= */

.aaa-events-page *,
.aaa-events-page *::before,
.aaa-events-page *::after {
    box-sizing: border-box;
}

.aaa-events-page a {
    text-decoration: none !important;
}

.aaa-events-page img {
    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.aaa-events-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-color: #101419;

    background-size: cover;
    background-position: center center;

    color: #fff;
}


/* Dark overlay */

.aaa-events-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 11, .93) 0%,
            rgba(5, 8, 11, .72) 43%,
            rgba(5, 8, 11, .38) 72%,
            rgba(5, 8, 11, .60) 100%
        );
}


/* If no image */

.aaa-events-hero.no-hero-image {
    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(47,111,163,.35),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #080a0d,
            #17222b
        );
}


/* Decorative circles */

.aaa-events-hero::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -230px;
    top: -80px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    box-shadow:
        0 0 0 65px rgba(47,111,163,.045),
        0 0 0 130px rgba(47,111,163,.025);
}


/* Decorative blue line */

.aaa-events-hero::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            var(--aaa-blue) 25%,
            var(--aaa-blue-light) 65%,
            transparent 100%
        );

    z-index: 6;
}


/* =========================================================
   HERO INNER
========================================================= */

.aaa-events-hero-inner {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 90px 25px 105px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 55px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.aaa-events-hero-content {
    max-width: 680px;
}


/* Eyebrow */

.aaa-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 19px;

    color: #82b9dc;

    font-size: 11px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.aaa-eyebrow::before {
    content: "";

    width: 34px;
    height: 2px;

    background: var(--aaa-blue-light);
}


/* Heading */

.aaa-events-hero h1 {
    margin: 0 !important;

    padding: 0;

    color: #fff !important;

    font-size: clamp(48px, 6vw, 78px);

    line-height: .92;

    font-weight: 900;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.aaa-events-hero h1 span {
    display: block;

    margin-top: 5px;

    color: var(--aaa-blue-light) !important;
}


/* Paragraph */

.aaa-events-hero p {
    max-width: 590px;

    margin: 26px 0 30px;

    color: #c1c9cf;

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.aaa-hero-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;
}


/* Primary button */

.aaa-events-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 52px;

    padding: 0 23px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 6px;

    background: var(--aaa-blue) !important;

    color: #fff !important;

    font-size: 13px;

    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(47,111,163,.30);

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.aaa-events-button:hover {
    background: #fff !important;

    color: var(--aaa-black) !important;

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);
}

.aaa-events-button span {
    font-size: 20px;

    line-height: 1;
}


/* Secondary */

.aaa-hero-secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 21px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 6px;

    background: rgba(255,255,255,.05);

    color: #fff !important;

    font-size: 13px;

    font-weight: 800;

    backdrop-filter: blur(5px);

    transition: .25s ease;
}

.aaa-hero-secondary-button:hover {
    background: #fff;

    border-color: #fff;

    color: #111 !important;
}

.aaa-hero-secondary-button span {
    font-size: 17px;
}


/* =========================================================
   FEATURED EVENT BOX
========================================================= */

.aaa-hero-featured {
    position: relative;

    width: 345px;

    flex-shrink: 0;

    padding: 27px;

    background:
        linear-gradient(
            145deg,
            rgba(15,20,25,.90),
            rgba(8,11,14,.78)
        );

    border: 1px solid rgba(255,255,255,.16);

    border-radius: 5px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.35);

    backdrop-filter: blur(12px);

    overflow: hidden;
}


/* blue side */

.aaa-hero-featured::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--aaa-blue-light);
}


/* label */

.aaa-featured-label {
    margin-bottom: 15px;

    color: #8db7d2;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}


/* category */

.aaa-featured-category {
    display: inline-block;

    margin-bottom: 12px;

    padding: 6px 9px;

    background: var(--aaa-blue);

    color: #fff;

    font-size: 9px;

    line-height: 1;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .6px;
}


/* title */

.aaa-hero-featured h2 {
    margin: 0 0 18px !important;

    padding: 0;

    color: #fff !important;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 800;
}


/* meta */

.aaa-featured-meta {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding-top: 12px;

    margin-top: 11px;

    border-top: 1px solid rgba(255,255,255,.10);

    color: #bac3ca;

    font-size: 11px;

    line-height: 1.55;
}

.aaa-meta-icon {
    flex-shrink: 0;

    color: #64a8d5;

    font-size: 13px;
}

.aaa-featured-meta small {
    color: #929ca4;

    font-size: 10px;
}


/* featured link */

.aaa-featured-link {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid rgba(255,255,255,.10);

    color: #fff !important;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.aaa-featured-link span {
    color: var(--aaa-blue-light);

    font-size: 19px;

    transition: transform .2s ease;
}

.aaa-featured-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   FLOATING SEARCH PANEL
========================================================= */

.aaa-events-filters {
    position: relative;

    z-index: 30;

    width: calc(100% - 40px);

    max-width: 1120px;

    margin: -48px auto 0;

    padding: 13px;

    display: flex;

    background: #fff;

    border: 1px solid #e1e5e9;

    border-radius: 5px;

    box-shadow:
        0 20px 50px rgba(10,16,21,.16);
}


/* =========================================================
   FILTER BRAND
========================================================= */

.aaa-filter-brand {
    width: 125px;

    flex-shrink: 0;

    padding: 10px 15px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-right: 1px solid #e7eaed;
}

.aaa-filter-small {
    color: var(--aaa-blue);

    font-size: 9px;

    line-height: 1.3;

    font-weight: 900;

    letter-spacing: .5px;
}

.aaa-filter-brand strong {
    margin-top: 2px;

    color: #242b31;

    font-size: 21px;

    line-height: 1;

    font-weight: 900;
}


/* =========================================================
   SEARCH FORM
========================================================= */

.aaa-events-search-form {
    flex: 1;

    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        205px
        135px
        70px;

    align-items: end;

    gap: 9px;

    padding-left: 13px;
}


/* labels */

.aaa-search-box label,
.aaa-category-select label {
    display: block;

    margin-bottom: 5px;

    color: #7b838a;

    font-size: 9px;

    line-height: 1;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .4px;
}


/* =========================================================
   SEARCH INPUT
========================================================= */

.aaa-input-wrap {
    position: relative;
}

.aaa-search-box input {
    width: 100%;

    height: 45px;

    margin: 0;

    padding:
        0
        12px
        0
        40px;

    border: 1px solid #dfe4e8;

    border-radius: 3px;

    background: #f8f9fa;

    color: #252a2f;

    font-family: inherit;

    font-size: 12px;

    outline: none;

    transition: .2s ease;
}

.aaa-search-box input::placeholder {
    color: #9aa1a7;
}

.aaa-search-box input:hover {
    background: #fff;
}

.aaa-search-box input:focus {
    background: #fff;

    border-color: var(--aaa-blue);

    box-shadow:
        0 0 0 3px rgba(47,111,163,.09);
}


/* icon */

.aaa-search-icon {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--aaa-blue);

    font-size: 13px;

    pointer-events: none;
}


/* =========================================================
   CATEGORY SELECT
========================================================= */

.aaa-category-select select {
    width: 100%;

    height: 45px;

    margin: 0;

    padding: 0 10px;

    border: 1px solid #dfe4e8;

    border-radius: 3px;

    background: #f8f9fa;

    color: #3d444a;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    outline: none;

    cursor: pointer;
}

.aaa-category-select select:focus {
    border-color: var(--aaa-blue);

    background: #fff;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.aaa-search-button {
    height: 45px;
    padding: 0 20px;

    border: 0;
    border-radius: 8px;

    background: var(--aaa-blue);
    color: #fff;

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: .2s ease;
}

.aaa-search-button:hover {
    background: var(--aaa-blue-dark);

    transform: translateY(-1px);
}


/* =========================================================
   CLEAR
========================================================= */

.aaa-clear-button {
    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #dfe4e8;

    border-radius: 3px;

    background: #fff;

    color: #707980 !important;

    font-size: 10px;

    font-weight: 800;

    transition: .2s ease;
}

.aaa-clear-button:hover {
    border-color: var(--aaa-blue);

    color: var(--aaa-blue) !important;
}


/* =========================================================
   CATEGORY / SERVICES SECTION
========================================================= */

.aaa-event-services {
    width: calc(100% - 40px);

    max-width: 1120px;

    margin: 68px auto 0;
}


/* heading */

.aaa-services-heading {
    margin-bottom: 27px;

    text-align: center;
}

.aaa-services-eyebrow {
    display: inline-block;

    color: #737c83;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.8px;
}

.aaa-services-eyebrow::after {
    content: "";

    display: block;

    width: 43px;
    height: 2px;

    margin: 9px auto 10px;

    background: #cbd72b;
}

.aaa-services-heading h2 {
    margin: 0 !important;

    color: #5d6870;

    font-size: 27px;

    line-height: 1.25;

    font-weight: 600;
}

.aaa-services-heading p {
    max-width: 600px;

    margin: 8px auto 0;

    color: #8a939a;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   CATEGORY BOXES
========================================================= */

.aaa-services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* card */

.aaa-service-card {
    position: relative;

    min-height: 155px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 20px 15px;

    background: #fff;

    border: 1px solid #dfe4e7;

    color: #333 !important;

    text-align: center;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* bottom blue strip */

.aaa-service-card::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 0;

    background: var(--aaa-blue);

    transition: height .25s ease;
}

.aaa-service-card:hover::after,
.aaa-service-card.active::after {
    height: 4px;
}

.aaa-service-card:hover,
.aaa-service-card.active {
    border-color: #35a4ee;

    box-shadow:
        0 12px 28px rgba(0,0,0,.08);

    transform: translateY(-3px);
}


/* =========================================================
   CATEGORY ICON
========================================================= */

.aaa-service-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border: 1px solid #39a7ef;

    border-radius: 50%;

    background: #fff;

    font-size: 21px;

    transition:
        background .25s ease,
        transform .25s ease;
}

.aaa-service-card:hover
.aaa-service-icon,
.aaa-service-card.active
.aaa-service-icon {
    background: #eef8ff;

    transform: translateY(-2px);
}


/* info */

.aaa-service-info {
    position: relative;

    z-index: 2;
}

.aaa-service-info h3 {
    margin: 0 0 6px !important;

    color: #333a40;

    font-size: 12px;

    line-height: 1.35;

    font-weight: 800;
}

.aaa-service-info span {
    color: #92999f;

    font-size: 10px;

    font-weight: 600;
}


/* arrow */

.aaa-service-arrow {
    position: absolute;

    right: 10px;
    bottom: 8px;

    color: #9aa1a6;

    font-size: 14px;

    z-index: 3;

    transition: .2s ease;
}

.aaa-service-card:hover
.aaa-service-arrow,
.aaa-service-card.active
.aaa-service-arrow {
    color: var(--aaa-blue);

    transform: translateX(3px);
}


/* =========================================================
   EVENTS CONTENT
========================================================= */

.aaa-events-content {
    width: calc(100% - 40px);

    max-width: 1120px;

    margin: 72px auto 0;
}


/* =========================================================
   EVENTS HEADING
========================================================= */

.aaa-events-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}

.aaa-section-label {
    display: block;

    margin-bottom: 8px;

    color: var(--aaa-blue);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.aaa-events-heading h2 {
    margin: 0 !important;

    color: #424b52;

    font-size: 31px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.6px;
}


/* =========================================================
   COUNT
========================================================= */

.aaa-events-count {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 9px 15px;

    background: #fff;

    border: 1px solid #dfe4e7;

    border-radius: 30px;

    color: #30363b;

    font-size: 12px;

    font-weight: 900;

    white-space: nowrap;
}

.aaa-events-count span {
    color: #8b949b;

    font-weight: 600;
}


/* =========================================================
   EVENTS GRID
========================================================= */

.aaa-events-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   EVENT CARD
========================================================= */

.aaa-event-card {
    position: relative;

    overflow: hidden;

    background: #fff;

    border: 1px solid #dfe4e7;

    border-radius: 5px;

    box-shadow:
        0 5px 20px rgba(12,20,27,.055);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.aaa-event-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(47,111,163,.35);

    box-shadow:
        0 18px 38px rgba(12,20,27,.12);
}


/* =========================================================
   EVENT IMAGE
========================================================= */

.aaa-event-image {
    position: relative;

    display: block;

    width: 100%;
    height: 225px;

    overflow: hidden;

    background: #10161b;
}

.aaa-event-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.02),
            rgba(0,0,0,.42)
        );

    pointer-events: none;
}

.aaa-event-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .55s cubic-bezier(.2,.7,.2,1);
}

.aaa-event-card:hover
.aaa-event-image img {
    transform: scale(1.06);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.aaa-event-placeholder {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(47,111,163,.28),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #0b1014,
            #202a32
        );

    color: #fff;
}

.aaa-event-placeholder::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    border: 1px solid rgba(255,255,255,.09);

    border-radius: 50%;
}

.aaa-placeholder-icon {
    position: relative;

    margin-bottom: 10px;

    font-size: 42px;
}

.aaa-event-placeholder span {
    position: relative;

    color: #70acd4;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2.5px;
}


/* =========================================================
   DATE BADGE
========================================================= */

.aaa-date-badge {
    position: absolute;

    z-index: 5;

    left: 15px;
    top: 15px;

    width: 61px;
    height: 67px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.97);

    border-radius: 4px;

    box-shadow:
        0 8px 22px rgba(0,0,0,.22);
}

.aaa-date-badge strong {
    color: #11161a;

    font-size: 23px;

    line-height: 1;

    font-weight: 900;
}

.aaa-date-badge span {
    margin-top: 5px;

    color: var(--aaa-blue);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.aaa-event-card-content {
    padding: 20px;
}


/* category */

.aaa-event-category {
    display: inline-flex;

    align-items: center;

    min-height: 26px;

    padding: 0 9px;

    border-radius: 3px;

    background: rgba(47,111,163,.10);

    color: var(--aaa-blue) !important;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .7px;

    text-transform: uppercase;

    transition: .2s ease;
}

.aaa-event-category:hover {
    background: var(--aaa-blue);

    color: #fff !important;
}


/* date */

.aaa-event-date {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 3px;

    margin-top: 12px;

    color: #727b82;

    font-size: 11px;

    font-weight: 800;
}

.aaa-event-date span {
    color: #9ba2a8;
}


/* title */

.aaa-event-card h2 {
    margin: 8px 0 13px !important;

    font-size: 19px;

    line-height: 1.35;

    font-weight: 850;

    letter-spacing: -.25px;
}

.aaa-event-card h2 a {
    color: #22282d !important;

    transition: color .2s ease;
}

.aaa-event-card h2 a:hover {
    color: var(--aaa-blue) !important;
}


/* location */

.aaa-event-location {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    min-height: 40px;

    color: #717a82;

    font-size: 11px;

    line-height: 1.6;
}

.aaa-location-icon {
    flex-shrink: 0;

    margin-top: 1px;

    color: var(--aaa-blue);

    font-size: 14px;
}


/* =========================================================
   VIEW EVENT
========================================================= */

.aaa-event-view {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 17px;

    padding-top: 13px;

    border-top: 1px solid #edf0f2;

    color: #343b40 !important;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.aaa-event-view > span:last-child {
    width: 29px;
    height: 29px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf5fa;

    color: var(--aaa-blue);

    font-size: 17px;

    transition: .2s ease;
}

.aaa-event-view:hover {
    color: var(--aaa-blue) !important;
}

.aaa-event-view:hover > span:last-child {
    background: var(--aaa-blue);

    color: #fff;

    transform: translateX(4px);
}


/* =========================================================
   NO EVENTS
========================================================= */

.aaa-no-events {
    padding: 80px 25px;

    background: #fff;

    border: 1px solid var(--aaa-border);

    border-radius: 5px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(0,0,0,.04);
}

.aaa-no-events-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: rgba(47,111,163,.10);

    font-size: 28px;
}

.aaa-no-events h2 {
    margin: 0 0 9px !important;

    color: #22282d;

    font-size: 27px;

    font-weight: 900;
}

.aaa-no-events p {
    max-width: 500px;

    margin: 0 auto 25px;

    color: #7d858c;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1050px) {

    .aaa-events-hero-inner {
        padding-left: 35px;
        padding-right: 35px;
    }

    .aaa-hero-featured {
        width: 310px;
    }

    .aaa-events-search-form {
        grid-template-columns:
            minmax(220px, 1fr)
            185px
            120px
            65px;
    }

    .aaa-events-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .aaa-events-hero {
        min-height: auto;
    }

    .aaa-events-hero-inner {
        flex-direction: column;

        align-items: flex-start;

        padding-top: 75px;
        padding-bottom: 105px;

        gap: 35px;
    }

    .aaa-events-hero-content {
        max-width: 700px;
    }

    .aaa-hero-featured {
        width: 100%;
        max-width: 430px;
    }


    /* Search */

    .aaa-events-filters {
        display: block;

        padding: 13px;
    }

    .aaa-filter-brand {
        width: 100%;

        padding: 8px 5px 13px;

        border-right: 0;

        border-bottom: 1px solid #e7eaed;
    }

    .aaa-events-search-form {
        padding: 13px 0 0;

        grid-template-columns:
            1fr 1fr;
    }

    .aaa-search-box {
        grid-column: 1 / -1;
    }


    /* Categories */

    .aaa-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .aaa-events-page {
        padding-bottom: 60px;
    }


    /* Hero */

    .aaa-events-hero {
        min-height: auto;

        background-position: center center;
    }

    .aaa-events-hero.has-hero-image
    .aaa-events-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5,8,11,.88),
                rgba(5,8,11,.75)
            );
    }

    .aaa-events-hero-inner {
        padding:
            58px
            18px
            100px;

        gap: 30px;
    }

    .aaa-eyebrow {
        font-size: 9px;

        letter-spacing: 2px;
    }

    .aaa-events-hero h1 {
        font-size: 43px;

        letter-spacing: -1.8px;
    }

    .aaa-events-hero p {
        margin-top: 20px;

        font-size: 14px;

        line-height: 1.7;
    }


    /* Buttons */

    .aaa-hero-actions {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }

    .aaa-events-button,
    .aaa-hero-secondary-button {
        width: 100%;
    }


    /* Featured */

    .aaa-hero-featured {
        width: 100%;

        padding: 22px;
    }

    .aaa-hero-featured h2 {
        font-size: 20px;
    }


    /* Search */

    .aaa-events-filters {
        width: calc(100% - 20px);

        margin-top: -48px;

        padding: 11px;

        border-radius: 5px;
    }

    .aaa-filter-brand {
        padding-left: 7px;
    }

    .aaa-filter-brand strong {
        font-size: 18px;
    }

    .aaa-events-search-form {
        display: flex;

        flex-direction: column;

        gap: 8px;

        padding-top: 12px;
    }

    .aaa-search-box input,
    .aaa-category-select select,
    .aaa-search-button,
    .aaa-clear-button {
        width: 100%;

        height: 48px;
    }


    /* Services */

    .aaa-event-services {
        width: calc(100% - 20px);

        margin-top: 52px;
    }

    .aaa-services-heading h2 {
        font-size: 23px;
    }

    .aaa-services-heading p {
        font-size: 12px;
    }

    .aaa-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .aaa-service-card {
        min-height: 140px;

        padding: 15px 8px;
    }

    .aaa-service-icon {
        width: 46px;
        height: 46px;

        font-size: 19px;
    }

    .aaa-service-info h3 {
        font-size: 11px;
    }


    /* Events */

    .aaa-events-content {
        width: calc(100% - 20px);

        margin-top: 58px;
    }

    .aaa-events-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        margin-bottom: 24px;
    }

    .aaa-events-heading h2 {
        font-size: 27px;
    }

    .aaa-events-grid {
        grid-template-columns: 1fr;

        gap: 17px;
    }


    /* Cards */

    .aaa-event-image {
        height: 230px;
    }

    .aaa-event-card-content {
        padding: 19px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .aaa-events-hero-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .aaa-events-hero h1 {
        font-size: 37px;

        letter-spacing: -1.3px;
    }

    .aaa-events-filters {
        width: calc(100% - 14px);
    }

    .aaa-event-services,
    .aaa-events-content {
        width: calc(100% - 14px);
    }

    .aaa-services-grid {
        grid-template-columns: 1fr;
    }

    .aaa-event-image {
        height: 215px;
    }

}


/* =========================================================
   ASTRA OVERRIDE
   Prevent theme styles from breaking event design
========================================================= */

.aaa-events-page h1,
.aaa-events-page h2,
.aaa-events-page h3,
.aaa-events-page p {
    margin-block-start: 0;
}

.aaa-events-page button,
.aaa-events-page input,
.aaa-events-page select {
    box-shadow: none;
}

.aaa-events-page button:focus,
.aaa-events-page input:focus,
.aaa-events-page select:focus {
    outline: none;
}
.aaa-events-page .aaa-events-hero,
.aaa-events-page .aaa-events-filters,
.aaa-events-page .aaa-hero-featured,
.aaa-events-page .aaa-service-card,
.aaa-events-page .aaa-event-card,
.aaa-events-page .aaa-no-events,
.aaa-events-page input,
.aaa-events-page select,
.aaa-events-page button,
.aaa-events-page .aaa-events-button,
.aaa-events-page .aaa-hero-secondary-button {
    border-radius: 12px !important;
}

/* =========================================================
   END
========================================================= */