/* ========================================================================== 
   3DCGHUB ULTIMATE STYLE (v18.0)
   Refined visual layer for United Grid
   ========================================================================== */

:root {
    --hub-primary: #ff9d00;
    --hub-primary-deep: #f08200;
    --hub-primary-soft: rgba(255, 157, 0, 0.12);
    --hub-primary-glow: rgba(255, 157, 0, 0.2);

    --hub-text-strong: #17181b;
    --hub-text-body: #3f444c;
    --hub-text-soft: #6e7683;

    --hub-surface: #ffffff;
    --hub-surface-soft: #f7f9fc;
    --hub-border: #e7ebf2;

    --hub-radius-sm: 8px;
    --hub-radius-md: 14px;
    --hub-radius-lg: 18px;
    --hub-radius-pill: 999px;

    --hub-shadow-sm: 0 4px 16px rgba(19, 24, 38, 0.06);
    --hub-shadow-md: 0 14px 36px rgba(19, 24, 38, 0.1);

    --hub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================================
   Base Polish
   =================================================== */
body {
    color: var(--hub-text-body);
    background: radial-gradient(circle at 20% 0, rgba(255, 157, 0, 0.06), transparent 35%), var(--hub-surface-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--hub-text-strong);
    letter-spacing: -0.02em;
}

a {
    transition: color 0.22s var(--hub-ease), opacity 0.22s var(--hub-ease);
}

a:hover {
    color: var(--hub-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--hub-primary);
    outline-offset: 2px;
}

::selection {
    background: var(--hub-primary);
    color: #fff;
}

/* subtle scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #eef1f6;
}

::-webkit-scrollbar-thumb {
    background: #c8d0db;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aeb8c5;
}

/* ===================================================
   Header and Search
   =================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(20, 24, 31, 0.06);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}

.search-form-default input.search-field-default {
    border: 1px solid transparent;
    border-radius: var(--hub-radius-pill);
    background: #f1f4f8;
    transition: border-color 0.22s var(--hub-ease), box-shadow 0.22s var(--hub-ease), background-color 0.22s var(--hub-ease);
}

.search-form-default input.search-field-default:focus {
    background: #fff;
    border-color: var(--hub-primary);
    box-shadow: 0 0 0 4px var(--hub-primary-soft);
}

/* ===================================================
   Breadcrumb (under title)
   =================================================== */
.united-breadcrumb {
    margin: 14px 0 20px;
    font-size: clamp(1.5rem, 0.42vw + 1.34rem, 1.82rem);
    line-height: 1.5;
    font-weight: 600;
    color: #353c48;
}

.united-breadcrumb-list {
    margin: 0;
    padding: 10px 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-pill);
    background: #fff;
    box-shadow: 0 2px 8px rgba(19, 24, 38, 0.04);
}

.united-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--hub-text-body);
}

.united-breadcrumb-item + .united-breadcrumb-item::before {
    content: "\203a";
    margin-inline: 0.45rem 0.62rem;
    color: #7f8a9c;
    font-weight: 700;
}

.united-breadcrumb-item a {
    color: #353c48;
    text-decoration: none;
    padding: 2px 0;
}

.united-breadcrumb-item a:hover {
    color: var(--hub-primary);
}

.united-breadcrumb-item a:focus-visible {
    outline: 2px solid var(--hub-primary);
    outline-offset: 2px;
    border-radius: 3px;
}

.united-breadcrumb-item .is-current {
    color: #1d232e;
    font-weight: 750;
}

.united-breadcrumb-item:last-child {
    min-width: 0;
}

.united-breadcrumb-item:last-child .is-current {
    overflow-wrap: anywhere;
}

/* ===================================================
   Single Page Hero and Affix
   =================================================== */
.united-single-affix {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 6px 18px rgba(17, 25, 40, 0.06);
}

.united-single-affix .single-affix-title {
    color: var(--hub-text-soft);
    font-size: clamp(1.3rem, 0.2vw + 1.22rem, 1.45rem) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.united-single-affix h2.entry-title.entry-title-medium {
    color: var(--hub-text-strong);
    font-size: clamp(1.75rem, 0.85vw + 1.45rem, 2.15rem) !important;
    line-height: 1.25 !important;
}

.united-single-affix .entry-meta,
.united-single-affix .entry-meta-list {
    font-size: 1.3rem !important;
    line-height: 1.6 !important;
}

.united-single-affix .single-affix-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    column-gap: 18px;
    row-gap: 8px;
    padding-block: 10px;
}

