/* =========================================================
   TASKTEL BLOG PAGE
   PROFESSIONAL VERSION
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #101828;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =========================================================
   HERO SECTION
========================================================= */

.tasktel-blog-hero {
    width: 100%;
    background: linear-gradient(135deg, #004bb4 0%, #002d72 100%);
    padding: 90px 0 80px;
    overflow: hidden;
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.tasktel-blog-hero-container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, 460px);
    align-items: center;
    gap: 90px;
}


/* =========================================================
   HERO LEFT
========================================================= */

.tasktel-blog-hero-content {
    max-width: 650px;
    opacity: 0;
    transform: translateX(-45px);
    animation:
        heroLeftReveal 1s
        cubic-bezier(.22,.61,.36,1)
        forwards;
}


.tasktel-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #edf0f4;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.tasktel-blog-eyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    background: #2563eb;

}


.tasktel-blog-hero-content h1 {

    font-size: clamp(48px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    color: #f3f5f8;
    margin-bottom: 25px;
}


.tasktel-blog-hero-content h1 span {
    color: #2563eb;
}


.tasktel-blog-hero-content p {

    max-width: 570px;
    color: #667085;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   FEATURED CARD WRAPPER
========================================================= */

.tasktel-featured-wrapper {

    display: flex;

    justify-content: flex-end;

    opacity: 0;

    transform: translateX(45px);

    animation:
        heroCardReveal 1s
        .15s
        cubic-bezier(.22,.61,.36,1)
        forwards;
}


/* =========================================================
   FEATURED CARD
========================================================= */

.tasktel-featured-card {

    width: 100%;

    max-width: 430px;

    background: #ffffff;

    border: 1px solid #e7eaf0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(16, 24, 40, 0.08);

    transition:
        transform .5s ease,
        box-shadow .5s ease;
}


.tasktel-featured-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 22px 50px rgba(16, 24, 40, 0.13);
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.tasktel-featured-image {

    width: 100%;

    height: 175px;

    overflow: hidden;

    background: #f5f7fa;
}


.tasktel-featured-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .8s
        cubic-bezier(.22,.61,.36,1);
}


.tasktel-featured-card:hover
.tasktel-featured-image img {

    transform: scale(1.06);
}


/* =========================================================
   FEATURED CONTENT
========================================================= */

.tasktel-featured-content {

    padding: 24px 26px 26px;
}


.tasktel-featured-label {

    display: block;

    margin-bottom: 10px;

    color: #2563eb;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.tasktel-featured-content h2 {

    color: #101828;

    font-size: 25px;

    line-height: 1.3;

    margin-bottom: 12px;
}


.tasktel-featured-content p {

    color: #667085;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 18px;
}


/* =========================================================
   FEATURED LINK
========================================================= */

.tasktel-featured-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #2563eb;

    font-size: 14px;

    font-weight: 700;

    transition:
        gap .3s ease;
}


.tasktel-featured-link span {

    font-size: 19px;

    line-height: 1;

    transition:
        transform .3s ease;
}


.tasktel-featured-link:hover {

    gap: 12px;
}


.tasktel-featured-link:hover span {

    transform: translateX(3px);
}


/* =========================================================
   TRENDING SECTION
========================================================= */

.tasktel-trending-section {

    width: 100%;

    padding: 80px 0 100px;

    background: #f8fafc;

    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.tasktel-trending-container {

    width: 90%;

    max-width: 1280px;

    margin: auto;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.tasktel-trending-header {

    margin-bottom: 42px;

    opacity: 0;

    transform: translateY(35px);
}


.tasktel-trending-header.tasktel-visible {

    animation:
        sectionReveal .8s
        cubic-bezier(.22,.61,.36,1)
        forwards;
}


.tasktel-section-label {

    display: block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}


.tasktel-trending-header h2 {

    color: #0b1f3a;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 12px;
}


.tasktel-trending-header p {

    max-width: 720px;
    color: #667085;
    font-size: 20px;
    line-height: 1.75;
}


/* =========================================================
   ARTICLE GRID
========================================================= */

.tasktel-article-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 26px;
}


/* =========================================================
   ARTICLE CARD
========================================================= */

.tasktel-article-card {

    background: #ffffff;

    border: 1px solid #e8ecf2;

    border-radius: 16px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow:
        0 6px 20px rgba(16,24,40,.05);

    opacity: 0;

    transform: translateY(45px);

    transition:
        transform .5s
        cubic-bezier(.22,.61,.36,1),
        box-shadow .4s ease,
        border-color .4s ease;
}


.tasktel-article-card.tasktel-article-visible {

    opacity: 1;

    transform: translateY(0);
}


.tasktel-article-card:hover {

    transform: translateY(-8px);

    border-color: #d8e2f2;

    box-shadow:
        0 18px 40px rgba(16,24,40,.10);
}


/* =========================================================
   ARTICLE IMAGE
========================================================= */

.tasktel-article-image {

    height: 185px;

    overflow: hidden;

    background: #f2f4f7;
}


.tasktel-article-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .7s
        cubic-bezier(.22,.61,.36,1);
}


