.content_blogs {
    padding-top: 80px;
}

.blogs-cover {
    max-width: 1180px;
    margin: 50px auto 0;
    padding: 0 24px;
}

.blogs-cover h1 {
    margin-bottom: 24px;
    color: #06101f;
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}


/* Date and LinkedIn section */

.subheader {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 10%;

    margin-bottom: 24px;

}

.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.blog-date-icon {
    width: 16px;
    height: 16px;
    color: #9ca3af;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    min-height: 35px;
    padding: 5px 9px;
    border-radius: 5px;
    background-color: #0066ff;
    box-shadow: rgba(0, 16, 41, 0.25) 0 14px 30px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.logo:hover {
    background-color: #0048b4;
    color: white;
    transform: translateY(-1px);
}

.logo img {
    display: block;
    margin: 0;
}


/* Article content */

.content-all {
    padding-top: 30px;
    padding-right: 10%;
    padding-left: 10%;
}

.content-item {
    margin-bottom: 50px;
}

.content-media {
    margin: 0;
}

.content-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 7px;
    object-fit: cover;
}


/* Image caption */

.content-heading {
    position: relative;
    margin-top: 14px;
    margin-bottom: 48px;
    padding-left: 14px;
    color: #6b7280;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}

.content-heading::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 3px;
    border-radius: 10px;
    background-color: #0066ff;
    content: "";
}

.content-heading-no-image {
    margin-top: 0;
}

.content-description {
    margin-bottom: 50px;
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1.8;
}


/* Share post */

.blog-share {
    width: 80%;
    margin: 40px auto 0;
    padding-top: 24px;
}

.blog-share-title {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #06101f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-share-button:hover {
    color: #0066ff;
}

.blog-share-icon {
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 0.8;
}

.blog-share-button:hover .blog-share-icon {
    opacity: 1;
}

/* Article CTA */

.blog-cta {
    margin-top: 90px;
    margin-bottom: 30px;
    padding-top: 50px;
    border-top: 1px solid #dfe7f0;
}

.blog-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px 48px;
    border-radius: 12px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(0, 102, 255, 0.3),
            transparent 38%
        ),
        #06101f;
    box-shadow: 0 24px 55px rgba(6, 16, 31, 0.16);
}

