@import url("https://fonts.googleapis.com/css?family=Dhurjati:400&display=swap");

@font-face {
    font-family: "NTR";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/wp-content/uploads/codex-fonts/ntr/RLpzK5Xy0ZjSA2Jt1TA.woff2") format("woff2");
}

@font-face {
    font-family: "NTR";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/wp-content/uploads/codex-fonts/ntr/RLpzK5Xy0ZjSH2Jt.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

.tarak-engine-preview,
.tarak-engine-preview * {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.tarak-engine-preview {
    --mec-heading-font-family: "Dhurjati";
    --mec-title-color: #c1c1c1;
    --mec-title-color-hover: #c1c1c1;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    background: #9f8b61;
    color: #d7d7d7;
    font-family: "NTR", "Dhurjati", Arial, sans-serif;
    line-height: 1.2;
    overflow-x: hidden;
}

.tee-desktop-header {
    background: #111;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04);
    display: block;
    height: 80px;
    position: relative;
    width: 100%;
    z-index: 10;
}

.tee-desktop-header__inner {
    align-items: center;
    display: flex;
    height: 80px;
    padding: 0 20px;
    width: 100%;
}

.tee-desktop-header__logo {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    height: 80px;
}

.tee-desktop-header__logo img {
    display: block;
    height: 74px;
    max-width: 390px;
    object-fit: contain;
    width: auto;
}

.tee-desktop-header__nav {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.tee-desktop-header__nav a {
    align-items: center;
    background: linear-gradient(180deg, #232323 0%, #050505 100%);
    border: 1px solid #202020;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 6px rgba(0, 0, 0, .65);
    color: #fff;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    line-height: 1;
    min-width: 98px;
    padding: 0 16px;
    text-decoration: none;
    text-shadow: 0 1px 2px #000;
}

.tee-desktop-header__social {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-left: 8px;
}

.tee-desktop-header__social a {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 16px;
    height: 34px;
    line-height: 1;
    text-decoration: none;
}

.tee-desktop-header__facebook {
    background: #4b83d8;
    padding-right: 4px;
}

.tee-desktop-header__facebook span {
    align-items: center;
    background: #335bb0;
    display: inline-flex;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    margin-right: 8px;
    width: 41px;
}

.tee-desktop-header__youtube {
    background: #fb1c12;
    padding-right: 6px;
}

.tee-desktop-header__youtube span {
    align-items: center;
    background: #fb1c12;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin-right: 5px;
    width: 28px;
}

.tee-desktop-header__youtube span::before {
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fb1c12;
    border-top: 8px solid transparent;
    content: "";
    filter: drop-shadow(0 0 0 #fff);
    height: 0;
    position: relative;
    width: 0;
}

.tee-desktop-header__youtube span::after {
    background: #fff;
    border-radius: 4px;
    content: "";
    height: 16px;
    margin-left: -18px;
    width: 24px;
}

.codex-curated-history-intro {
    align-items: center;
    background: linear-gradient(180deg, #252525 0%, #070707 100%);
    border: 1px solid rgba(218, 180, 103, 0.58);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    color: #d9d0bf;
    display: flex;
    font-family: "NTR", "Roboto", Arial, sans-serif;
    gap: 14px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 8px auto 22px;
    max-width: 1040px;
    padding: 8px 18px 9px;
    text-align: center;
    width: min(94%, 1040px);
}

.codex-curated-history-intro__mark {
    color: #f0c979;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.codex-curated-history-intro__text {
    color: #d7d7d7;
    font-size: 17px;
    font-weight: 400;
}

html.codex-android-webview .codex-curated-history-intro {
    display: none !important;
}

.tee-google-play-badge {
    bottom: 34px;
    display: block;
    left: 50%;
    position: fixed;
    transform: translateX(-50%);
    z-index: 999;
}

.tee-google-play-badge img {
    display: block;
    height: auto;
    width: 225px;
}

html.codex-android-webview .tee-google-play-badge {
    display: none !important;
}

.tee-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    max-width: 100vw;
    background: #151515;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.tee-header__bar {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    min-height: 118px;
    padding: 14px 24px 12px;
    overflow: hidden;
}

.tee-header__menu {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: default;
}

.tee-header__menu span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 3px auto;
    background: #f2f2f2;
    border-radius: 2px;
}

.tee-header__logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.tee-header__logo img {
    display: block;
    width: min(420px, 48vw);
    height: auto;
}

.tee-header__icons {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
    margin-left: auto;
}

.tee-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
}

.tee-icon--ring {
    border: 4px solid #c6203a;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(198, 32, 58, .65);
}

.tee-icon--bulb {
    color: #ffd945;
    text-shadow: 0 0 8px rgba(255, 217, 69, .65);
}

.tee-icon--bulb::before {
    content: "";
    width: 28px;
    height: 34px;
    border-radius: 50% 50% 42% 42%;
    background: radial-gradient(circle at 50% 35%, #fff6a6 0 18%, #ffd944 42%, #bd8612 100%);
    box-shadow: 0 0 10px rgba(255, 210, 55, .75);
}

.tee-icon--translate {
    border-radius: 12px;
    background: #2d91e7;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
}

.tee-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: auto;
    padding: 0 24px 12px;
    scrollbar-width: none;
}

.tee-tabs::-webkit-scrollbar {
    display: none;
}

.tee-type-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: auto;
    padding: 0 24px 14px;
    scrollbar-width: none;
}

.tee-type-tabs::-webkit-scrollbar {
    display: none;
}

.tee-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 48px;
    padding: 0 18px;
    border: 1px solid #202020;
    border-radius: 8px;
    color: #f4f4f4;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 44%),
        linear-gradient(180deg, #2d2d2d, #050505);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -2px 0 rgba(0, 0, 0, .75),
        0 3px 7px rgba(0, 0, 0, .55);
    font-size: 26px;
    text-decoration: none;
    white-space: nowrap;
}

.tee-type-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #2c2c2c;
    border-radius: 7px;
    color: #dcdcdc;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #262626, #090909);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .15),
        0 2px 5px rgba(0, 0, 0, .45);
    font-size: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.tee-type-tab--active {
    border-color: rgba(159, 183, 69, .8);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 0 0 1px rgba(159, 183, 69, .16),
        0 2px 6px rgba(0, 0, 0, .5);
}

.tee-tab--active {
    border-color: rgba(240, 88, 96, .75);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        inset 0 -2px 0 rgba(0, 0, 0, .75),
        0 0 0 1px rgba(240, 88, 96, .22),
        0 3px 8px rgba(0, 0, 0, .58);
}

.tee-preview {
    width: min(100%, 1900px);
    margin: 0 auto;
    padding: 26px 8px 34px;
}

.tee-preview-meta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 24px;
    color: #222;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.tee-preview-meta strong {
    color: #111;
    font-size: 16px;
}

.tee-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 60px 14px;
    min-width: 0;
}

