
/* Simple experience counter */

.tic-meta-line,
.tic-counter {
    display: block;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 15px 0;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.tic-meta-line strong,
.tic-counter strong {
    color: #111111;
    font-weight: 700;
}

.tic-meta-icon {
    display: none;
}

/* Zero Experiences Counter */

.tic-counter {
  display: block;
  margin: 10px 0 14px;
  padding: 8px 0;
  border-top: 1px solid #e6eef2;
  border-bottom: 1px solid #e6eef2;
  background: transparent !important;
  color: #5f6f78;
  font-size: 15px;
  line-height: 1.4;
}

/* Dynamic Tic Log */

.dwd-tic-log {
  border: 1px solid #d9d9d9;
  background: #fff;
  margin: 20px 0;
}

.dwd-tic-log-title {
  padding: 16px;
  font-weight: 600;
  font-size: 15px;
  color: #222;
  border-bottom: 1px solid #d9d9d9;
}

.dwd-log-row {
  padding: 22px 16px;
  border-bottom: 1px solid #d9d9d9;
  line-height: 1.6;
  color: #444;
  font-size: 14px;
}

.dwd-log-row:nth-child(even) {
  background: #f7f8fa;
}

.dwd-log-row:nth-child(odd) {
  background: #ffffff;
}

.dwd-log-row:last-child {
  border-bottom: none;
}

.dwd-log-row strong {
  color: #5c6b84;
  font-weight: 600;
}

@media (max-width: 480px) {
  .tic-meta-line {
    font-size: 17px;
    padding: 14px 16px;
  }

  .tic-meta-icon {
    font-size: 20px;
    margin-right: 6px;
  }

  .tic-counter {
    font-size: 14px;
    padding: 6px 0;
  }

  .dwd-tic-log-title {
    padding: 14px;
    font-size: 15px;
  }

  .dwd-log-row {
    padding: 16px 14px;
    font-size: 14px;
  }
}

/* Site Reviews */

.glsr,
.glsr-form,
.glsr form,
.glsr-review-form,
.glsr-field,
.glsr-input,
.glsr-textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Tourette Environment Dropdown */

.dwd-environment-dropdown {
    display: block;
    width: 100%;
    padding: 17px 20px;
    background: #ffffff;
    color: #222222;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.dwd-environment-dropdown:focus {
    outline: 2px solid #888888;
    outline-offset: 2px;
}

/* Tourette Tic Type Dropdown */

.dwd-tic-type-dropdown {
    display: block;
    width: 100%;
    padding: 17px 20px;
    background: #ffffff;
    color: #222222;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.dwd-tic-type-dropdown:focus {
    outline: 2px solid #888888;
    outline-offset: 2px;
}

/* Tourette Body Region Dropdown */

.dwd-body-region-dropdown {
    display: block;
    width: 100%;
    padding: 17px 20px;
    background: #ffffff;
    color: #222222;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.dwd-body-region-dropdown:focus {
    outline: 2px solid #888888;
    outline-offset: 2px;
}


/* Automatic Tic Log Counter */

body .automatic-tic-counter {
    display: flex;
    align-items: baseline;
    gap: 5px;
    width: 100%;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
    color: #333333;
}

body .automatic-tic-counter .tic-counter-number {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    color: #333333 !important;
}

body .automatic-tic-counter .tic-counter-description {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
}

body .automatic-tic-counter a {
    color: inherit;
    text-decoration: none;
}

body .automatic-tic-counter a:hover {
    text-decoration: underline;
}

/* Site Reviews Difficulty Rating */

body .glsr .glsr-summary-rating,
body .glsr .glsr-summary-rating .glsr-tag-value {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
}

/* Mobile and Tablet */

@media screen and (max-width: 1024px) {

    body .automatic-tic-counter .tic-counter-number,
    body .glsr .glsr-summary-rating,
    body .glsr .glsr-summary-rating .glsr-tag-value {
        font-size: 16px !important;
        font-weight: 700 !important;
    }
}


.dwd-homepage-totals {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
}

.dwd-homepage-totals a {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dwd-homepage-totals strong {
    color: #ffffff;
    font-weight: 700;
}

.dwd-homepage-totals a:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .dwd-homepage-totals {
        font-size: 14px;
        padding: 0 12px;
    }
}

/* Blog template - force all counter text black */

body .dwd-blog-totals,
body .dwd-blog-totals *,
body .dwd-blog-totals *::before,
body .dwd-blog-totals *::after {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Bold numbers */
body .dwd-blog-totals strong,
body .dwd-blog-totals b {
    font-weight: 700 !important;
}

/* Underlined clickable links */
body .dwd-blog-totals a {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Compact community cards inside the banner */
.dwd-community {
    background: transparent;
    color: #fff;
    padding: 0;
    margin: 24px 0 0;
    font-family: inherit;
    text-align: left;
}

.dwd-community .dwd-community__heading {
    margin: 0 0 18px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.dwd-community__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 520px;
    margin: 0;
}

.dwd-community .dwd-community__stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 106px;
    padding: 12px 14px 28px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    color: #000;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dwd-community .dwd-community__number {
    color: #000;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.dwd-community .dwd-community__label {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

/* Small arrows on the two linked cards */
.dwd-community a.dwd-community__stat::after {
    content: "\2192";
    position: absolute;
    right: 13px;
    bottom: 9px;
    color: #000;
    font-size: 24px;
    line-height: 1;
}

.dwd-community a.dwd-community__stat:hover {
    background: #f3f3f3;
}

.dwd-community a.dwd-community__stat:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

/* Mobile */
@media (max-width: 767px) {
    .dwd-community .dwd-community__heading {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .dwd-community__stats {
        gap: 8px;
    }

    .dwd-community .dwd-community__stat {
        min-height: 94px;
        padding: 11px 10px 25px;
        border-radius: 12px;
    }

    .dwd-community .dwd-community__number {
        font-size: 32px;
    }

    .dwd-community .dwd-community__label {
        font-size: 13px;
    }

    .dwd-community a.dwd-community__stat::after {
        font-size: 20px;
        right: 10px;
        bottom: 7px;
    }
}

/* Tic Log: clean app-style list */
.dwd-log-entry {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    color: #111;
    text-align: left;
}

.dwd-log-icon {
    flex: 0 0 44px;
    width: 44px;
    padding-top: 3px;
    color: #111;
}

.dwd-log-icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.dwd-log-details {
    flex: 1;
    min-width: 0;
}

.dwd-log-entry .dwd-log-title {
    margin: 0 0 7px;
    color: #111;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.dwd-log-entry .dwd-log-details p {
    margin: 0 0 4px;
    color: #444;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.dwd-log-entry .dwd-log-details .dwd-log-date {
    margin-top: 9px;
    margin-bottom: 0;
    color: #777;
    font-size: 13px;
}

@media (max-width: 767px) {
    .dwd-log-entry {
        gap: 16px;
        padding: 24px 0;
    }

    .dwd-log-icon {
        flex-basis: 36px;
        width: 36px;
    }

    .dwd-log-entry .dwd-log-title {
        font-size: 16px;
    }

    .dwd-log-entry .dwd-log-details p {
        font-size: 14px;
    }
}

/* Remove the table styling around Tic Log entries */
table:has(.dwd-log-entry),
table:has(.dwd-log-entry) tr,
table:has(.dwd-log-entry) th,
table:has(.dwd-log-entry) td {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

table:has(.dwd-log-entry) {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table:has(.dwd-log-entry) td {
    padding: 0 !important;
}

/* Keep one thin divider between entries */
.dwd-log-entry {
    margin: 0;
    padding: 24px 8px;
    border-bottom: 1px solid #e5e5e5;
}
<details class="dwd-log-form">
    <summary>Share your tic experience</summary>
    <div class="dwd-log-form-content">
        [formidable id="6"]
    </div>
</details>

/* Blue location markers */
.dwd-log-entry .dwd-log-icon {
    color: #2878B8 !important;
}

.dwd-log-entry .dwd-log-icon svg path,
.dwd-log-entry .dwd-log-icon svg circle {
    stroke: #2878B8 !important;
}

/* Hide the navigation outside mobile */
.dwd-mobile-nav {
    display: none !important;
}

@media (max-width: 767px) {
    .dwd-mobile-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        z-index: 999;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-evenly;
        gap: 0;
        margin: 0;
        padding: 10px 6px
                 calc(10px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
    }

    /* Leave room below the footer for the fixed bar */
    body {
        padding-bottom: calc(
            85px + env(safe-area-inset-bottom, 0px)
        );
    }

    .dwd-mobile-nav .elementor-widget-icon-box {
        flex: 1 1 0;
        min-width: 0;
        margin: 0;
    }

    .dwd-mobile-nav .elementor-icon-box-title {
        margin: 5px 0 0;
    }
}

/* Remove the heading and space above homepage stats */
.home .dwd-community .dwd-community__heading {
    display: none;
}

.home .dwd-community {
    margin-top: 0;
    padding-top: 0;
}


/* DWD modern environment table */

.dwd-environment-table table {
    width: 100%;
    border: 1px solid #eeeeee !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(0,0,0,0.035);
}

.dwd-environment-table th {
    background: #ffffff !important;
    color: #222222;
    font-size: 14px;
    font-weight: 600;
    padding: 16px !important;
    border: none !important;
    border-bottom: 1px solid #eeeeee !important;
    text-align: left;
}

.dwd-environment-table td {
    background: #ffffff !important;
    color: #222222;
    font-size: 14px;
    padding: 14px 16px !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle;
}

.dwd-environment-table tr:last-child td {
    border-bottom: none !important;
}

.dwd-environment-table td:last-child {
    text-align: right;
    font-weight: 700;
    width: 90px;
}

/* Icons beside environments */

.dwd-environment-table tbody td:first-child::before {
    content: "📍";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 12px;
    border-radius: 9px;
    background: #f5f5f5;
    font-size: 16px;
    vertical-align: middle;
}

/* Mobile adjustments */

@media (max-width: 767px) {
    .dwd-environment-table th,
    .dwd-environment-table td {
        font-size: 13px;
        padding: 11px 9px !important;
    }

    .dwd-environment-table tbody td:first-child::before {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .dwd-environment-table td:last-child {
        width: 65px;
    }
}


/* Tourette environment cards */

.dwd-environment-cards {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 16px;
    overflow: hidden;
}

.dwd-environment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 15px;
    text-decoration: none !important;
    border-bottom: 1px solid #eeeeee;
    transition: background 0.2s ease;
}

.dwd-environment-card:last-child {
    border-bottom: none;
}

.dwd-environment-card:hover {
    background: #f7f7f7;
}

.dwd-environment-image {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    background: #f2f2f2;
    border-radius: 10px;
    overflow: hidden;
}

.dwd-environment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dwd-environment-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.dwd-environment-title {
    color: #171717;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.dwd-environment-count {
    color: #777;
    font-size: 13px;
}

.dwd-environment-arrow {
    color: #999;
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
}

@media (max-width: 767px) {
    .dwd-environment-card {
        gap: 11px;
        padding: 10px 12px;
    }

    .dwd-environment-image {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .dwd-environment-title {
        font-size: 14px;
    }

    .dwd-environment-count {
        font-size: 12px;
    }
}



/* Compact combined homepage log - all devices */

.dwd-combined-log .dwd-combined-entry {
    gap: 11px;
    padding: 12px 4px 14px;
}

.dwd-combined-log .dwd-combined-pin {
    flex: 0 0 23px;
    padding-top: 2px;
}

.dwd-combined-log .dwd-combined-pin svg {
    width: 23px;
    height: 23px;
}

.dwd-combined-log .dwd-combined-label {
    font-size: 10px;
    padding: 2px 7px;
    margin-bottom: 5px;
}

.dwd-combined-log .dwd-combined-title {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 5px;
}

.dwd-combined-log .dwd-combined-detail {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
}

.dwd-combined-log .dwd-combined-date {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 7px;
}

/* Mobile - slightly tighter */

@media (max-width: 767px) {
    .dwd-combined-log .dwd-combined-entry {
        gap: 10px;
        padding: 10px 2px 12px;
    }
}

/* Compact combined homepage log - all devices */

.dwd-combined-log .dwd-combined-entry {
    gap: 11px;
    padding: 12px 4px 14px;
}

.dwd-combined-log .dwd-combined-pin {
    flex: 0 0 23px;
    padding-top: 2px;
}

.dwd-combined-log .dwd-combined-pin svg {
    width: 23px;
    height: 23px;
}

.dwd-combined-log .dwd-combined-label {
    font-size: 10px;
    padding: 2px 7px;
    margin-bottom: 5px;
}

.dwd-combined-log .dwd-combined-title {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 5px;
}

.dwd-combined-log .dwd-combined-detail {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
}

.dwd-combined-log .dwd-combined-date {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 7px;
}

/* Mobile - slightly tighter */

@media (max-width: 767px) {
    .dwd-combined-log .dwd-combined-entry {
        gap: 10px;
        padding: 10px 2px 12px;
    }
}

/* Alatsi font for combined homepage log */

.dwd-combined-log,
.dwd-combined-log .dwd-combined-title,
.dwd-combined-log .dwd-combined-detail,
.dwd-combined-log .dwd-combined-date,
.dwd-combined-log .dwd-combined-label {
    font-family: 'Alatsi', sans-serif !important;
}

/* Slightly larger Alatsi font - all devices */

.dwd-combined-log .dwd-combined-title {
    font-size: 17px;
}

.dwd-combined-log .dwd-combined-detail {
    font-size: 15px;
}

.dwd-combined-log .dwd-combined-date {
    font-size: 13px;
}

.dwd-combined-log .dwd-combined-label {
    font-size: 11px;
}

/* Bold labels in combined log */

.dwd-combined-log .dwd-combined-detail {
    font-weight: 400;
}

.dwd-combined-log .dwd-combined-detail strong {
    font-weight: 700;
}

/* Combined log - Alatsi headings, Poppins body */

.dwd-combined-log .dwd-combined-title {
    font-family: 'Alatsi', sans-serif !important;
    font-size: 17px;
    font-weight: 700;
}

/* Supporting information and dates */

.dwd-combined-log .dwd-combined-detail,
.dwd-combined-log .dwd-combined-date {
    font-family: 'Poppins', sans-serif !important;
}

.dwd-combined-log .dwd-combined-detail {
    font-size: 14px;
    font-weight: 400;
}

.dwd-combined-log .dwd-combined-date {
    font-size: 12px;
    font-weight: 400;
}

/* Keep coloured labels in Alatsi */

.dwd-combined-log .dwd-combined-label {
    font-family: 'Alatsi', sans-serif !important;
}

/* Combined log typography */

.dwd-combined-log .dwd-combined-title {
    font-family: 'Alatsi', sans-serif !important;
    font-size: 17px;
    font-weight: 700;
}

.dwd-combined-log .dwd-combined-detail {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    font-weight: 400 !important;
}

.dwd-combined-log .dwd-combined-detail strong {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

.dwd-combined-log .dwd-combined-date {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px;
    font-weight: 400;
}

/* Combined log - black and white labels */

/* Hide location marker */
.dwd-combined-log .dwd-combined-pin {
    display: none !important;
}

/* Same font and size as tic headings */
.dwd-combined-log .dwd-combined-label {
    font-family: 'Alatsi', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    padding: 5px 12px;
    margin-bottom: 8px;
    border-radius: 7px;
    border: 1px solid #000;
}

/* Tourette - black background, white text */
.dwd-combined-log .dwd-tourette .dwd-combined-label {
    background: #000 !important;
    color: #fff !important;
}

/* OCD - white background, black text */
.dwd-combined-log .dwd-ocd .dwd-combined-label {
    background: #fff !important;
    color: #000 !important;
}

/* Remove space left by icon */
.dwd-combined-log .dwd-combined-entry {
    gap: 0;
}

/* All homepage counter cards - white with black borders */

.home .dwd-community .dwd-community__stat,
.home .dwd-community .dwd-community__stat:nth-child(1),
.home .dwd-community .dwd-community__stat:nth-child(2),
.home .dwd-community .dwd-community__stat:nth-child(3) {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Black numbers and labels */

.home .dwd-community .dwd-community__number,
.home .dwd-community .dwd-community__label {
    color: #000000 !important;
    font-family: 'Alatsi', sans-serif !important;
}

/* Black arrows */

.home .dwd-community a.dwd-community__stat::after {
    color: #000000 !important;
}

/* Individual Tic Log - match homepage design */

/* Compact entries */
.dwd-log-entry {
    gap: 0 !important;
    padding: 12px 4px 14px !important;
    border-bottom: 1px solid #e5e5e5;
}

/* Remove blue location marker */
.dwd-log-entry .dwd-log-icon {
    display: none !important;
}

/* Alatsi heading */
.dwd-log-entry .dwd-log-title {
    font-family: 'Alatsi', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    margin-bottom: 5px;
}

/* Poppins supporting text */
.dwd-log-entry .dwd-log-details p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2px;
}

/* Bold answers */
.dwd-log-entry .dwd-log-details p strong {
    font-weight: 700 !important;
}

/* Date */
.dwd-log-entry .dwd-log-details .dwd-log-date {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400;
    margin-top: 7px;
    color: #888;
}

/* DWD Environment Cards - Typography */

/* Article titles */
.dwd-environment-cards .dwd-environment-title {
    font-family: 'Alatsi', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: #111111 !important;
}

/* Experience counts */
.dwd-environment-cards .dwd-environment-count {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #777777 !important;
}

/* Prevent links from changing text styling */
.dwd-environment-cards .dwd-environment-card:hover
.dwd-environment-title {
    color: #111111 !important;
}


/* DWD horizontal swipe navigation */

.dwd-scroll-menu .elementor-nav-menu--main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.dwd-scroll-menu .elementor-nav-menu--main::-webkit-scrollbar {
    display: none;
}

.dwd-scroll-menu .elementor-nav-menu--main > ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

.dwd-scroll-menu .elementor-nav-menu--main > ul > li {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.dwd-scroll-menu .elementor-nav-menu--main .elementor-item {
    white-space: nowrap !important;
    font-family: 'Alatsi', sans-serif !important;
    font-size: 16px !important;
    padding: 12px 14px !important;
}

/* Active page underline */

.dwd-scroll-menu .elementor-item-active {
    border-bottom: 3px solid #111 !important;
}

/* Remove unwanted horizontal menu lines */

.dwd-scroll-menu .elementor-nav-menu--main,
.dwd-scroll-menu .elementor-nav-menu--main > ul,
.dwd-scroll-menu .elementor-nav-menu--main .elementor-item {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Remove Elementor's animated underline */

.dwd-scroll-menu .elementor-item::after,
.dwd-scroll-menu .elementor-item::before {
    display: none !important;
}

/* Fix vertical menu dividers */

.dwd-scroll-menu .elementor-nav-menu--main > ul > li {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    border: none !important;
}

/* Remove existing divider styling */
.dwd-scroll-menu .elementor-nav-menu--main > ul > li::before,
.dwd-scroll-menu .elementor-nav-menu--main > ul > li::after {
    content: none !important;
    display: none !important;
}

/* Add properly positioned vertical dividers */
.dwd-scroll-menu .elementor-nav-menu--main > ul > li:not(:last-child) {
    border-right: 1px solid #d9d9d9 !important;
}

/* Keep text and dividers on the same row */
.dwd-scroll-menu .elementor-nav-menu--main .elementor-item {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    border: none !important;
    margin: 0 !important;
}