.blog-cta-label {
    margin: 0 0 10px;
    color: #6ca7ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.blog-cta h2 {
    max-width: 650px;
    margin: 0;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.blog-cta-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 20px;
    border-radius: 6px;
    background-color: #0066ff;
    color: white;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.blog-cta-button:hover {
    background-color: #1b75ff;
    color: white;
    transform: translateY(-2px);
}


/* Tablet */

@media screen and (max-width: 900px) {
    .content-all {
        padding-right: 4%;
        padding-left: 4%;
    }

    .blog-share {
        width: 92%;
    }

    .blog-cta-content {
        align-items: flex-start;
        flex-direction: column;
        padding: 36px;
    }
}


/* Mobile */

@media screen and (max-width: 640px) {
    .content_blogs {
        padding-top: 65px;
    }

    .blogs-cover {
        margin-top: 35px;
        padding: 0 18px;
    }

    .blogs-cover h1 {
        font-size: 30px;
    }

    .subheader {

        display: flex;

        justify-content: center;

        align-items: center;

        gap: 18px;

        margin-bottom: 36px;

        padding-bottom: 0;

    }

    .content-all {
        padding-top: 25px;
        padding-right: 0;
        padding-left: 0;
    }

    .content-item {
        margin-bottom: 42px;
    }

    .content-image {
        max-height: 420px;
        border-radius: 6px;
    }

    .content-heading {
        margin-bottom: 35px;
        font-size: 13px;
    }

    .content-description {
        font-size: 17px;
        line-height: 1.75;
    }

    .blog-share {
        width: 100%;
        margin-top: 20px;
        padding-top: 24px;
    }

    .blog-share-button {
        width: 100%;
        justify-content: center;
    }

    .blog-cta {
        margin-top: 65px;
        padding-top: 40px;
    }

    .blog-cta-content {
        padding: 30px 24px;
        border-radius: 10px;
    }

    .blog-cta h2 {
        font-size: 28px;
    }

    .blog-cta-button {
        width: 100%;
    }
}

/* Article metadata */
.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-date-icon {
    flex-shrink: 0;
}

.blog-meta-divider {
    color: #c4cbd4;
    font-size: 14px;
}

.blog-author {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.blog-author span {
    color: #374151;
    font-weight: 600;
}

/* Mobile */
@media screen and (max-width: 640px) {
    .content_blogs {
        padding-top: 65px;
    }

    .blogs-cover {
        margin-top: 30px;
        padding: 0 16px;
    }

    .blogs-cover h1 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.2;
        text-align: left;
    }

    /* Meta row */
    .subheader {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        gap: 14px;

        margin-bottom: 28px;
        padding: 0;
    }

    .blog-meta {
        width: 100%;

        display: flex;
        align-items: center;
        flex-wrap: wrap;

        gap: 8px;
    }

    .blog-date {
        font-size: 13px;
        gap: 6px;
    }

    .blog-date-icon {
        width: 15px;
        height: 15px;
    }

    .blog-meta-divider {
        font-size: 12px;
    }

    .blog-author {
        font-size: 13px;
    }

    .logos {
        width: 100%;
    }

    .logo {
        min-height: 34px;
        padding: 5px 9px;
        margin: 0;

        font-size: 13px;
    }

    .logo img {
        width: 20px;
        height: 20px;
    }

    /* Article content */
    .content-all {
        padding-top: 20px;
        padding-right: 0;
        padding-left: 0;
    }

    .content-item {
        margin-bottom: 38px;
    }

    .content-media {
        width: 100%;
    }

    .content-image {
        width: 100%;
        max-height: none;
        border-radius: 6px;
        object-fit: cover;
    }

    .content-heading {
        margin-top: 12px;
        margin-bottom: 28px;
        padding-left: 12px;

        font-size: 13px;
        line-height: 1.5;
    }

    .content-heading::before {
        width: 3px;
    }

    .content-description {
        margin-bottom: 36px;

        font-size: 16px;
        line-height: 1.75;
    }

    /* Share section */
    .blog-share {
        width: 100%;

        margin-top: 10px;
        padding-top: 20px;
    }

    .blog-share-title {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .blog-share-button {
        display: inline-flex;
        width: auto;

        align-items: center;
        justify-content: flex-start;

        font-size: 14px;
    }

    .blog-share-icon {
        width: 18px;
        height: 18px;
    }

    /* CTA */
    .blog-cta {
        margin-top: 55px;
        margin-bottom: 20px;
        padding-top: 32px;
    }

    .blog-cta-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;

        padding: 28px 22px;
        border-radius: 10px;
    }

    .blog-cta-label {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .blog-cta h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .blog-cta-button {
        width: 100%;
        min-height: 46px;
        box-sizing: border-box;

        justify-content: center;

        padding: 10px 16px;
    }
}


/* Extra small phones */
@media screen and (max-width: 380px) {
    .blogs-cover {
        padding: 0 13px;
    }

    .blogs-cover h1 {
        font-size: 25px;
    }

    .blog-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .blog-meta-divider {
        display: none;
    }

    .content-description {
        font-size: 15.5px;
    }

    .blog-cta-content {
        padding: 24px 18px;
    }

    .blog-cta h2 {
        font-size: 23px;
    }
}

/* Page entrance animations */

.blogs-cover h1 {
    opacity: 0;
    transform: translateY(18px);
    animation: blogFadeUp 0.6s ease forwards;
}

.subheader {
    opacity: 0;
    transform: translateY(14px);
    animation: blogFadeUp 0.6s ease forwards;
    animation-delay: 0.12s;
}

.content-item {
    opacity: 0;
    transform: translateY(22px);
    animation: blogFadeUp 0.65s ease forwards;
}

/* Stagger first few content sections */
.content-item:nth-child(1) {
    animation-delay: 0.2s;
}

.content-item:nth-child(2) {
    animation-delay: 0.3s;
}

.content-item:nth-child(3) {
    animation-delay: 0.4s;
}

.content-item:nth-child(4) {
    animation-delay: 0.5s;
}

.content-item:nth-child(5) {
    animation-delay: 0.6s;
}

/* Image reveal */
.content-image {
    opacity: 0;
    transform: scale(0.985);
    animation: blogImageReveal 0.75s ease forwards;
    animation-delay: 0.22s;
}

/* Share section */
.blog-share {
    opacity: 0;
    transform: translateY(18px);
    animation: blogFadeUp 0.6s ease forwards;
    animation-delay: 0.45s;
}

/* CTA */
.blog-cta {
    opacity: 0;
    transform: translateY(22px);
    animation: blogFadeUp 0.65s ease forwards;
    animation-delay: 0.55s;
}

/* Hover lift for article images */
.content-image {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.content-media:hover .content-image {
    transform: scale(1.01);
    box-shadow: 0 18px 38px rgba(6, 16, 31, 0.12);
}

/* CTA arrow movement */
.blog-cta-button span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.blog-cta-button:hover span {
    transform: translateX(4px);
}

/* LinkedIn icon movement */
.logo img,
.blog-share-icon {
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.logo:hover img,
.blog-share-button:hover .blog-share-icon {
    transform: translateX(2px);
}

/* Keyframes */
@keyframes blogFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blogImageReveal {
    from {
        opacity: 0;
        transform: scale(0.985);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .blogs-cover h1,
    .subheader,
    .content-item,
    .content-image,
    .blog-share,
    .blog-cta {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .content-image,
    .blog-cta-button span,
    .logo img,
    .blog-share-icon {
        transition: none;
    }
}
