/*
Theme Name: Aligus
Theme URI: https://example.com
Author: Pulseplaydigital
Description: Custom WordPress Theme
Version: 1.0
Text Domain: aligus
*/

body{
    margin:0;
    padding:0;
    font-family: Inter, sans-serif !important;
}
h1,h2,h3,h4,h5,h6,div, a, p, span, li{font-family: Inter, sans-serif !important;
}
/* Fixed Header Style */
.main-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
    animation: headerSlideDown 0.3s ease;
}
span.hfe-breadcrumbs-text {
    color: #333;
}
span.hfe-breadcrumbs-text:hover {
    color: #333;
}
/* Smooth Animation */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.case-studies-content.is-layout-flex{
    display: flex;
    align-items: flex-start !important;
    padding-top: 30px !important;
}

@media (max-width: 1299px) {
    .results {
        display: flex;
        flex-direction: column-reverse !important;
        flex-wrap: wrap;
    }
}

/* single blog  */

/* ── Responsive ── */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 24px;
    }

    .sp-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sp-sidebar {
        position: static;
        width: 100%;
    }

    .sp-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
.case-studies-content.is-layout-flex{
    display: flex;
    align-items: flex-start !important;
    padding-top: 30px !important;
	gap:0 !important;
	        flex-direction: column;
}
    .sp-hero {
        min-height: 360px;
    }

    .sp-hero__content {
        padding: 42px 0 36px;
    }

    .sp-hero__title {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 16px;
        word-break: break-word;
    }

    .sp-hero__meta {
        font-size: 13px;
        gap: 6px 10px;
    }

    .sp-body {
        padding: 32px 0 56px;
        gap: 32px;
    }

    .sp-share {
        gap: 8px;
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .sp-share__label {
        width: 100%;
        margin-bottom: 4px;
    }

    .sp-share a,
    .sp-share button {
        padding: 7px 10px;
        font-size: 11px;
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        min-height: 36px;
    }

    .sp-content {
        font-size: 16px;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    .sp-content h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .sp-content h3 {
        font-size: 20px;
        line-height: 1.35;
    }

    .sp-content h4 {
        font-size: 17px;
    }

    .sp-content blockquote {
        font-size: 17px;
        padding: 16px 18px;
    }

    .sp-content img {
        height: auto;
        max-width: 100%;
    }

    .sp-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .sp-tags {
        gap: 7px;
    }

    .sp-tags__lbl {
        width: 100%;
    }

    .sp-related {
        margin-top: 44px;
    }

    .sp-section-title {
        font-size: 20px;
        gap: 10px;
    }

    .sp-related__grid {
        grid-template-columns: 1fr;
    }

    .sp-related__thumb,
    .sp-related__placeholder {
        height: 190px;
    }

    .sp-widget__body {
        padding: 16px;
    }

    #toc-list {
        max-height: 260px;
        overflow-y: auto;
    }

    .ss-list a {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .sp-hero {
        min-height: 320px;
    }

    .sp-hero__title {
        font-size: 24px;
    }

    .sp-hero__cat {
        font-size: 10px;
        padding: 5px 11px;
    }

    .sp-share a,
    .sp-share button {
        flex: 1 1 100%;
    }

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

    .sp-content h2 {
        font-size: 22px;
    }

    .sp-content h3 {
        font-size: 19px;
    }

    .sp-related__thumb,
    .sp-related__placeholder {
        height: 170px;
    }
}