/* global */

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: kallisto, sans-serif;
    background-color: #fff;
    color: var(--font-color);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

p,
span {
    font-family: "owners-text", sans-serif;
}

/* end of global */

@media(min-width: 1366px) {
    .blogs-grid {
        margin: 40px 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 24px;
    }
    .blog-item {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid #e6e6e6;
        border-radius: 16px;
        overflow: hidden;
        transition: 0.2s all ease-out;
    }
    .blog-item:hover {
        border-color: var(--primary-color);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }
    .blog-image {
        width: 100%;
        height: 220px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        transition: 0.4s transform ease-out;
    }
    .blog-item:hover .blog-image {
        transform: scale(1.05);
    }
    .blog-texts {
        padding: 18px 20px 20px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        background: #fff;
        position: relative;
        z-index: 1;
    }
    .blog-title {
        font-family: 'owners-text', sans-serif;
        margin: 0 0 6px 0;
        font-size: 19px;
        font-weight: 700;
        line-height: 1.35;
        color: var(--font-color);
        text-decoration: none;
        text-align: left;
        transition: 0.15s all ease-out;
    }
    .blog-title:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    .blog-item p {
        margin: 0 0 16px 0;
        font-size: 13px;
        font-weight: 600;
        color: #8a8a8a;
        text-align: left;
    }
    .blog-button {
        display: inline-block;
        border-radius: 100px;
        margin: auto 0 0 0;
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 700;
        background: var(--primary-color);
        color: #fff;
        text-decoration: none;
        text-align: center;
        transition: 0.15s all ease-out;
    }
    .blog-button:hover {
        opacity: 0.9;
        box-shadow: 0 8px 18px rgba(204, 32, 37, 0.3);
    }
    .pagination-container {
        margin: 40px auto 10px auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .previous-next {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--primary-color);
        text-decoration: none;
        padding: 10px 18px;
        border: 1px solid #e0e0e0;
        border-radius: 100px;
        transition: 0.15s all ease-out;
    }
    .previous-next:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }
    .pagination-container span {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--font-color);
        opacity: 0.4;
    }
    .page-number-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .page-number-container a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #e0e0e0;
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: var(--font-color);
        text-decoration: none;
        margin: 0;
        transition: 0.15s all ease-out;
    }
    .page-number-container a:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    .page-number-container span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--primary-color);
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        opacity: 1;
        margin: 0;
    }
}

@media(max-width: 1366px) and (min-width: 1024px) {
    .blogs-grid {
        margin: 40px 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 24px;
    }
    .blog-item {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid #e6e6e6;
        border-radius: 16px;
        overflow: hidden;
        transition: 0.2s all ease-out;
    }
    .blog-item:hover {
        border-color: var(--primary-color);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }
    .blog-image {
        width: 100%;
        height: 200px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        transition: 0.4s transform ease-out;
    }
    .blog-item:hover .blog-image {
        transform: scale(1.05);
    }
    .blog-texts {
        padding: 18px 20px 20px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        background: #fff;
        position: relative;
        z-index: 1;
    }
    .blog-title {
        font-family: 'owners-text', sans-serif;
        margin: 0 0 6px 0;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
        color: var(--font-color);
        text-decoration: none;
        text-align: left;
        transition: 0.15s all ease-out;
    }
    .blog-title:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    .blog-item p {
        margin: 0 0 16px 0;
        font-size: 13px;
        font-weight: 600;
        color: #8a8a8a;
        text-align: left;
    }
    .blog-button {
        display: inline-block;
        border-radius: 100px;
        margin: auto 0 0 0;
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 700;
        background: var(--primary-color);
        color: #fff;
        text-decoration: none;
        text-align: center;
        transition: 0.15s all ease-out;
    }
    .blog-button:hover {
        opacity: 0.9;
        box-shadow: 0 8px 18px rgba(204, 32, 37, 0.3);
    }
    .pagination-container {
        margin: 40px auto 10px auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .previous-next {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--primary-color);
        text-decoration: none;
        padding: 10px 18px;
        border: 1px solid #e0e0e0;
        border-radius: 100px;
        transition: 0.15s all ease-out;
    }
    .previous-next:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }
    .pagination-container span {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--font-color);
        opacity: 0.4;
    }
    .page-number-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .page-number-container a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #e0e0e0;
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: var(--font-color);
        text-decoration: none;
        margin: 0;
        transition: 0.15s all ease-out;
    }
    .page-number-container a:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    .page-number-container span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--primary-color);
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        opacity: 1;
        margin: 0;
    }
}