.united-single-affix .single-affix-wrapper .single-affix-area {
    min-width: 0;
    gap: 12px;
    align-items: flex-start;
}

.united-single-affix .single-affix-wrapper .single-affix-left {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    min-width: 0;
}

.united-single-affix .single-affix-left .single-affix-title {
    margin: 0;
    padding: 0;
    min-height: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.united-single-affix .single-affix-left .entry-title {
    margin: 0;
    padding: 0;
    min-height: 0;
    display: block;
    flex: 1 1 420px;
    min-width: 0;
    text-wrap: balance;
}

.united-single-affix .single-affix-wrapper .single-affix-right {
    flex: 0 0 auto;
    min-width: max-content;
    justify-content: flex-end;
    align-items: center;
    align-self: center;
}

.united-single-affix .single-affix-right .entry-meta-list {
    align-items: center;
}

.united-single-affix .single-affix-right .united-social-share,
.united-single-affix .single-affix-right .single-social-share {
    min-height: 0;
    padding: 0;
    border: 0;
}

.united-single-affix .single-affix-post-tags {
    flex: 1 0 100%;
    margin-top: 2px;
    max-width: 100%;
}

.united-single-affix .single-affix-post-tags .post-meta-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0;
}

.united-single-affix .single-affix-post-tags .meta-tag {
    margin: 0;
    padding: 0.35rem 0.72rem;
    font-size: 1.2rem !important;
    line-height: 1.2;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

.united-single-affix .single-affix-post-tags.is-empty {
    display: none;
}

@media (max-width: 1180px) {
    .united-single-affix .single-affix-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .united-single-affix .single-affix-wrapper .single-affix-right {
        min-width: 0;
        justify-content: flex-start;
        align-self: flex-start;
    }
}

#united-progressbar {
    background: linear-gradient(90deg, var(--hub-primary) 0%, var(--hub-primary-deep) 100%) !important;
    height: 3px !important;
}

.united-single-banner {
    margin-bottom: 28px;
}

.united-single-banner .entry-header,
.single #main > article > .entry-header {
    position: relative;
}

.united-single-banner .entry-title,
.single #main > article > .entry-header .entry-title {
    font-size: clamp(2.25rem, 4.8vw, 3.45rem) !important;
    line-height: 1.12;
    margin-top: 12px;
    margin-bottom: 6px;
    color: var(--hub-text-strong);
    text-wrap: balance;
}

.united-single-banner .entry-categories a,
.single #main > article > .entry-header .entry-categories a {
    background: linear-gradient(135deg, var(--hub-primary) 0%, var(--hub-primary-deep) 100%);
    color: #fff;
    padding: 0.5rem 1.02rem;
    border-radius: var(--hub-radius-pill);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 7px 16px rgba(240, 130, 0, 0.25);
}

.single .entry-header .entry-meta-list,
.single .united-single-banner .entry-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    color: #4b5362;
    font-size: 1.45rem !important;
    line-height: 1.7 !important;
}

.single .entry-header .entry-meta-list .meta-list-item,
.single .united-single-banner .entry-meta .meta-list-item {
    font-size: 1em !important;
    line-height: inherit;
}

.single .entry-header .entry-meta-list .meta-list-item svg,
.single .united-single-banner .entry-meta .meta-list-item svg {
    width: 1.04em;
    height: 1.04em;
    vertical-align: -0.12em;
}

.united-single-banner .entry-image img,
.single #main > article .entry-image img {
    border-radius: var(--hub-radius-lg);
    box-shadow: var(--hub-shadow-md);
}

.single #main > article {
    background: var(--hub-surface);
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-lg);
    box-shadow: var(--hub-shadow-sm);
    padding: clamp(20px, 3vw, 40px);
}

/* ===================================================
   Content Typography
   =================================================== */
.single .entry-content {
    color: var(--hub-text-body);
    font-size: clamp(1.7rem, 0.42vw + 1.54rem, 1.98rem) !important;
    line-height: 1.95 !important;
}

.single .entry-content p,
.single .entry-content ul,
.single .entry-content ol {
    font-size: 1em;
    line-height: inherit;
    margin-bottom: 1.32em;
}