.tasktel-article-card:hover
.tasktel-article-image img {

    transform: scale(1.055);
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.tasktel-article-content {

    padding: 23px;

    display: flex;

    flex-direction: column;

    flex: 1;
}


/* =========================================================
   CATEGORY
========================================================= */

.tasktel-article-category {

    display: block;

    margin-bottom: 9px;

    color: #2563eb;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


/* =========================================================
   ARTICLE TITLE
========================================================= */

.tasktel-article-content h3 {

    color: #101828;

    font-size: 20px;

    line-height: 1.35;

    font-weight: 700;

    margin-bottom: 12px;
}


/* =========================================================
   ARTICLE DESCRIPTION
========================================================= */

.tasktel-article-content p {

    color: #667085;

    font-size: 14px;

    line-height: 1.7;

    flex: 1;
}


/* =========================================================
   LEARN MORE
========================================================= */

.tasktel-learn-more {

    margin-top: 20px;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    width: fit-content;

    color: #2563eb;

    font-size: 13px;

    font-weight: 700;

    transition:
        gap .3s ease;
}


/* NO BACKGROUND CIRCLE */

.tasktel-learn-more span {

    display: inline-block;

    font-size: 18px;

    line-height: 1;

    transition:
        transform .3s ease;
}


.tasktel-learn-more:hover {

    gap: 11px;
}


.tasktel-learn-more:hover span {

    transform: translateX(3px);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroLeftReveal {

    from {

        opacity: 0;

        transform: translateX(-45px);
    }

    to {

        opacity: 1;

        transform: translateX(0);
    }
}


@keyframes heroCardReveal {

    from {

        opacity: 0;

        transform: translateX(45px);
    }

    to {

        opacity: 1;

        transform: translateX(0);
    }
}


@keyframes sectionReveal {

    from {

        opacity: 0;

        transform: translateY(35px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .tasktel-blog-hero {

        padding: 75px 0;
    }


    .tasktel-blog-hero-container {

        grid-template-columns: 1fr;

        gap: 55px;

        text-align: center;
    }


    .tasktel-blog-hero-content {

        max-width: 700px;

        margin: auto;
    }


    .tasktel-blog-hero-content p {

        margin: auto;
    }


    .tasktel-featured-wrapper {

        justify-content: center;
    }


    .tasktel-article-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .tasktel-blog-hero {

        padding: 60px 0;
    }


    .tasktel-blog-hero-container {

        width: 92%;

        gap: 40px;
    }


    .tasktel-blog-hero-content h1 {

        font-size: 43px;

        letter-spacing: -1.3px;
    }


    .tasktel-blog-hero-content p {

        font-size: 15px;
    }


    .tasktel-featured-card {

        max-width: 420px;
    }


    .tasktel-featured-image {

        height: 160px;
    }


    .tasktel-featured-content {

        padding: 20px;
    }


    .tasktel-featured-content h2 {

        font-size: 22px;
    }


    .tasktel-trending-section {

        padding: 60px 0 70px;
    }


    .tasktel-trending-header h2 {

        font-size: 31px;
    }


    .tasktel-article-grid {

        grid-template-columns: 1fr;

        gap: 22px;
    }


    .tasktel-article-image {

        height: 190px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tasktel-blog-hero-content h1 {

        font-size: 37px;
    }


    .tasktel-featured-card {

        border-radius: 15px;
    }


    .tasktel-featured-image {

        height: 145px;
    }


    .tasktel-article-content {

        padding: 20px;
    }


    .tasktel-article-content h3 {

        font-size: 19px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@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;
    }
}