/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ==================================================
   GREAT AGENCY — SINGLE PROJECT
================================================== */

.ga-project {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    color: #111;
}

.ga-project *,
.ga-project *::before,
.ga-project *::after {
    box-sizing: border-box;
}

.ga-project-container {
    width: calc(100% - 40px);
    max-width: 1300px;
    margin: 0 auto;
}


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

.ga-project-hero {
    height: 475px;
    align-content: center;
}

.ga-project-hero-inner {
    text-align: center;
}


/* Category */

.ga-project-category {
    margin-bottom: 10px;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .08em;
    opacity: .5;
}


/* Main hero tagline */

.ga-project-tagline {
    max-width: 1100px;
    margin: 0 auto;

    font-size: 5em;
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.055em;
}


/* ==================================================
   PROJECT INTRODUCTION
================================================== */

.ga-project-intro-section {
    padding: 20px 0 20px;

    text-align: center;
}


/* Title + subtitle */

.ga-project-intro-heading {
    margin-bottom: 35px;
}


.ga-project-intro-title {
    margin: 0;

    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}


.ga-project-intro-subtitle {
    margin-top: 10px;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;

    opacity: .6;
}


/* Paragraph */

.ga-project-intro {
    width: 68%;
    max-width: 850px;

    margin: 0 auto;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;

    text-align: center;
}


.ga-project-intro p {
    margin: 0;
}

/* ==================================================
   PROJECT INFO
================================================== */

.ga-project-info-section {
    padding-bottom: 100px;
}

.ga-project-info {
    display: flex;
    gap: 50px;
	justify-content: center;

}

.ga-project-info-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
	    align-items: center;
}