.single .entry-content li {
    font-size: 1em;
    line-height: 1.9;
}

.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
    color: var(--hub-text-strong);
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    line-height: 1.28;
}

.single .entry-content h2 {
    font-size: clamp(2.5rem, 2.2vw, 3rem) !important;
    padding-inline-start: 14px;
    border-inline-start: 4px solid var(--hub-primary);
}

.single .entry-content h3 {
    font-size: clamp(2rem, 1.7vw, 2.45rem) !important;
}

.single .entry-content h4 {
    font-size: clamp(1.75rem, 1.22vw, 2.05rem) !important;
}

.entry-content img {
    border-radius: 12px;
}

.entry-content blockquote {
    margin: 1.6em 0;
    padding: 1rem 1.2rem;
    border-inline-start: 4px solid var(--hub-primary);
    background: linear-gradient(180deg, rgba(255, 157, 0, 0.08), rgba(255, 157, 0, 0.03));
    border-radius: 0 var(--hub-radius-md) var(--hub-radius-md) 0;
}

.entry-content code,
.entry-content pre {
    font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

.entry-content pre {
    border-radius: 12px;
    border: 1px solid var(--hub-border);
    background: #0f172a;
    color: #e5e7eb;
    padding: 14px 16px;
    overflow-x: auto;
}

.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--hub-border);
    border-radius: 12px;
    overflow: hidden;
}

.entry-content th,
.entry-content td {
    border-bottom: 1px solid var(--hub-border);
    padding: 10px 12px;
    text-align: left;
}

.entry-content tr:last-child td {
    border-bottom: 0;
}

/* ===================================================
   Meta, Tags, Navigation
   =================================================== */
.entry-meta,
.entry-meta-single,
.entry-meta-list {
    color: var(--hub-text-soft);
}

.tags-links,
.entry-footer .tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--hub-border);
    color: #2d3441;
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    line-height: 1.68 !important;
}

.tags-links a,
.entry-footer .tags-links a {
    background: #f4f7fb;
    color: var(--hub-text-body);
    padding: 0.56rem 0.95rem !important;
    border-radius: var(--hub-radius-pill);
    border: 1px solid transparent;
    font-size: 1.28rem !important;
    font-weight: 600 !important;
}

.single .post-navigation .entry-title.entry-title-medium,
.single .floating-post-navigation .entry-title.entry-title-medium {
    font-size: 1.62rem !important;
    line-height: 1.45 !important;
}

.single .floating-post-navigation .floating-navigation-label {
    font-size: 1.22rem !important;
}

.tags-links a:hover,
.entry-footer .tags-links a:hover {
    background: #fff;
    border-color: var(--hub-primary);
    color: var(--hub-primary);
    transform: translateY(-1px);
}

.post-navigation .nav-links {
    gap: 14px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-md);
    background: #fff;
    padding: 14px 16px;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    border-color: rgba(255, 157, 0, 0.45);
    box-shadow: var(--hub-shadow-sm);
}

/* ===================================================
   Comments
   =================================================== */
#comments {
    margin-top: 56px;
}

#respond {
    background: #fff;
    border: 1px solid var(--hub-border);
    box-shadow: var(--hub-shadow-sm);
    border-radius: var(--hub-radius-lg);
    padding: clamp(20px, 3vw, 34px);
}

#reply-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hub-border);
    font-size: 1.9rem;
}

.single .comment-form,
.single .comment-form label,
.single .comment-form p {
    font-size: 1.24rem;
    line-height: 1.75;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    background: #f7f9fc;
    border: 1px solid transparent !important;
    border-radius: var(--hub-radius-sm) !important;
    transition: border-color 0.2s var(--hub-ease), box-shadow 0.2s var(--hub-ease), background-color 0.2s var(--hub-ease);
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    background: #fff;
    border-color: var(--hub-primary) !important;
    box-shadow: 0 0 0 4px var(--hub-primary-soft);
}

#respond input[type="submit"] {
    background: linear-gradient(135deg, var(--hub-primary), var(--hub-primary-deep));
    color: #fff;
    border: 0;
    border-radius: var(--hub-radius-pill);
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

#respond input[type="submit"]:hover {
    box-shadow: 0 10px 22px var(--hub-primary-glow) !important;
    transform: translateY(-1px);
}

