:root {
    --tb-orange: #ff6c28;
    --tb-navy: #06213d;
    --tb-purple: #0a3a63
}

.techsky-blog-page {
    background: linear-gradient(150deg, #04101f, #06213d 55%, #020a14);
    color: #fff
}

.tb-hero {
    padding: 120px 0 86px;
    background: radial-gradient(circle at 78% 20%, #355ca1 0, transparent 27%), linear-gradient(125deg, #04101f, #0a3a63 60%, #04101f)
}

.tb-hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.08;
    color: #fff;
    max-width: 850px;
    margin: 14px 0 20px
}

.tb-hero p {
    max-width: 665px;
    color: #cfe0ee;
    font-size: 1.05rem
}

.tb-main {
    padding: 58px 0 86px
}

.tb-section-title {
    font-size: 1.15rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px
}

.tb-featured {
    margin-bottom: 70px
}

.tb-featured-track {
    position: relative;
    min-height: 275px
}

.tb-featured-card {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 58%;
    color: #17203d;
    text-decoration: none;
    box-shadow: 0 15px 45px #02101c55;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(24px);
    transition: opacity .45s ease, transform .45s ease
}

.tb-featured-card.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0)
}

.tb-featured-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 22px
}

.tb-featured-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #ffffff45;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .9rem;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s
}

.tb-featured-arrow:hover {
    background: var(--tb-orange);
    border-color: var(--tb-orange);
    transform: translateY(-2px)
}

.tb-featured-image {
    aspect-ratio: 3/2;
    overflow: hidden;
    align-self: center;
}

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

.tb-featured-image span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%
}

.tb-featured-image span,
.tb-post-image {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: #fff
}

.tb-featured-copy {
    padding: 34px 40px
}

.tb-featured-copy small,
.tb-post-copy small {
    color: var(--tb-orange);
    font-size: .71rem;
    text-transform: uppercase;
    font-weight: 700
}

.tb-featured-copy h2 {
    font-size: 19px;
}

.tb-featured-copy p {
    color: #536076;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 18px
}

.tb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 42px
}

.tb-list-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px
}

.tb-list-head h2 {
    font-size: 1.65rem;
    color: #fff;
    margin: 4px 0
}

.tb-search {
    background: #fff;
    border-radius: 5px;
    display: flex;
    overflow: hidden;
    width: 245px
}

.tb-search input {
    border: 0;
    outline: 0;
    padding: 11px 12px;
    width: 100%;
    font: inherit;
    font-size: .8rem
}

.tb-search button {
    background: #fff;
    border: 0;
    color: #06213d;
    padding: 0 12px
}

.tb-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid #3f6a86;
    margin: 22px 0
}

.tb-filters a {
    padding: 0 0 10px;
    color: #d7e4ee;
    text-decoration: none;
    font-size: .76rem
}

.tb-filters a.active {
    color: var(--tb-orange);
    border-bottom: 2px solid var(--tb-orange)
}

.tb-posts {
    display: grid;
    gap: 14px
}

.tb-post-card {
    display: grid;
    grid-template-columns: 205px 1fr;
    align-items: start;
    background: #fff;
    border-radius: 7px;
    overflow: hidden;
    color: #1b2440;
    text-decoration: none
}

.tb-post-card>img {
    aspect-ratio: 3/2;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #155a99, #0a3a63);
    align-self: start
}