.ga-project-info-label {
    color: rgba(17, 17, 17, .5);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.ga-project-info-value {
    color: #111;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;

    text-decoration: none;
}

.ga-project-website {
    width: fit-content;
    transition: opacity .25s ease;
}

.ga-project-website:hover {
    opacity: .55;
}


/* ==================================================
   OPTIONAL WORDPRESS CONTENT
================================================== */

.ga-project-editor-content-section {
    padding: 0 0 100px;
}

.ga-project-editor-content {
    width: 68%;
    max-width: 850px;
    margin: 0 auto;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.ga-project-editor-content p {
    margin: 0 0 24px;
}

.ga-project-editor-content p:last-child {
    margin-bottom: 0;
}

.ga-project-editor-content h2 {
    margin: 70px 0 25px;

    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.ga-project-editor-content h3 {
    margin: 50px 0 20px;

    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
}

.ga-project-editor-content ul,
.ga-project-editor-content ol {
    margin: 25px 0;
    padding-left: 22px;
}

.ga-project-editor-content li {
    margin-bottom: 8px;
}


/* ==================================================
   GALLERY
================================================== */

.ga-project-gallery {
    padding-bottom: 130px;
}

.ga-project-gallery-row {
    display: grid;

    width: 100%;

    gap: 20px;
    margin-bottom: 20px;
}

.ga-project-gallery-row:last-child {
    margin-bottom: 0;
}


/* One full-width image */

.ga-project-gallery-row--1 {
    grid-template-columns: minmax(0, 1fr);
}


/* Two images */

.ga-project-gallery-row--2 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


.ga-project-image {
    display: block;

    width: 100%;

    margin: 0;

    overflow: hidden;

    border-radius: 10px;
}


.ga-project-image-img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    transition:
        transform 1.2s
        cubic-bezier(.16, 1, .3, 1);
}


@media (hover: hover) {

    .ga-project-image:hover
    .ga-project-image-img {

        transform: scale(1.015);
    }
}


/* ==================================================
   CREDITS
================================================== */

.ga-project-credits-section {
    padding: 0 0 120px;
}

.ga-project-credits {
    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 40px;

    padding-top: 22px;

    border-top: 1px solid rgba(0, 0, 0, .18);
}

.ga-project-credits-title {
    font-size: 14px;
    font-weight: 500;
}

.ga-project-credits-content {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.ga-project-credits-content p {
    margin-top: 0;
}

.ga-project-credits-content p:last-child {
    margin-bottom: 0;
}


/* ==================================================
   PREVIOUS / NEXT PROJECTS
================================================== */

.ga-project-navigation {
    padding: 30px 0 130px;
}

.ga-project-navigation-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 40px;

    padding-top: 25px;

    border-top: 1px solid rgba(0, 0, 0, .18);
}

.ga-project-nav-side {
    min-width: 0;
}

.ga-project-nav-next {
    text-align: right;
}

.ga-project-nav-link {
    display: inline-flex;
    flex-direction: column;

    max-width: 100%;

    color: #111;
    text-decoration: none;
}

.ga-project-nav-label {
    margin-bottom: 22px;

    color: rgba(17, 17, 17, .5);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}

.ga-project-nav-title {
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.035em;

    transition:
        transform .5s cubic-bezier(.16, 1, .3, 1),
        opacity .3s ease;
}

.ga-project-nav-prev
.ga-project-nav-link:hover
.ga-project-nav-title {

    transform: translateX(-7px);
}

.ga-project-nav-next
.ga-project-nav-link:hover
.ga-project-nav-title {

    transform: translateX(7px);
}


/* ==================================================
   REVEAL ANIMATION
================================================== */

.ga-reveal {
    opacity: 0;

    transform: translate3d(0, 40px, 0);

    transition:
        opacity .8s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);

    will-change: opacity, transform;
}

.ga-reveal.ga-reveal-visible {
    opacity: 1;

    transform: translate3d(0, 0, 0);
}


/* Hero stagger */

.ga-project-category.ga-reveal {
    transition-delay: 0ms;
}

.ga-project-tagline.ga-reveal {
    transition-delay: 80ms;
}

.ga-project-intro-heading.ga-reveal {
    transition-delay: 0ms;
}

.ga-project-intro.ga-reveal {
    transition-delay: 80ms;
}

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

@media (max-width: 1024px) {

    .ga-project-hero {
        padding: 130px 0 90px;
    }

    .ga-project-intro,
    .ga-project-editor-content {
        width: 78%;
    }

}


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

@media (max-width: 767px) {

    .ga-project-container {
        width: calc(100% - 32px);
    }


    /* HERO */

    .ga-project-hero {
        height: 40vh;
		align-items: center;
    }


    .ga-project-category {
        margin-bottom: 10px;
        font-size: 16px;
    }


    .ga-project-tagline {
        font-size: 44px;
        line-height: .98;
    }


    .ga-project-intro-section {
        padding: 10px 0 75px;
    }


    .ga-project-intro-heading {
        margin-bottom: 28px;
    }


    .ga-project-intro-title {
        font-size: 25px;
    }


    .ga-project-intro-subtitle {
        margin-top: 8px;

        font-size: 14px;
    }


    .ga-project-intro {
        width: 100%;
        max-width: 100%;

        font-size: 18px;
        line-height: 1.55;
    }
    /* INFO */

    .ga-project-info-section {
        padding-bottom: 70px;
    }

    .ga-project-info {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    /* OPTIONAL CONTENT */

    .ga-project-editor-content-section {
        padding-bottom: 75px;
    }

    .ga-project-editor-content {
        width: 100%;
        max-width: 100%;

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

    .ga-project-editor-content h2 {
        margin-top: 50px;
    }


    /* GALLERY */

    .ga-project-gallery {
        padding-bottom: 90px;
    }

    .ga-project-gallery-row,
    .ga-project-gallery-row--1,
    .ga-project-gallery-row--2 {

        grid-template-columns: 1fr;

        gap: 16px;
        margin-bottom: 16px;
    }

    .ga-project-image {
        border-radius: 7px;
    }


    /* CREDITS */

    .ga-project-credits-section {
        padding-bottom: 90px;
    }

    .ga-project-credits {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* PREVIOUS / NEXT */

    .ga-project-navigation {
        padding: 20px 0 90px;
    }

    .ga-project-navigation-inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 20px;
    }

    .ga-project-nav-label {
        margin-bottom: 14px;

        font-size: 12px;
    }

    .ga-project-nav-title {
        font-size: 24px;
        line-height: 1.05;
    }

}


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

@media (prefers-reduced-motion: reduce) {

    .ga-reveal {
        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    .ga-project-image-img,
    .ga-project-nav-title {

        transition: none !important;
    }

}