/* ===================================================
   Epic Gallery
   =================================================== */
.epic-gallery-wrap {
    margin: 2rem 0;
    padding: 16px;
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-lg);
    background: #fff;
    box-shadow: var(--hub-shadow-sm);
}

.epic-main-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--hub-radius-md);
    background: #0f172a;
    margin-bottom: 14px;
}

.epic-main-img a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.epic-main-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.24s var(--hub-ease), transform 0.24s var(--hub-ease);
}

.epic-main-img img.is-switching {
    opacity: 0.45;
    transform: scale(1.01);
}

.epic-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.epic-thumbs br {
    display: none;
}

.epic-thumb {
    flex: 0 0 132px;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(18, 28, 45, 0.14);
    transition: transform 0.2s var(--hub-ease), border-color 0.2s var(--hub-ease), box-shadow 0.2s var(--hub-ease);
}

.epic-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.epic-thumb:hover {
    transform: translateY(-2px);
}

.epic-thumb.active {
    border-color: var(--hub-primary);
    box-shadow: 0 0 0 3px var(--hub-primary-soft);
}

.epic-thumb:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--hub-primary-soft);
}

body.epic-lightbox-open {
    overflow: hidden;
}

.epic-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 22px);
    background: rgba(8, 12, 20, 0.86);
    backdrop-filter: blur(3px);
}

.epic-lightbox.is-open {
    display: flex;
}

.epic-lightbox-dialog {
    position: relative;
    width: min(94vw, 1400px);
}

.epic-lightbox-image {
    display: block;
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
    background: #0b1220;
}

.epic-lightbox-image.is-switching {
    opacity: 0.6;
}

.epic-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 17, 30, 0.72);
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.epic-lightbox-nav.is-prev {
    left: 10px;
}

.epic-lightbox-nav.is-next {
    right: 10px;
}

.epic-lightbox-close {
    position: absolute;
    top: -10px;
    right: -6px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
}

.epic-lightbox-counter {
    margin: 10px 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}

/* ===================================================
   Related posts block
   =================================================== */
.united-related-block {
    margin-top: 56px;
    padding-top: 30px;
    border-top: 1px solid var(--hub-border);
}

.united-related-block .section-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: clamp(1.35rem, 1.5vw, 1.9rem);
}

.united-related-block .united-article {
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-md);
    padding: 14px;
    background: #fff;
    transition: transform 0.22s var(--hub-ease), box-shadow 0.22s var(--hub-ease), border-color 0.22s var(--hub-ease);
}

.united-related-block .united-article:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 157, 0, 0.35);
    box-shadow: var(--hub-shadow-sm);
}

/* ===================================================
   Elementor cards (keep gentle)
   =================================================== */
.elementor-post__card {
    background: #fff;
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-md);
    box-shadow: var(--hub-shadow-sm);
    overflow: hidden;
    transition: transform 0.22s var(--hub-ease), box-shadow 0.22s var(--hub-ease), border-color 0.22s var(--hub-ease);
}

.elementor-post__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hub-shadow-md);
    border-color: rgba(255, 157, 0, 0.35);
}

.elementor-post__thumbnail__link {
    overflow: hidden;
}

.elementor-post__thumbnail img {
    width: 100%;
    transition: transform 0.34s var(--hub-ease) !important;
}

.elementor-post__card:hover .elementor-post__thumbnail img {
    transform: scale(1.04);
}

.elementor-post__badge {
    background: var(--hub-primary) !important;
    color: #fff !important;
    border-radius: 7px !important;
}

.elementor-post__title a {
    color: var(--hub-text-strong);
}

.elementor-post__read-more {
    color: var(--hub-primary) !important;
    font-weight: 700;
}

/* ===================================================
   Mobile menu (clean hierarchy)
   =================================================== */
nav.mobile-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav.mobile-menu .menu-item > .ancestor-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 11px 14px;
    border-radius: 10px;
    background: transparent;
    transition: background-color 0.2s var(--hub-ease);
}

nav.mobile-menu .menu-item > .ancestor-wrapper:hover {
    background: var(--hub-primary-soft) !important;
}

nav.mobile-menu .menu-item > .ancestor-wrapper > a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    color: var(--hub-text-strong);
    font-weight: 600;
}

nav.mobile-menu .sub-menu-toggle svg {
    display: none !important;
}

