:root {
    --td-theme-color: #4db2ec;
    --td-theme-color-hover: #2993d1;
    --td-black: #1f1f1f;
    --td-text-color: #222222;
    --td-muted: #6b6b6b;
    --td-border: #ededed;
    --td-bg: #ffffff;
    --td-bg-soft: #f7f7f7;
    --td-footer-bg: #141414;
    --td-footer-text: #d7d7d7;
    --td-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --td-radius: 2px;
    --td-content-width: 1320px;
    --td-font-body: "Open Sans", Arial, sans-serif;
    --td-font-title: "Roboto", Arial, sans-serif;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--td-bg);
    color: var(--td-text-color);
    font-family: var(--td-font-body);
    font-size: 14px;
    line-height: 1.65;
}

a {
    color: var(--td-theme-color);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

a:hover {
    color: var(--td-theme-color-hover);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--td-theme-color);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3 {
    font-family: var(--td-font-title);
    color: #111111;
    margin: 0 0 14px;
    line-height: 1.3;
}

h1 {
    font-size: 34px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    font-weight: 700;
}

h3 {
    font-size: 21px;
    font-weight: 600;
}

p {
    margin: 0 0 16px;
}

.tdc-row {
    width: 100%;
    max-width: var(--td-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.td-scroll-up {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
}

.td-scroll-top {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 2px;
    background: var(--td-theme-color);
    color: #ffffff;
    cursor: pointer;
    box-shadow: var(--td-shadow);
}

.td-scroll-top:hover {
    background: var(--td-theme-color-hover);
}

.td-scroll-top:active {
    transform: translateY(1px);
}

.td-scroll-top:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.td-menu-background,
.td-mobile-nav,
.td-search-background {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.td-menu-background {
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgba(0, 0, 0, 0.5);
}

.td-mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: calc(100% - 40px);
    height: 100%;
    z-index: 50;
    background: linear-gradient(to bottom, #313b45 0%, #3393b8 100%);
    color: #ffffff;
    overflow-y: auto;
    transition: left 0.25s ease, opacity 0.25s ease;
}

.td-mobile-nav.is-open {
    left: 0;
    visibility: visible;
    opacity: 1;
}

.td-menu-background.is-open {
    visibility: visible;
    opacity: 1;
}

.td-mobile-container {
    padding: 14px 18px 22px;
}

.td-mobile-close-wrap {
    text-align: right;
}

.td-mobile-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
}

.td-mobile-content ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.td-mobile-content li {
    margin: 0;
}

.td-mobile-content a {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 4px;
}

.td-theme-wrap {
    overflow: hidden;
}

.td-header-desktop-wrap {
    background: #ffffff;
    border-bottom: 1px solid var(--td-border);
    position: sticky;
    top: 0;
    z-index: 40;
}

.td-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 74px;
}

.td-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.td-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 56px;
}

.td-logo:hover {
    opacity: 0.8;
}

.td-main-menu {
    display: flex;
    margin-left: 0;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex: 1 1 auto;
}

.td-logo-right {
    margin-left: 28px;
}

.td-main-menu a {
    color: #111111;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 0;
}

.td-main-menu a:hover {
    color: var(--td-theme-color);
}

.td-mobile-trigger {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--td-border);
    background: #ffffff;
    border-radius: 2px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.td-category-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 20px;
}

.td-category-heading-row h1 {
    margin-bottom: 0;
}

.td-category-side-heading {
    font-family: var(--td-font-title);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.td-mobile-trigger span {
    width: 18px;
    height: 2px;
    background: #111111;
}

.td-main-content-wrap {
    padding: 28px 0 44px;
}

.td-breadcrumbs,
.breadcrumb56 {
    margin: 0 0 18px;
}

.td-breadcrumbs ol,
.breadcrumb56 ol {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.25;
    color: var(--td-muted);
    overflow: visible;
    white-space: nowrap;
}

.td-breadcrumbs li,
.breadcrumb56 li {
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: auto;
    white-space: nowrap;
    overflow: visible;
}

.td-breadcrumbs li a,
.td-breadcrumbs li span,
.breadcrumb56 li a,
.breadcrumb56 li span {
    display: inline;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.td-breadcrumbs li + li:before,
.breadcrumb56 li + li:before {
    content: "/";
    color: #a5a5a5;
    margin-right: 6px;
}

.td-home-hero {
    margin: 6px 0 34px;
    text-align: center;
}

.titlebar56__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 10px;
}

.td-home-hero p {
    max-width: 920px;
    color: var(--td-muted);
    margin: 0 auto;
    font-size: 15px;
}

.titlebar56__label {
    font-size: 15px;
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-feature-grid {
    display: block;
    margin-bottom: 34px;
}

.blog56__col.blog56__col--lead,
.blog56__col.blog56__col--list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.td-post-grid {
    display: grid;
    gap: 20px;
}

.td-post-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.td-post-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.td-post-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.td-section {
    margin-bottom: 36px;
}

.td-section > h2 {
    border-bottom: 2px solid var(--td-border);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.td-post-card {
    background: #ffffff;
}

.td-post-thumb {
    display: block;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: var(--td-radius);
}

.td-post-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.td-feature-main .td-post-thumb img {
    aspect-ratio: 5 / 2;
}

.td-post-card:hover .td-post-thumb img {
    transform: scale(1.03);
}

.td-post-category {
    display: inline-block;
    background: var(--td-black);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 7px;
    margin-bottom: 8px;
}

.td-post-category:hover {
    background: var(--td-theme-color);
    color: #ffffff;
}

.td-post-title {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.25;
}

.td-post-card.is-compact .td-post-title {
    font-size: 19px;
}

.td-post-title a {
    color: #111111;
}

.td-post-title a:hover {
    color: var(--td-theme-color);
}

.td-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #8c8c8c;
    font-size: 12px;
    margin-bottom: 10px;
}

.td-read-more {
    display: inline-block;
    border: 1px solid var(--td-theme-color);
    color: var(--td-theme-color);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.td-read-more:hover {
    background: var(--td-theme-color);
    color: #ffffff;
}

.td-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 28px;
}

.td-content-primary {
    min-width: 0;
}

.td-category-listing .td-post-card + .td-post-card {
    margin-top: 28px;
}

.td-content-sidebar {
    min-width: 0;
}

.td-content-sidebar .td-category-side-heading {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
}

.td-sidebar-box {
    border: 1px solid var(--td-border);
    margin-bottom: 24px;
}

.td-sidebar-title {
    background: #f5f5f5;
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 26px;
    padding: 10px 14px;
}

.td-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 10px 14px;
}

.td-sidebar-links li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--td-border);
}