@media(max-width: 1024px) and (min-width: 769px) {
    .blogs-grid {
        margin: 40px 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 24px;
    }
    .blog-item {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid #e6e6e6;
        border-radius: 16px;
        overflow: hidden;
        transition: 0.2s all ease-out;
    }
    .blog-item:hover {
        border-color: var(--primary-color);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }
    .blog-image {
        width: 100%;
        height: 200px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        transition: 0.4s transform ease-out;
    }
    .blog-item:hover .blog-image {
        transform: scale(1.05);
    }
    .blog-texts {
        padding: 18px 20px 20px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        background: #fff;
        position: relative;
        z-index: 1;
    }
    .blog-title {
        font-family: 'owners-text', sans-serif;
        margin: 0 0 6px 0;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
        color: var(--font-color);
        text-decoration: none;
        text-align: left;
        transition: 0.15s all ease-out;
    }
    .blog-title:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    .blog-item p {
        margin: 0 0 16px 0;
        font-size: 13px;
        font-weight: 600;
        color: #8a8a8a;
        text-align: left;
    }
    .blog-button {
        display: inline-block;
        border-radius: 100px;
        margin: auto 0 0 0;
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 700;
        background: var(--primary-color);
        color: #fff;
        text-decoration: none;
        text-align: center;
        transition: 0.15s all ease-out;
    }
    .blog-button:hover {
        opacity: 0.9;
        box-shadow: 0 8px 18px rgba(204, 32, 37, 0.3);
    }
    .pagination-container {
        margin: 40px auto 10px auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .previous-next {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--primary-color);
        text-decoration: none;
        padding: 10px 18px;
        border: 1px solid #e0e0e0;
        border-radius: 100px;
        transition: 0.15s all ease-out;
    }
    .previous-next:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }
    .pagination-container span {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--font-color);
        opacity: 0.4;
    }
    .page-number-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .page-number-container a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #e0e0e0;
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: var(--font-color);
        text-decoration: none;
        margin: 0;
        transition: 0.15s all ease-out;
    }
    .page-number-container a:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    .page-number-container span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--primary-color);
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        opacity: 1;
        margin: 0;
    }
}

@media(max-width: 769px) {
    .blogs-grid {
        margin: 40px 0;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 24px;
    }
    .blog-item {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid #e6e6e6;
        border-radius: 16px;
        overflow: hidden;
        transition: 0.2s all ease-out;
    }
    .blog-item:hover {
        border-color: var(--primary-color);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }
    .blog-image {
        width: 100%;
        height: 210px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        transition: 0.4s transform ease-out;
    }
    .blog-item:hover .blog-image {
        transform: scale(1.05);
    }
    .blog-texts {
        padding: 18px 20px 20px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        background: #fff;
        position: relative;
        z-index: 1;
    }
    .blog-title {
        font-family: 'owners-text', sans-serif;
        margin: 0 0 6px 0;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
        color: var(--font-color);
        text-decoration: none;
        text-align: left;
        transition: 0.15s all ease-out;
    }
    .blog-title:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    .blog-item p {
        margin: 0 0 16px 0;
        font-size: 13px;
        font-weight: 600;
        color: #8a8a8a;
        text-align: left;
    }
    .blog-button {
        display: inline-block;
        border-radius: 100px;
        margin: auto 0 0 0;
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 700;
        background: var(--primary-color);
        color: #fff;
        text-decoration: none;
        text-align: center;
        transition: 0.15s all ease-out;
    }
    .blog-button:hover {
        opacity: 0.9;
        box-shadow: 0 8px 18px rgba(204, 32, 37, 0.3);
    }
    .pagination-container {
        margin: 40px auto 10px auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .previous-next {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--primary-color);
        text-decoration: none;
        padding: 10px 18px;
        border: 1px solid #e0e0e0;
        border-radius: 100px;
        transition: 0.15s all ease-out;
    }
    .previous-next:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }
    .pagination-container span {
        font-family: 'owners-text', sans-serif;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--font-color);
        opacity: 0.4;
    }
    .page-number-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .page-number-container a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #e0e0e0;
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: var(--font-color);
        text-decoration: none;
        margin: 0;
        transition: 0.15s all ease-out;
    }
    .page-number-container a:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    .page-number-container span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--primary-color);
        font-family: 'owners-text', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        opacity: 1;
        margin: 0;
    }
}