nav.mobile-menu .menu-item > .ancestor-wrapper > button.sub-menu-toggle {
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgba(19, 24, 38, 0.1) !important;
    border-radius: 999px !important;
    background: #fff !important;
    position: relative !important;
    padding: 0 !important;
}

nav.mobile-menu .menu-item > .ancestor-wrapper > button.sub-menu-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #7b8594;
    border-bottom: 2px solid #7b8594;
    transform: rotate(45deg) translate(-1px, -1px);
    display: block;
    margin: 0 auto;
    transition: transform 0.25s var(--hub-ease), border-color 0.25s var(--hub-ease);
}

nav.mobile-menu .menu-item > .ancestor-wrapper > button.sub-menu-toggle.active::after {
    transform: rotate(225deg) translate(-1px, -1px);
    border-color: var(--hub-primary);
}

nav.mobile-menu ul.modal-menu > .menu-item > .ancestor-wrapper > a {
    font-size: 15px;
}

nav.mobile-menu .sub-menu {
    margin-inline-start: 18px !important;
    border-inline-start: 1px solid #edf1f7;
    padding: 4px 0 2px !important;
}

nav.mobile-menu .sub-menu .menu-item > .ancestor-wrapper > a {
    font-size: 14px;
    font-weight: 500;
    color: #4e5562;
}

nav.mobile-menu .menu-item.current-menu-item > .ancestor-wrapper,
nav.mobile-menu .menu-item.current-menu-ancestor > .ancestor-wrapper {
    background: var(--hub-primary-soft) !important;
}

nav.mobile-menu .menu-item.current-menu-item > .ancestor-wrapper > a {
    color: var(--hub-primary) !important;
}

/* ===================================================
   Utility: meta tags and optional hide switch
   =================================================== */
.post-meta-tags-in-title {
    display: block;
    margin-top: 8px;
}

.meta-tag {
    display: inline-block;
    vertical-align: middle;
    padding: 5px 9px;
    margin-inline-end: 6px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    pointer-events: none;
}

.meta-tag.engine-ver {
    background: #3f51b5;
}

.meta-tag.asset-ver {
    background: #546e7a;
}

.meta-tag.status-badge {
    background: #2e7d32;
}

.meta-tag.status-badge.new {
    background: #ef6c00;
}

.elementor-post__excerpt .post-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.elementor-post__text > .post-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 12px;
}

.elementor-post__excerpt .post-meta-tags .meta-tag {
    margin: 0;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.25;
    border-radius: 999px;
}

.elementor-post__text > .post-meta-tags .meta-tag {
    margin: 0;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.25;
    border-radius: 999px;
}

.elementor-post__card .elementor-post__text {
    display: flex;
    flex-direction: column;
}

.elementor-post__card .elementor-post__text > .elementor-post__title {
    order: 1;
}

.elementor-post__card .elementor-post__text > .post-meta-tags {
    order: 2;
}

.elementor-post__card .elementor-post__text > .elementor-post__excerpt {
    order: 3;
}

.elementor-post__card .elementor-post__text > .elementor-post__read-more {
    order: 4;
}

.single.hide-featured-image .united-single-banner .entry-image,
.single.hide-featured-image .entry-image .post-thumbnail {
    display: none !important;
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
    .single #main > article {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .united-single-banner .entry-title,
    .single #main > article > .entry-header .entry-title {
        font-size: 2.1rem !important;
    }

    .united-breadcrumb {
        margin-top: 10px;
        margin-bottom: 14px;
        font-size: 1.4rem;
    }

    .united-breadcrumb-list {
        padding: 6px 10px;
    }

    .epic-gallery-wrap {
        padding: 12px;
    }

    .epic-thumb {
        flex-basis: 108px;
    }

    .single .entry-content {
        font-size: 1.6rem !important;
        line-height: 1.9 !important;
    }

    .single .entry-header .entry-meta-list,
    .single .united-single-banner .entry-meta {
        font-size: 1.3rem !important;
        gap: 0.72rem;
    }

    .united-single-affix .single-affix-post-tags {
        display: none;
    }

    .tags-links,
    .entry-footer .tags-links {
        font-size: 1.3rem !important;
    }

    .tags-links a,
    .entry-footer .tags-links a {
        font-size: 1.18rem !important;
    }

    .epic-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
    }

    #respond {
        padding: 20px;
    }
}
