/*
Theme Name: GetInsights360 Newspaperup Child
Theme URI: https://getinsights360.com/
Description: Custom child theme for GetInsights360 based on Newspaperup.
Author: GetInsights360
Template: newspaperup
Version: 1.0.1
*/


/* =========================================================
   GETINSIGHTS360 TAG ARCHIVE
========================================================= */

.gi-tag-page {
    width: 100%;
}

.gi-tag-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   TAG HEADER
========================================================= */

.gi-tag-hero {
    padding: 50px 0 45px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}


/* TAG TITLE */

.gi-tag-title {
    margin: 0 0 15px;

    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;
}


/* TAG DESCRIPTION */

.gi-tag-description {
    max-width: 760px;

    margin: 0;

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   ARTICLES SECTION
========================================================= */

.gi-tag-articles {
    padding: 50px 0 70px;
}


/* SECTION TITLE */

.gi-tag-section-title {
    margin: 0 0 30px;

    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}


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

.gi-tag-grid {
    display: grid;

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

    gap: 30px;
}


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

.gi-tag-card {
    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.10);

    background: #ffffff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* CARD HOVER */

.gi-tag-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}


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

.gi-tag-card-image {
    display: block;

    width: 100%;
    height: 230px;

    overflow: hidden;
}


/* IMAGE */

.gi-tag-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}


/* IMAGE HOVER */

.gi-tag-card:hover .gi-tag-card-image img {
    transform: scale(1.04);
}


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

.gi-tag-card-content {
    padding: 24px;
}


/* =========================================================
   ARTICLE DATE
========================================================= */

.gi-tag-card-meta {
    margin-bottom: 10px;

    font-size: 12px;

    opacity: 0.65;
}


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

.gi-tag-card-title {
    margin: 0 0 12px;

    font-size: 22px;
    line-height: 1.3;
}


/* TITLE LINK */

.gi-tag-card-title a {
    text-decoration: none;
}


/* =========================================================
   ARTICLE EXCERPT
========================================================= */

.gi-tag-card-excerpt {
    margin: 0;

    line-height: 1.7;
}


/* =========================================================
   READ MORE
========================================================= */

.gi-tag-read-more {
    display: inline-block;

    margin-top: 16px;

    font-weight: 600;

    text-decoration: none;
}


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

.gi-tag-no-image {
    display: flex;

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

    width: 100%;
    height: 230px;

    background: #f4f4f4;

    font-size: 14px;

    text-decoration: none;
}


/* =========================================================
   PAGINATION
========================================================= */

.gi-tag-pagination {
    margin-top: 50px;

    text-align: center;
}


.gi-tag-pagination .page-numbers {
    display: inline-flex;

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

    min-width: 40px;
    height: 40px;

    margin: 0 4px;

    border: 1px solid rgba(0, 0, 0, 0.12);

    text-decoration: none;
}


.gi-tag-pagination .page-numbers.current {
    font-weight: 700;
}


/* =========================================================
   NO ARTICLES
========================================================= */

.gi-tag-no-results {
    padding: 30px 0;
}


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

@media (max-width: 991px) {

    /* TAG HEADER */

    .gi-tag-hero {
        padding: 45px 0 40px;
    }


    .gi-tag-title {
        font-size: 42px;
    }


    /* ARTICLE GRID */

    .gi-tag-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 25px;
    }

}


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

@media (max-width: 767px) {

    /* CONTAINER */

    .gi-tag-container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* TAG HEADER */

    .gi-tag-hero {
        padding: 40px 0;
    }


    .gi-tag-title {
        font-size: 36px;

        line-height: 1.15;
    }


    .gi-tag-description {
        font-size: 16px;

        line-height: 1.6;
    }


    /* ARTICLES */

    .gi-tag-articles {
        padding: 40px 0 50px;
    }


    /* ARTICLE GRID */

    .gi-tag-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* ARTICLE IMAGE */

    .gi-tag-card-image {
        height: auto;

        aspect-ratio: 16 / 9;
    }


    /* SECTION TITLE */

    .gi-tag-section-title {
        font-size: 26px;
    }


    /* ARTICLE TITLE */

    .gi-tag-card-title {
        font-size: 21px;
    }

}