.tee-event-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #2e2e2e;
    border: 1px solid #202020;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
}

.tee-event-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 300 / 162;
    background: #a6a6a6;
    border: 4px ridge #4c4c4c;
}

.tee-event-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.tee-event-image__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #2c2c2c;
    background: #ababab;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.tee-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 98px;
    height: 98px;
    overflow: hidden;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    pointer-events: none;
}

.tee-ribbon::before {
    content: "";
    position: absolute;
    top: 16px;
    right: -33px;
    width: 128px;
    height: 30px;
    background: #343434;
    transform: rotate(45deg);
}

.tee-ribbon span {
    position: relative;
    z-index: 1;
    display: block;
    width: 96px;
    margin-top: 21px;
    margin-left: 21px;
    text-align: center;
    transform: rotate(45deg);
    transform-origin: center;
}

.tee-date-row {
    display: grid;
    grid-template-columns: minmax(122px, 1fr) 58px minmax(106px, 1fr);
    align-items: center;
    min-height: 34px;
    padding: 3px 8px;
    background: #252525;
    color: #b9b9b9;
    font-size: 17px;
}

.tee-date-row__date {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tee-date-row__country {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    min-height: 28px;
}

.tee-date-row__country img {
    display: block;
    max-width: 56px;
    max-height: 27px;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .55);
}

.tee-date-row__age {
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tee-type-observance .tee-date-row {
    display: none;
}

.tee-event-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 128px;
    padding: 10px 14px 8px;
    text-align: center;
}

.tee-honors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 9px;
    margin-bottom: 2px;
    color: #bdbdbd;
    font-size: 21px;
    font-weight: 700;
}

.tee-event-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0;
    color: #d1d1d1;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.18;
}

.tee-event-title a {
    min-width: 0;
    max-width: 100%;
    color: inherit;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.tee-event-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    margin-top: 1px;
    border-radius: 50%;
    background: #a3b745;
    vertical-align: middle;
}

.tee-body-country {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    min-height: 28px;
}

.tee-body-country img {
    display: block;
    max-width: 56px;
    max-height: 27px;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .55);
}

.tee-labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.tee-label {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 22px;
    padding: 2px 7px 1px;
    border-radius: 2px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    overflow-wrap: anywhere;
    white-space: normal;
}

.tee-event-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 72px;
    padding: 10px 14px 16px;
}

.tee-share-button,
.tee-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 1px solid #5b5b5b;
    border-radius: 2px;
    background: transparent;
    color: #bdbdbd;
    text-decoration: none;
}

.tee-share-button {
    width: 52px;
    flex: 0 0 52px;
    margin-right: auto;
    padding: 0;
}

.tee-share-button span {
    position: relative;
    width: 20px;
    height: 20px;
    background:
        radial-gradient(circle at 3px 10px, #aaa 0 3px, transparent 3.5px),
        radial-gradient(circle at 17px 3px, #aaa 0 3px, transparent 3.5px),
        radial-gradient(circle at 17px 17px, #aaa 0 3px, transparent 3.5px);
}

.tee-share-button span::before,
.tee-share-button span::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    height: 2px;
    background: #aaa;
    transform-origin: center;
}

.tee-share-button span::before {
    top: 7px;
    transform: rotate(-28deg);
}

.tee-share-button span::after {
    bottom: 7px;
    transform: rotate(28deg);
}

.tee-share-button {
    background: transparent;
}

.tee-action-button {
    flex: 0 1 124px;
    min-width: 112px;
    padding: 0 8px;
    font-size: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tee-empty {
    grid-column: 1 / -1;
    margin: 40px auto;
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 18px;
}

.tee-single-preview {
    padding-left: 7vw;
    padding-right: 7vw;
}

.tee-single-card {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    overflow: hidden;
    background: #2e2e2e;
    border: 1px solid #202020;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
}

.tee-single-image {
    aspect-ratio: 300 / 156;
}

.tee-single-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 28px 22px;
    text-align: center;
}

.tee-single-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    color: #d1d1d1;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.18;
}

.tee-single-title__text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.tee-single-content {
    width: min(100%, 1120px);
    margin: 18px auto 0;
    color: #cfcfcf;
    font-size: 28px;
    line-height: 1.55;
}

.tee-single-content p {
    margin: 0 0 14px;
}

.tee-single-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    min-height: 82px;
    padding: 10px 26px 16px;
}

.tee-single-footer .tee-share-button {
    flex-basis: 60px;
}

.tee-single-footer .tee-action-button {
    flex: 0 1 170px;
}