.td-sidebar-links li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.td-sidebar-thumb {
    flex: 0 0 92px;
    display: block;
}

.td-sidebar-thumb img {
    width: 92px;
    height: 62px;
    object-fit: cover;
}

.td-sidebar-item-content {
    min-width: 0;
}

.td-sidebar-links a {
    color: #111111;
    display: block;
    font-weight: 600;
}

.td-sidebar-links a:hover {
    color: var(--td-theme-color);
}

.td-sidebar-links span {
    display: block;
    color: #8b8b8b;
    font-size: 12px;
    margin-top: 4px;
}

.td-category-title-wrap {
    margin-bottom: 20px;
}

.td-related-posts-bottom {
    margin-top: 24px;
}

.td-pagination-wrap {
    margin-top: 20px;
}

.td-pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.td-pagination li {
    margin: 0;
}

.td-pagination a,
.td-pagination span {
    display: inline-block;
    min-width: 34px;
    text-align: center;
    border: 1px solid var(--td-border);
    padding: 7px 9px;
    color: #111111;
}

.td-pagination .active span,
.td-pagination a:hover {
    background: var(--td-theme-color);
    border-color: var(--td-theme-color);
    color: #ffffff;
}

.td-pagination .disabled span {
    color: #9b9b9b;
    background: #f7f7f7;
}

.td-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #777777;
    font-size: 13px;
    border-bottom: 1px solid var(--td-border);
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.td-article-meta a {
    color: #111111;
}

.td-article-content {
    font-size: 16px;
}

.td-article-content h2 {
    font-size: 28px;
    margin-top: 28px;
}

.td-article-content h3 {
    font-size: 22px;
    margin-top: 22px;
}

.td-article-content ul {
    margin: 0 0 16px 20px;
}

.td-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
}

.td-article-content th,
.td-article-content td {
    border: 1px solid var(--td-border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.td-article-content th {
    background: #f7f7f7;
    font-weight: 700;
    color: #111111;
}

.td-article-faq {
    margin-top: 30px;
    border-top: 2px solid var(--td-border);
    padding-top: 18px;
}

.td-faq-item + .td-faq-item {
    margin-top: 18px;
}

.td-page-wrap {
    max-width: 860px;
}

.td-page-content h2 {
    font-size: 26px;
    margin-top: 24px;
}

.td-not-found {
    text-align: center;
    padding: 20px 0 36px;
}

.td-btn {
    display: inline-block;
    border: 1px solid var(--td-theme-color);
    background: var(--td-theme-color);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.td-btn:hover {
    background: var(--td-theme-color-hover);
    border-color: var(--td-theme-color-hover);
    color: #ffffff;
}

.td-btn:active {
    transform: translateY(1px);
}

.td-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.td-not-found-categories h2 {
    margin-bottom: 14px;
}

.td-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.td-tag-list a {
    border: 1px solid var(--td-border);
    color: #111111;
    padding: 8px 12px;
}

.td-tag-list a:hover {
    border-color: var(--td-theme-color);
    color: var(--td-theme-color);
}

.td-footer-wrap {
    background: var(--td-footer-bg);
    color: var(--td-footer-text);
    padding: 36px 0 16px;
}

.td-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.td-footer-title {
    font-family: var(--td-font-title);
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.td-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.td-footer-col li {
    margin: 0 0 8px;
}

.td-footer-col a {
    color: var(--td-footer-text);
}

.td-footer-col a:hover {
    color: #ffffff;
}

.td-sub-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 22px;
    padding-top: 12px;
    font-size: 12px;
}

@media (max-width: 1018px) {
    .td-post-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .td-post-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .td-content-layout,
    .td-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .td-category-heading-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .tdc-row {
        padding: 0 16px;
    }

    .td-main-menu {
        display: none;
    }

    .td-logo-right {
        display: none;
    }

    .td-mobile-trigger {
        display: inline-flex;
    }

    .td-header-main {
        min-height: 66px;
    }

    .td-logo img {
        max-height: 44px;
    }

    .td-main-content-wrap {
        padding-top: 20px;
    }

    .td-post-grid-two,
    .td-post-grid-three,
    .td-post-grid-four {
        grid-template-columns: minmax(0, 1fr);
    }

    .td-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .titlebar56__label {
        font-size: 12px;
        line-height: 1.55;
        margin-top: 6px;
    }

    .titlebar56__title {
        font-size: 40px;
    }

    .td-breadcrumbs ol,
    .breadcrumb56 ol {
        gap: 2px;
        font-size: clamp(7px, 2.2vw, 10px);
        line-height: 1.15;
    }

    .td-breadcrumbs li + li:before,
    .breadcrumb56 li + li:before {
        margin-right: 2px;
    }
}