.tb-post-image {
    aspect-ratio: 3/2;
    width: 100%;
    background: linear-gradient(135deg, #155a99, #0a3a63);
    display: grid;
    place-items: center;
    align-self: start
}

.tb-post-copy {
    padding: 8px 13px
}

.tb-post-copy h3 {
    font-size: 1rem;
}

.tb-post-copy p {
    font-size: .76rem;
    line-height: 1.55;
    color: #606b7e;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.tb-post-copy>div {
    display: flex;
    justify-content: space-between;
    font-size: .67rem;
    color: #778196
}

.tb-read-more {
    color: var(--tb-orange);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.tb-contact {
    border-radius: 10px
}

.tb-contact .techsky-lead-form {
    box-shadow: 0 15px 40px #02101c45
}

.tb-contact h3,
.tb-recent h3 {
    font-size: 1.05rem;
    margin: 0 0 14px
}

.tb-contact p {
    font-size: .75rem;
    color: #687389;
    line-height: 1.6
}

.tb-contact input,
.tb-contact select {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #dfe2e9;
    margin: 7px 0;
    font: inherit;
    font-size: .73rem;
    background: transparent
}

.tb-contact .btn {
    margin-top: 14px;
    width: 100%;
    border: 0;
    color: #fff
}

.tb-services-widget {
    margin-top: 30px;
    background: #ffffff0d;
    border: 1px solid #ffffff26;
    border-radius: 12px;
    padding: 22px
}

.tb-services-widget h3 {
    font-size: 1.05rem;
    margin: 0 0 14px;
    color: #fff
}

.tb-services-group {
    margin-bottom: 16px
}

.tb-services-group:last-child {
    margin-bottom: 0
}

.tb-services-heading {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 6px 4px 8px;
    border-bottom: 1px solid var(--tb-orange)
}

.tb-services-heading:hover {
    color: var(--tb-orange)
}

.tb-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: none;
    overflow-y: visible
}

.tb-services-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d7e4ee;
    text-decoration: none;
    font-size: .78rem;
    padding: 8px 4px;
    border-bottom: 1px solid #ffffff14;
    transition: color .2s, padding-left .2s
}

.tb-services-list li:last-child a {
    border-bottom: 0
}

.tb-services-list a i {
    color: var(--tb-orange);
    font-size: .78rem;
    flex: none
}

.tb-services-list a:hover {
    color: #fff;
    padding-left: 8px
}

.tb-recent {
    margin-top: 30px;
    background: #ffffff0d;
    border: 1px solid #ffffff26;
    border-radius: 12px;
    padding: 22px
}

.tb-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.tb-recent-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit
}

.tb-recent-thumb {
    flex: none;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #155a99, #0a3a63);
    display: grid;
    place-items: center
}

.tb-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.tb-recent-thumb span {
    font-size: .65rem;
    font-weight: 800;
    color: #fff
}

.tb-recent-copy {
    min-width: 0
}

.tb-recent-copy small {
    display: block;
    color: var(--tb-orange);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px
}

.tb-recent-copy strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .8rem;
    line-height: 1.4;
    color: #fff;
    transition: color .2s
}

.tb-recent-item:hover .tb-recent-copy strong {
    color: var(--tb-orange)
}

.tb-recent-empty {
    font-size: .75rem;
    color: #c9d8e2
}

.tb-recent-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ffffff26
}

.tb-recent-categories a {
    font-size: .68rem;
    color: #d7e4ee;
    text-decoration: none;
    background: #ffffff14;
    border: 1px solid #ffffff26;
    border-radius: 99px;
    padding: 5px 12px;
    transition: background .2s, color .2s, border-color .2s
}

.tb-recent-categories a:hover,
.tb-recent-categories a.active {
    background: var(--tb-orange);
    border-color: var(--tb-orange);
    color: #fff
}

.tb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
    flex-wrap: wrap
}

.tb-page-nums {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tb-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #ffffff12;
    border: 1px solid #ffffff26;
    color: #d7e4ee;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s, transform .2s
}

.tb-page-btn:hover {
    background: #ffffff26;
    color: #fff;
    transform: translateY(-2px)
}

.tb-page-btn.is-active {
    background: var(--tb-orange);
    border-color: var(--tb-orange);
    color: #fff
}

.tb-page-btn.is-disabled {
    opacity: .35;
    pointer-events: none
}

.tb-empty {
    padding: 35px;
    background: #fff;
    color: #202a45;
    border-radius: 8px
}

.techsky-blog-page .footer {
    margin-top: 0
}

@media(max-width:850px) {
    .tb-layout {
        grid-template-columns: 1fr
    }

    .tb-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .tb-recent {
        margin-top: 0
    }

    .tb-hero {
        padding: 82px 0 55px
    }
}

@media(max-width:600px) {

    .tb-featured-card,
    .tb-post-card {
        grid-template-columns: 1fr
    }

    .tb-featured-image {
        min-height: 195px
    }

    .tb-featured-copy {
        padding: 25px
    }

    .tb-list-head {
        align-items: start;
        flex-direction: column
    }

    .tb-search {
        width: 100%
    }

    .tb-sidebar {
        display: block
    }

    .tb-recent {
        margin-top: 30px
    }

    .tb-post-card>img,
    .tb-post-image {
        height: 180px
    }

    .tb-hero h1 {
        font-size: 2.35rem
    }

    .tb-page-btn {
        min-width: 36px;
        height: 36px;
        font-size: .78rem
    }
}