.tee-continue {
    margin: 42px auto 0;
    color: #0b0b0b;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1200px) {
    .tee-preview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .tee-header__bar {
        gap: 14px;
        min-height: 138px;
        padding: 18px 22px 12px;
    }

    .tee-header__logo img {
        width: min(300px, 48vw);
    }

    .tee-header__icons {
        gap: 18px;
    }

    .tee-icon {
        width: 48px;
        height: 48px;
    }

    .tee-tabs {
        gap: 10px;
        padding: 0 18px 10px;
    }

    .tee-type-tabs {
        gap: 8px;
        padding: 0 18px 10px;
    }

    .tee-tab {
        min-width: 122px;
        height: 46px;
        font-size: 25px;
    }

    .tee-type-tab {
        min-width: 96px;
        height: 34px;
        font-size: 19px;
    }

    .tee-preview {
        padding: 12px 20px 28px;
    }

    .tee-preview-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tee-preview-meta {
        display: none;
    }

    .tee-date-row {
        grid-template-columns: minmax(132px, 1fr) 62px minmax(118px, 1fr);
        font-size: 22px;
        min-height: 44px;
        padding: 4px 14px;
    }

    .tee-date-row__country {
        width: 76px;
    }

    .tee-date-row__country img {
        max-width: 58px;
        max-height: 29px;
    }

    .tee-event-body {
        min-height: 156px;
    }

    .tee-honors {
        font-size: 26px;
    }

    .tee-event-title {
        font-size: 31px;
    }

    .tee-event-footer {
        gap: 16px;
        min-height: 84px;
        padding: 10px 16px 18px;
    }

    .tee-action-button {
        height: 56px;
        font-size: 24px;
    }

    .tee-share-button {
        width: 62px;
        flex-basis: 62px;
        height: 56px;
    }

    .tee-single-preview {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tee-single-body {
        padding: 12px 20px 20px;
    }

    .tee-single-title {
        font-size: 33px;
    }

    .tee-single-content {
        font-size: 27px;
        line-height: 1.5;
    }

    .tee-single-footer {
        gap: 16px;
        padding: 10px 16px 18px;
    }
}

@media (max-width: 520px) {
    .tee-header__bar {
        min-height: 104px;
        gap: 5px;
        padding: 12px 8px 9px;
    }

    .tee-header__menu {
        width: 34px;
        height: 34px;
    }

    .tee-header__menu span {
        width: 25px;
        height: 3px;
    }

    .tee-header__logo img {
        width: min(190px, 42vw);
    }

    .tee-header__icons {
        gap: 4px;
        margin-left: 4px;
    }

    .tee-icon {
        width: 34px;
        height: 34px;
    }

    .tee-icon--translate {
        font-size: 26px;
        border-radius: 10px;
    }

    .tee-tabs {
        gap: 8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .tee-type-tabs {
        gap: 7px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .tee-tab {
        min-width: 104px;
        height: 44px;
        padding: 0 10px;
        font-size: 22px;
    }

    .tee-type-tab {
        min-width: 84px;
        height: 32px;
        padding: 0 9px;
        font-size: 17px;
    }

    .tee-preview {
        width: auto;
        max-width: none;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .tee-preview-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .tee-event-card {
        width: 100%;
        max-width: 100%;
    }

    .tee-date-row {
        grid-template-columns: minmax(98px, 1fr) 50px minmax(94px, 1fr);
        font-size: 16px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .tee-date-row__country {
        width: 58px;
    }

    .tee-date-row__country img {
        max-width: 48px;
        max-height: 24px;
    }

    .tee-event-title {
        font-size: 29px;
    }

    .tee-type-observance .tee-event-body {
        min-height: 112px;
        padding: 10px 8px 8px;
    }

    .tee-type-observance .tee-event-title {
        color: #d8c5a3;
        font-size: 24px;
        font-weight: 400;
        line-height: 1.3;
    }

    .tee-body-country {
        min-height: 24px;
        margin-top: 6px;
    }

    .tee-body-country img {
        max-width: 48px;
        max-height: 24px;
    }

    .tee-labels {
        max-width: 100%;
    }

    .tee-label {
        max-width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;
    }

    .tee-event-footer {
        gap: 10px;
        min-height: 56px;
        padding: 0 10px 9px;
    }

    .tee-action-button {
        flex: 0 1 auto;
        min-width: 104px;
        height: 40px;
        padding: 6px 10px;
        font-size: 19px;
        line-height: 1;
    }

    .tee-share-button {
        width: 40px;
        flex-basis: 40px;
        height: 40px;
    }

    .tee-single-preview {
        width: auto;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .tee-single-title {
        width: 100%;
        font-size: 27px;
    }

    .tee-single-title__text {
        max-width: calc(100% - 22px);
    }

    .tee-single-content {
        width: 100%;
        font-size: 22px;
        line-height: 1.45;
        overflow-wrap: break-word;
    }

    .tee-single-content * {
        max-width: 100%;
    }

    .tee-single-footer {
        gap: 10px;
        min-height: 56px;
        padding: 0 10px 9px;
    }

    .tee-single-footer .tee-share-button {
        width: 40px;
        flex-basis: 40px;
        height: 40px;
    }

    .tee-single-footer .tee-action-button {
        flex: 0 1 auto;
        min-width: 104px;
        height: 40px;
    }
}

/* Keep the custom grid visually aligned with the original MEC grid. */
.tarak-engine-preview {
    background: #97815a;
    font-family: "NTR", "Dhurjati", Arial, sans-serif;
}

.tee-preview {
    padding: 0 8px 34px;
}

.tee-preview-grid {
    gap: 20px 10px;
}

.tee-event-card {
    background: #323232;
    border: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .55);
}

.tee-event-image {
    aspect-ratio: 300 / 154;
    background: #323232;
    border: 0;
}

.tee-date-row {
    min-height: 34px;
    background: #262626;
    color: #979797;
    font-size: 12px;
}

.tee-event-body {
    min-height: 72px;
    padding: 0 5px 5px;
    color: #767676;
    letter-spacing: .0425em;
}

.tee-honors {
    margin: -1px 0 -3px;
    color: #bdbdbd;
    font-family: "Dhurjati", "NTR", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.tee-event-title {
    color: #d1d1d1;
    font-family: "NTR", "Dhurjati", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1.2px;
    line-height: 1.35;
}

.tee-type-observance .tee-event-title {
    color: #d8c5a3;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

.tee-event-dot {
    width: 10px;
    height: 10px;
}

.tee-body-country {
    min-height: 28px;
    margin-top: 3px;
}

.tee-body-country img,
.tee-date-row__country img {
    max-height: 22px;
    max-width: 90%;
}

.tee-labels {
    gap: 3px;
    margin-top: 5px;
}

.tee-label {
    min-height: 0;
    padding: 2px 3px 0;
    border-radius: 3px;
    font-size: 13px;
    line-height: 14px;
}

.tee-event-footer {
    min-height: 60px;
    padding: 3px;
    background: #323232;
}

.tee-share-button {
    width: 40px;
    flex-basis: 40px;
    height: 40px;
}

.tee-action-button {
    min-width: 104px;
    height: 40px;
    padding: 0 16px;
    font-size: 19px;
    line-height: 1;
}

@media (max-width: 767px) {
    .tee-preview {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tee-preview-grid {
        gap: 20px;
    }

    .tee-event-title,
    .tee-type-observance .tee-event-title {
        font-size: 17px;
        line-height: 1.35;
    }

    .tee-event-body {
        min-height: 72px;
    }

    .tee-date-row {
        font-size: 13px;
    }
}

/* MEC-clone grid mode: keep generated markup on the same visual contract as the original grid. */
.tee-preview-grid {
    display: block;
    width: 100%;
}

.tee-preview-grid .mec-event-grid-classic {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 0;
    margin-bottom: 0;
}

.tee-grid-col {
    min-width: 0;
    padding-left: 5px;
    padding-right: 5px;
    width: 25%;
}

.mec-event-grid-classic .tee-event-card {
    position: relative;
    max-width: none;
    margin-bottom: 0;
    background: #323232;
    border: 0 solid transparent;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .55);
}

.mec-event-grid-classic .tee-event-image {
    line-height: 0;
    aspect-ratio: auto;
    background: #323232;
    border: 0;
}

.mec-event-grid-classic .tee-event-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mec-event-grid-classic .tee-date-row.hide_timeliine {
    display: none !important;
}

.mec-event-grid-classic .tee-event-body {
    display: block;
    min-height: 50px;
    padding: 0 5px 5px;
    color: #767676;
    text-align: center;
    letter-spacing: .0425em;
}

.mec-event-grid-classic .tee-type-observance .tee-event-body {
    min-height: 104px;
}

.mec-event-grid-classic .tee-event-title {
    display: block;
    margin: 8px 0 0;
    color: #d1d1d1;
    font-family: "NTR", "Dhurjati", Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1.2px;
    line-height: 1.35;
    text-align: center;
}

.mec-event-grid-classic .tee-type-observance .tee-event-title,
.mec-event-grid-classic .tee-type-observance .tee-event-title a {
    color: #d8c5a3;
}

.mec-event-grid-classic .tee-event-title a {
    color: inherit;
    text-decoration: none;
}

.mec-event-grid-classic .tee-body-country {
    display: block;
    min-height: 28px;
    margin: 0;
    padding: 3px 0;
    line-height: 0;
}

.mec-event-grid-classic .tee-body-country img {
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 22px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.mec-event-grid-classic .tee-event-footer {
    position: relative;
    min-height: 60px;
    margin: 0;
    padding: 3px;
    background: #323232;
    border-top: 0 solid #efefef;
}

.mec-event-grid-classic .tee-action-button {
    height: 40px;
    padding: 0 16px;
}

@media (max-width: 1200px) {
    .tee-preview-grid .mec-event-grid-classic {
        display: flex;
    }

    .tee-grid-col {
        width: 33.333333%;
    }
}

@media (max-width: 860px) {
    .tee-preview-grid .mec-event-grid-classic {
        display: flex;
    }

    .tee-grid-col {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .tee-preview {
        padding-top: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .tee-preview-grid .mec-event-grid-classic {
        display: flex;
        gap: 0;
    }

    .tee-grid-col {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .mec-event-grid-classic .tee-event-title {
        font-size: 17px;
        line-height: 1.35;
    }

    .mec-event-grid-classic .tee-event-body {
        font-size: 17px;
        line-height: 1.45;
    }
}

#tarak-direct-language-bar {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
    left: 50% !important;
    max-width: calc(100vw - 32px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    right: auto !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    visibility: visible !important;
    width: auto !important;
    z-index: 99990 !important;
}

body.admin-bar #tarak-direct-language-bar,
body.logged-in #tarak-direct-language-bar {
    top: 32px !important;
}

iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-banner-frame {
    display: none !important;
    height: 0 !important;
    top: -9999px !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar #tarak-direct-language-bar,
    body.logged-in #tarak-direct-language-bar {
        top: 46px !important;
    }
}

#tarak-direct-language-select {
    background: #262626 !important;
    border: 1px solid #4a4a4a !important;
    border-radius: 2px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35) !important;
    color: #d8d8d8 !important;
    display: inline-block !important;
    font-size: 15px !important;
    height: 28px !important;
    line-height: 28px !important;
    min-width: 210px !important;
    opacity: 1 !important;
    padding: 0 30px !important;
    text-align: center !important;
    text-align-last: center !important;
    visibility: visible !important;
}

#tarak-direct-language-select option {
    text-align: left !important;
    text-align-last: left !important;
}

html body #tarak-direct-language-bar select#tarak-direct-language-select,
html body #tarak-direct-language-bar select#tarak-direct-language-select:focus,
html body #tarak-direct-language-bar select#tarak-direct-language-select:active,
html body #tarak-direct-language-bar select#tarak-direct-language-select:focus-visible {
    border-color: #4a4a4a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35) !important;
    outline: 0 !important;
    outline-offset: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
}

.tarak-engine-original-ui .tee-preview {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 43px !important;
    width: 100% !important;
}

.tarak-engine-original-ui .tee-mec-grid-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.tarak-engine-original-ui .tee-mec-grid-container .mec-wrap.colorskin-custom {
    width: 100% !important;
    max-width: 100% !important;
}

.tarak-engine-original-ui .tee-mec-grid-container .mec-event-grid-classic {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: left !important;
    width: 100% !important;
    max-width: 100% !important;
}

.tarak-engine-original-ui .tee-mec-grid-container .col-md-3.col-sm-3 {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title,
.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title a {
    display: grid !important;
    font-family: "NTR", var(--mec-heading-font-family, "Dhurjati"), Arial, sans-serif !important;
    font-weight: 400 !important;
    margin: 4px 0 !important;
    position: relative !important;
    text-transform: none !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event.codex-date-mode-fixed .mec-event-title,
.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event.codex-date-mode-fixed .mec-event-title a {
    color: #d8c5a3 !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-date-mode-advanced .mec-event-title,
.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-date-mode-advanced .mec-event-title a {
    color: #00a0d2 !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-date-mode-custom .mec-event-title,
.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-date-mode-custom .mec-event-title a {
    color: #a3b745 !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-image img {
    display: block !important;
    height: auto !important;
    width: 100% !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-image {
    padding-bottom: 7px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer {
    font-size: 15px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    position: relative !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event .mkdk.mec-event-content {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 16px !important;
    height: auto !important;
    line-height: 1.7 !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event .mkdk.mec-event-content .mec_grid_event_location {
    display: block !important;
    height: 42px !important;
    line-height: 0 !important;
    margin: 0 !important;
    min-height: 42px !important;
    padding: 15px 0 7px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event .mkdk.mec-event-content .mec_grid_event_location img {
    display: block !important;
    height: auto !important;
    margin: 0 auto !important;
    max-height: 20px !important;
    max-width: 56px !important;
    object-fit: contain !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event .mec-event-date.codex-nonhistorical-countdown {
    align-items: center !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 28px !important;
    opacity: 1 !important;
    padding: 3px 5px !important;
    position: relative !important;
    visibility: visible !important;
    width: 100% !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event .mec-event-date.codex-nonhistorical-countdown > div:first-child {
    display: none !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event .mec-event-date.codex-nonhistorical-countdown .event_date_cal {
    color: #bfc8d5 !important;
    display: block !important;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    max-width: 100% !important;
    opacity: 1 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mkdk.mec-event-content {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) {
    align-items: center !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    min-width: 100% !important;
    position: relative !important;
    width: 100% !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) > div {
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) > div:first-child {
    grid-column: 1 !important;
    justify-self: stretch !important;
    padding-right: 8px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec_grid_event_location {
    align-items: center !important;
    display: flex !important;
    grid-column: 2 !important;
    justify-content: center !important;
    justify-self: center !important;
    left: auto !important;
    line-height: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 44px !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    width: 44px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec_grid_event_location img {
    display: block !important;
    height: auto !important;
    max-height: 24px !important;
    max-width: 40px !important;
    object-fit: contain !important;
    width: auto !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec-start-date-label {
    justify-self: stretch !important;
    text-align: left !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .event_date_cal {
    display: block !important;
    grid-column: 3 !important;
    justify-self: stretch !important;
    margin-right: 0 !important;
    opacity: 1 !important;
    padding-left: 8px !important;
    padding-right: 0 !important;
    text-align: right !important;
    visibility: visible !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec-start-date-label,
.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .event_date_cal {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title a {
    display: block !important;
    line-height: inherit !important;
    margin: 0 !important;
    position: static !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    justify-content: center !important;
    row-gap: 3px !important;
    text-align: center !important;
    width: 100% !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title > a {
    display: inline !important;
    flex: 0 1 auto !important;
    max-width: calc(100% - 38px) !important;
    text-align: center !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title > .codex-title-color-spacer {
    display: inline-block !important;
    flex: 0 0 13px !important;
    height: 13px !important;
    margin: 0 6px 0 0 !important;
    visibility: hidden !important;
    width: 13px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title > .event-color {
    border-radius: 50% !important;
    display: inline-block !important;
    flex: 0 0 13px !important;
    height: 13px !important;
    margin: 0 0 0 6px !important;
    position: static !important;
    transform: none !important;
    vertical-align: middle !important;
    width: 13px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-title > .mec-labels-normal {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-title,
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-title a {
        font-family: ntr, "NTR", "Dhurjati", Arial, sans-serif !important;
        margin-bottom: 0 !important;
        margin-top: 8px !important;
    }
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer .mec-reference-button,
.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer .mec-booking-button {
    align-items: center !important;
    background: transparent !important;
    border: 1px solid #565656 !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    color: #bdbdbd !important;
    display: inline-flex !important;
    font-family: "NTR", "Dhurjati", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    height: 40px !important;
    justify-content: center !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    min-width: 82px !important;
    padding: 0 12px !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer .mec-event-share-icon {
    align-items: center !important;
    display: inline-flex !important;
    height: 40px !important;
    justify-content: center !important;
    width: 40px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 26.1px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-nonhistorical-event .mec-event-footer {
    margin-top: 7px !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer .mec-event-share-icon i {
    display: block !important;
    position: relative !important;
    width: 22px !important;
    height: 22px !important;
    opacity: 1 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer .mec-event-share-icon i::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at 4px 11px, #aaa 0 2.6px, transparent 3px),
        radial-gradient(circle at 18px 4px, #aaa 0 2.6px, transparent 3px),
        radial-gradient(circle at 18px 18px, #aaa 0 2.6px, transparent 3px) !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer .mec-event-share-icon i::after {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 7px !important;
    width: 13px !important;
    height: 8px !important;
    border-bottom: 2px solid #aaa !important;
    border-top: 2px solid #aaa !important;
    transform: skewY(-27deg) !important;
    transform-origin: center !important;
}

.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-reference-button,
.tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-booking-button {
    left: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: absolute !important;
    right: 27px !important;
    top: 3px !important;
    transform: none !important;
}

@media (min-width: 768px) {
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer .mec-event-sharing-wrap {
        left: 17px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        top: 3px !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-reference-button,
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-booking-button {
        min-width: 83px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        right: 18px !important;
        top: 2px !important;
        width: 83px !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-2 .mec-reference-button {
        left: 90px !important;
        min-width: 83px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: absolute !important;
        top: 2px !important;
        width: 83px !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-2 .mec-booking-button {
        min-width: 94px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: absolute !important;
        right: 18px !important;
        top: 2px !important;
        width: 94px !important;
    }
}

.tarak-engine-original-ui .tee-continue {
    color: #000 !important;
    font-family: Arial, sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 22px auto 0 !important;
    position: relative !important;
    text-align: center !important;
    top: -34px !important;
}

@media (max-width: 767px) {
    html,
    body.tarak-engine-preview {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .tarak-engine-original-ui .tee-preview {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 46px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .tarak-engine-original-ui .tee-mec-grid-container,
    .tarak-engine-original-ui .tee-mec-grid-container .mec-skin-grid-events-container,
    .tarak-engine-original-ui .tee-mec-grid-container .mec-wrap.colorskin-custom,
    .tarak-engine-original-ui .tee-mec-grid-container .mec-event-grid-classic {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .tarak-engine-original-ui .tee-mec-grid-container .mec-event-grid-classic {
        align-items: center !important;
        flex-direction: column !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .tarak-engine-original-ui .tee-mec-grid-container .col-md-3.col-sm-3 {
        box-sizing: border-box !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article,
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-image,
    .tarak-engine-original-ui .mec-event-grid-classic .mkdk.mec-event-content,
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer {
        font-size: 14px !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-image {
        overflow: hidden !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-image img {
        max-width: 100% !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) {
        align-items: center !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
        min-width: 100% !important;
        position: relative !important;
        width: 100% !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) > div {
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) > div:first-child {
        grid-column: 1 !important;
        justify-self: stretch !important;
        padding-right: 8px !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec_grid_event_location {
        align-items: center !important;
        display: flex !important;
        grid-column: 2 !important;
        justify-content: center !important;
        justify-self: center !important;
        left: auto !important;
        min-width: 44px !important;
        padding: 0 !important;
        position: static !important;
        top: auto !important;
        transform: none !important;
        width: 44px !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec_grid_event_location img {
        display: block !important;
        height: auto !important;
        max-height: 24px !important;
        max-width: 40px !important;
        object-fit: contain !important;
        width: auto !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec-start-date-label {
        justify-self: stretch !important;
        text-align: left !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .event_date_cal {
        display: block !important;
        grid-column: 3 !important;
        justify-self: stretch !important;
        margin-right: 0 !important;
        opacity: 1 !important;
        padding-left: 8px !important;
        padding-right: 0 !important;
        text-align: right !important;
        visibility: visible !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .mec-start-date-label,
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-article.codex-historical-event .mec-event-date:not(.hide_timeliine) .event_date_cal {
        display: block !important;
        font-family: "NTR", "Dhurjati", Arial, sans-serif !important;
        font-size: 16px !important;
        line-height: 1.2 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-title,
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-title a {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 20px !important;
        font-weight: 400 !important;
        line-height: 1.58 !important;
        margin: 2px 0 !important;
        text-transform: none !important;
    }

    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-reference-button,
    .tarak-engine-original-ui .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-booking-button {
        right: 17px !important;
    }

}

@media (max-width: 767px) {
    .tee-desktop-header {
        display: none;
    }

    .codex-curated-history-intro {
        border-radius: 8px;
        flex-direction: column;
        gap: 2px;
        margin: 7px auto 16px;
        padding: 7px 12px 8px;
        width: min(92%, 620px);
    }

    .codex-curated-history-intro__mark {
        font-size: 13px;
    }

    .codex-curated-history-intro__text {
        font-size: 15px;
    }

    .tee-google-play-badge {
        bottom: 26px;
    }

    .tee-google-play-badge img {
        width: 215px;
    }

    .wikipediapreview.mobile {
        height: auto !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        width: 100% !important;
    }

    .wikipediapreview.mobile .wikipediapreview-body {
        max-height: calc(100vh - 112px) !important;
        max-height: calc(100dvh - 112px) !important;
    }

    .wikipediapreview-body {
        height: auto !important;
        max-height: calc(100vh - 112px) !important;
        max-height: calc(100dvh - 112px) !important;
        min-height: 0 !important;
        overflow-y: auto !important;
    }

    .wikipediapreview-body p {
        color: #bdbdbd !important;
        font-family: inherit !important;
        font-size: 21px !important;
        font-weight: 400 !important;
        line-height: 1.58 !important;
        margin: 0 !important;
        padding: 5px 10px !important;
        text-align: justify !important;
    }

    .wikipediapreview {
        background-color: transparent !important;
        border-radius: 5px !important;
        display: flex !important;
        flex-direction: column !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Lato, Helvetica, Arial, sans-serif !important;
        width: 350px !important;
    }

    .wp-popup,
    .wp-touch-popup {
        background-color: #323232 !important;
        border-radius: 1px !important;
        box-shadow: 0 0 36px 1px #000 !important;
        height: auto !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow: hidden !important;
        overscroll-behavior: none !important;
        z-index: 2147483645 !important;
    }

    .wp-gallery-fullscreen {
        z-index: 2147483647 !important;
    }

    html.codex-mec-wiki-preview-open #tarak-direct-language-bar {
        pointer-events: auto !important;
        z-index: 99990 !important;
    }

    .wikipediapreview-footer-link-cta {
        font-size: 17px !important;
    }
}

/* Single event MEC clone: keep this isolated from the grid clone. */
body.tarak-engine-original-ui.single-mec-events .tee-single-preview {
    box-sizing: border-box !important;
    margin: 0 auto !important;
    max-width: none !important;
    padding: 0 0 72px !important;
    width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .tee-single-container,
body.tarak-engine-original-ui.single-mec-events .tee-single-wrap {
    box-sizing: border-box !important;
    margin: 0 auto !important;
    max-width: 1100px !important;
    padding: 0 !important;
    width: min(100%, 1100px) !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-event,
body.tarak-engine-original-ui.single-mec-events .mec-single-event > .row,
body.tarak-engine-original-ui.single-mec-events .mec-single-event .col-md-12,
body.tarak-engine-original-ui.single-mec-events .mordern_view,
body.tarak-engine-original-ui.single-mec-events .ev_bg_color,
body.tarak-engine-original-ui.single-mec-events .mec-events-event-image {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-event {
    margin-top: 0 !important;
}

body.tarak-engine-original-ui.single-mec-events .mordern_view {
    background: #2e2e2e !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .3) !important;
    overflow: hidden !important;
    position: relative !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-events-event-image {
    background: #323232 !important;
    display: block !important;
    line-height: 0 !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-events-event-image img {
    display: block !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .mec_date_details {
    align-items: center !important;
    background: #262626 !important;
    color: #979797 !important;
    display: grid !important;
    font-family: "NTR", "Dhurjati", Arial, sans-serif !important;
    font-size: 14px !important;
    grid-template-columns: minmax(160px, 1fr) 86px minmax(150px, 1fr) !important;
    letter-spacing: .05em !important;
    line-height: 1 !important;
    min-height: 34px !important;
    padding: 0 16px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec_date_details i,
body.tarak-engine-original-ui.single-mec-events .mec_date_details h3,
body.tarak-engine-original-ui.single-mec-events .mec-single-event-time {
    display: none !important;
}

body.tarak-engine-original-ui.single-mec-events .mec_date_details dl,
body.tarak-engine-original-ui.single-mec-events .mec_date_details dd,
body.tarak-engine-original-ui.single-mec-events .mec_date_details abbr {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-event-date {
    min-width: 0 !important;
    text-align: left !important;
}

body.tarak-engine-original-ui.single-mec-events .mec_grid_event_location {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
    line-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
}

body.tarak-engine-original-ui.single-mec-events .mec_grid_event_location img {
    display: block !important;
    height: auto !important;
    margin: 0 auto !important;
    max-height: 25px !important;
    max-width: 58px !important;
    object-fit: contain !important;
}

body.tarak-engine-original-ui.single-mec-events .siggle_timeline {
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.tarak-engine-original-ui.single-mec-events .codex-single-countdown {
    align-items: center !important;
    background: #2a2a2a !important;
    border-top: 1px solid #1f1f1f !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 12px 10px 14px !important;
    text-align: center !important;
    width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .codex-countdown-clock {
    align-items: flex-start !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .codex-countdown-segment {
    display: block !important;
    min-width: 58px !important;
    text-align: center !important;
}

body.tarak-engine-original-ui.single-mec-events .codex-countdown-value {
    background: linear-gradient(#191919, #080808) !important;
    border: 1px solid #444 !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 5px rgba(0, 0, 0, .45) !important;
    color: #f2f2f2 !important;
    display: block !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    padding: 8px 6px !important;
}

body.tarak-engine-original-ui.single-mec-events .codex-countdown-label {
    color: #c1c1c1 !important;
    display: block !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    letter-spacing: .08em !important;
    line-height: 1 !important;
    margin-top: 6px !important;
    text-transform: uppercase !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-content {
    background: #2e2e2e !important;
    box-sizing: border-box !important;
    color: #bdbdbd !important;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    letter-spacing: .935px !important;
    line-height: 34.76px !important;
    padding: 7px 30px 0 !important;
    text-align: center !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-content > p.ev_cat {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: #c9c9c9 !important;
    display: flex !important;
    font-family: "Dhurjati", "NTR", Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    gap: 8px !important;
    justify-content: center !important;
    letter-spacing: .05em !important;
    line-height: 26px !important;
    margin: 0 auto 0 !important;
    min-height: 26px !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-content > p.ev_cat.codex-star-only-category {
    font-size: 24px !important;
    letter-spacing: 0 !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-content > p.ev_cat img,
body.tarak-engine-original-ui.single-mec-events .mec-event-content > p.ev_cat .codex-single-honor-star-icon {
    bottom: auto !important;
    display: block !important;
    flex: 0 0 26px !important;
    height: 26px !important;
    line-height: 26px !important;
    margin: 0 !important;
    max-height: 26px !important;
    max-width: 26px !important;
    object-fit: contain !important;
    position: static !important;
    width: 26px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-content > p.ev_cat .codex-single-honor-star-text {
    font-size: 24px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-title {
    align-items: center !important;
    color: #d59964 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    font-family: "NTR", sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    gap: 0 !important;
    justify-content: center !important;
    letter-spacing: 1px !important;
    line-height: 34.16px !important;
    margin: 0 auto !important;
    overflow-wrap: anywhere !important;
    padding: 0 !important;
    text-align: center !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-title .codex-title-color-spacer {
    display: inline-block !important;
    flex: 0 0 13px !important;
    height: 13px !important;
    margin: 0 8px 0 0 !important;
    visibility: hidden !important;
    width: 13px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-title .codex-single-title-text {
    display: inline !important;
    flex: 0 1 auto !important;
    max-width: calc(100% - 42px) !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-title .event-color {
    border-radius: 50% !important;
    display: inline-block !important;
    flex: 0 0 13px !important;
    height: 13px !important;
    margin: 0 0 0 8px !important;
    vertical-align: middle !important;
    width: 13px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-content .normal_label {
    display: block !important;
    height: 0 !important;
    line-height: 35.7px !important;
    margin: 0 !important;
    padding: 0 0 8px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-event-description {
    box-sizing: border-box !important;
    color: #bdbdbd !important;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    letter-spacing: .935px !important;
    line-height: 34.76px !important;
    margin: 0 auto !important;
    max-width: 960px !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h1,
body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h2,
body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h3,
body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h4,
body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h5,
body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h6,
body.tarak-engine-original-ui.single-mec-events .mec-single-event-description p {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    margin: 0 0 2px !important;
    text-align: center !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-footer {
    align-items: center !important;
    background: #2e2e2e !important;
    box-sizing: border-box !important;
    display: flex !important;
    gap: 18px !important;
    justify-content: space-between !important;
    min-height: 72px !important;
    padding: 8px 26px 16px !important;
    width: 100% !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-sharing-wrap,
body.tarak-engine-original-ui.single-mec-events .mec-event-sharing-wrap li,
body.tarak-engine-original-ui.single-mec-events .mec-event-sharing {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-sharing-wrap .dblock,
body.tarak-engine-original-ui.single-mec-events .mec-event-sharing,
body.tarak-engine-original-ui.single-mec-events .mec-event-social-icon {
    display: none !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-sharing-wrap {
    flex: 0 0 40px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-sharing-wrap::before,
body.tarak-engine-original-ui.single-mec-events .mec-event-sharing-wrap::after,
body.tarak-engine-original-ui.single-mec-events .mec-event-sharing::before,
body.tarak-engine-original-ui.single-mec-events .mec-event-sharing::after {
    content: none !important;
    display: none !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-share-icon {
    align-items: center !important;
    background: transparent !important;
    border: 1px solid #565656 !important;
    border-radius: 3px !important;
    display: inline-flex !important;
    height: 40px !important;
    justify-content: center !important;
    width: 40px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-share-icon i {
    color: transparent !important;
    display: block !important;
    font-size: 0 !important;
    height: 22px !important;
    line-height: 0 !important;
    opacity: 1 !important;
    position: relative !important;
    width: 22px !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-share-icon i::before {
    background:
        radial-gradient(circle at 4px 11px, #aaa 0 2.6px, transparent 3px),
        radial-gradient(circle at 18px 4px, #aaa 0 2.6px, transparent 3px),
        radial-gradient(circle at 18px 18px, #aaa 0 2.6px, transparent 3px) !important;
    content: "" !important;
    display: block !important;
    inset: 0 !important;
    position: absolute !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-share-icon i::after {
    border-bottom: 2px solid #aaa !important;
    border-top: 2px solid #aaa !important;
    content: "" !important;
    height: 8px !important;
    left: 5px !important;
    position: absolute !important;
    top: 7px !important;
    transform: skewY(-27deg) !important;
    transform-origin: center !important;
    width: 13px !important;
}

body.tarak-engine-original-ui.single-mec-events .codex-single-action-group {
    align-items: center !important;
    display: flex !important;
    gap: 20px !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    min-width: 0 !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-event-footer .mec-reference-button,
body.tarak-engine-original-ui.single-mec-events .mec-event-footer .mec-booking-button {
    align-items: center !important;
    background: transparent !important;
    border: 1px solid #565656 !important;
    border-radius: 3px !important;
    color: #bdbdbd !important;
    display: inline-flex !important;
    font-family: "NTR", "Dhurjati", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    height: 40px !important;
    justify-content: center !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    min-width: 118px !important;
    padding: 0 14px !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.tarak-engine-original-ui.single-mec-events .mec-single-event-bar {
    display: none !important;
}

@media (max-width: 767px) {
    body.tarak-engine-original-ui.single-mec-events .tee-single-preview {
        max-width: 100vw !important;
        padding: 0 10px 72px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .tee-single-container,
    body.tarak-engine-original-ui.single-mec-events .tee-single-wrap {
        max-width: 100% !important;
        width: 100% !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec_date_details {
        font-size: 16px !important;
        grid-template-columns: minmax(92px, 1fr) 58px minmax(88px, 1fr) !important;
        min-height: 34px !important;
        padding: 0 8px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec_grid_event_location img {
        max-height: 24px !important;
        max-width: 50px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .codex-single-countdown {
        padding: 10px 5px 12px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .codex-countdown-clock {
        gap: 6px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .codex-countdown-segment {
        min-width: 48px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .codex-countdown-value {
        font-size: 20px !important;
        padding: 7px 4px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .codex-countdown-label {
        font-size: 8px !important;
        margin-top: 5px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-event-content {
        padding: 5px 5px 0 !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-event-content > p.ev_cat {
        font-size: 27px !important;
        line-height: 30px !important;
        min-height: 30px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-single-title {
        font-size: 28px !important;
        line-height: 34.16px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description {
        font-size: 22px !important;
        line-height: 34.76px !important;
        margin-top: 0 !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h1,
    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h2,
    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h3,
    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h4,
    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h5,
    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description h6,
    body.tarak-engine-original-ui.single-mec-events .mec-single-event-description p {
        margin-bottom: 2px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-event-footer {
        gap: 10px !important;
        min-height: 56px !important;
        padding: 8px 14px 12px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-event-sharing-wrap {
        flex-basis: 40px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .codex-single-action-group {
        gap: 12px !important;
    }

    body.tarak-engine-original-ui.single-mec-events .mec-event-footer .mec-reference-button,
    body.tarak-engine-original-ui.single-mec-events .mec-event-footer .mec-booking-button {
        font-size: 19px !important;
        min-width: 104px !important;
        padding: 0 12px !important;
    }
}

@media (max-width: 767px) {
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title,
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title a {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 20px !important;
        font-weight: 400 !important;
        line-height: 1.58 !important;
        margin: 2px 0 !important;
        text-transform: none !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title a {
        display: block !important;
        line-height: inherit !important;
        margin: 0 !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event .mkdk.mec-event-content {
        font-size: 19px !important;
        line-height: 1.45 !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event .mkdk.mec-event-content .mec_grid_event_location {
        height: 30px !important;
        min-height: 30px !important;
        padding: 3px 0 7px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event .mec-event-date.codex-nonhistorical-countdown {
        min-height: 26px !important;
        padding: 2px 5px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event .mec-event-date.codex-nonhistorical-countdown .event_date_cal {
        font-size: 13px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event .mec-event-footer {
        margin-top: 0 !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event .mec-event-footer.codex-footer-actions-1,
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event .mec-event-footer.codex-footer-actions-2 {
        margin-top: 2px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic .mec-event-footer .mec-event-sharing-wrap {
        left: 10px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        top: 3px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic .mec-event-footer .mec-reference-button,
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic .mec-event-footer .mec-booking-button {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 20px !important;
        height: 40px !important;
        line-height: 1 !important;
        padding: 0 12px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic .mec-event-footer.codex-footer-actions-2 .mec-reference-button {
        min-width: 105px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: absolute !important;
        right: 149px !important;
        top: 4px !important;
        width: 105px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic .mec-event-footer.codex-footer-actions-2 .mec-booking-button {
        min-width: 117px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: absolute !important;
        right: 12px !important;
        top: 4px !important;
        width: 117px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-reference-button,
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic .mec-event-footer.codex-footer-actions-1 .mec-booking-button {
        min-width: 105px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: absolute !important;
        right: 12px !important;
        top: 4px !important;
        width: 105px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title {
        align-items: center !important;
        color: #d7d7d7 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        justify-content: center !important;
        letter-spacing: 1px !important;
        margin: 8px 0 0 !important;
        row-gap: 3px !important;
        text-align: center !important;
        text-transform: uppercase !important;
        width: 100% !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title > a {
        color: #d7d7d7 !important;
        display: inline-block !important;
        flex: 0 1 auto !important;
        letter-spacing: 1px !important;
        max-width: calc(100% - 32px) !important;
        text-align: center !important;
        text-transform: capitalize !important;
        width: auto !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-date-mode-advanced h4.mec-event-title,
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-date-mode-advanced h4.mec-event-title > a {
        color: #00a0d2 !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-date-mode-custom h4.mec-event-title,
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-date-mode-custom h4.mec-event-title > a {
        color: #a3b745 !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event.codex-date-mode-fixed h4.mec-event-title,
    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article.codex-nonhistorical-event.codex-date-mode-fixed h4.mec-event-title > a {
        color: #d8c5a3 !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title > .codex-title-color-spacer {
        display: inline-block !important;
        flex: 0 0 10px !important;
        height: 10px !important;
        margin: 0 6px 0 0 !important;
        visibility: hidden !important;
        width: 10px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title > .event-color {
        display: inline-block !important;
        flex: 0 0 10px !important;
        height: 10px !important;
        margin: 0 0 0 6px !important;
        width: 10px !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title > .mec-labels-normal {
        display: block !important;
        flex: 0 0 100% !important;
        letter-spacing: 1px !important;
        padding-top: 3px !important;
        text-align: center !important;
        text-transform: uppercase !important;
        width: 100% !important;
    }

    html.codex-mobile-browser body.tarak-engine-original-ui:not(.single-mec-events) .tee-mec-grid-container .mec-event-grid-classic article.mec-event-article h4.mec-event-title .mec-label-normal {
        display: inline-block !important;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 16.9px !important;
        margin: 5px 0 0 3px !important;
        padding: 3px 6px 2px !important;
        text-transform: uppercase !important;
    }
}
