{# Settings #}
{% set root = "../../" %}
{% set mainNavActive_1 = "blog" %}
{% set mainNavActive_2 = "blog-masonry" %}
{% set mainNavActive_3 = "blog-masonry-col-2" %}
{% set title = "Blog Masonry Grid 2 | " %}

{% include "html/assets/include/nunjucks/partials/head.njk" %}
    {% include "html/assets/include/nunjucks/partials/core-fonts.njk" %}
    {% include "html/assets/include/nunjucks/partials/core-css.njk" %}
    <link rel="stylesheet" href="{{ root }}assets/vendor/icon-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="{{ root }}assets/vendor/icon-hs/style.css">
    <link rel="stylesheet" href="{{ root }}assets/vendor/icon-line-pro/style.css">
    <link rel="stylesheet" href="{{ root }}assets/vendor/animate.css">
    <link rel="stylesheet" href="{{ root }}assets/vendor/fancybox/jquery.fancybox.css">
    <link rel="stylesheet" href="{{ root }}assets/vendor/hs-megamenu/src/hs.megamenu.css">
    <link rel="stylesheet" href="{{ root }}assets/vendor/hamburgers/hamburgers.min.css">

    {% include "html/assets/include/nunjucks/partials/css/css-unify.njk" %}
    {% include "html/assets/include/nunjucks/partials/css/css-custom.njk" %}
  </head>

  <body>
    <main>
      {% include "html/assets/include/nunjucks/partials/blocks/headers/header-main.njk" %}

      <!-- Breadcrumbs -->
      <section class="g-bg-gray-light-v5 g-py-50">
        <div class="container">
          <div class="d-sm-flex text-center">
            <div class="align-self-center">
              <h2 class="h3 g-font-weight-300 w-100 g-mb-10 g-mb-0--md">Masonry Grid 2</h2>
            </div>

            <div class="align-self-center ml-auto">
              <ul class="u-list-inline">
                <li class="list-inline-item g-mr-5">
                  <a class="u-link-v5 g-color-main g-color-primary--hover" href="#">Home</a>
                  <i class="g-color-gray-light-v2 g-ml-5">/</i>
                </li>
                <li class="list-inline-item g-mr-5">
                  <a class="u-link-v5 g-color-main g-color-primary--hover" href="#">Blog</a>
                  <i class="g-color-gray-light-v2 g-ml-5">/</i>
                </li>
                <li class="list-inline-item g-color-primary">
                  <span>Masonry Grid 2</span>
                </li>
              </ul>
            </div>
          </div>
        </div>
      </section>
      <!-- End Breadcrumbs -->

      <!-- Blog Masonry Blocks -->
      <div class="container g-pt-100 g-pb-70">
        <div class="masonry-grid row g-mb-70">
          <div class="masonry-grid-sizer col-sm-1"></div>

          <div class="masonry-grid-item col-lg-6 g-mb-30">
            <!-- Article -->
            <article class="u-shadow-v11 g-bg-cover g-bg-size-cover g-bg-pos-top-center g-bg-purple-gradient-opacity-v1--after" style="background-image: url({{ root }}assets/img-temp/500x450/img11.jpg);">
              <div class="g-pos-rel g-z-index-1 g-px-50 g-py-60">
                <div class="mb-5">
                  <div class="g-width-20 g-height-1 g-bg-white-opacity-0_5 mb-4"></div>
                  <span class="d-block g-color-white-opacity-0_9">Maria Woody</span>
                  <h4 class="h4 g-color-white-opacity-0_9">Exclusive interview with InVision's CEO</h4>
                </div>
                <h2 class="g-color-white g-font-weight-700 g-font-size-45 text-capitalize mb-5">InVision</h2>
                <a class="btn btn-md u-btn-outline-white g-font-weight-600 text-uppercase g-rounded-25 g-px-25" href="#">Read more</a>
              </div>
            </article>
            <!-- End Article -->
          </div>

          <div class="masonry-grid-item col-sm-6 col-lg-6 g-mb-30">
            <!-- Article -->
            <article class="u-shadow-v11 g-bg-white g-pos-rel">
              <img class="img-fluid w-100" src="{{ root }}assets/img-temp/500x450/img6.jpg" alt="Image Description">
              <div class="g-pa-30">
                <h3 class="h4 g-color-black g-font-weight-600 text-capitalize mb-3">
                  <a class="g-color-black g-color-primary--hover g-text-underline--none--hover" href="#">More than a look, design is functional.</a>
                </h3>
                <a href="#">Read more</a>
              </div>
            </article>
            <!-- End Article -->
          </div>

          <div class="masonry-grid-item col-sm-6 col-lg-6 g-mb-30">
            <!-- Article -->
            <article class="u-shadow-v11 g-bg-white g-pos-rel">
              <img class="img-fluid w-100" src="{{ root }}assets/img-temp/600x300/img2.jpg" alt="Image Description">
              <div class="g-pa-30">
                <div class="mb-4">
                  <h3 class="h4 g-color-black g-font-weight-600 text-capitalize mb-3">
                    <a class="g-color-black g-color-primary--hover g-text-underline--none--hover" href="#">Google I/O'17: Google Lens</a>
                  </h3>
                  <p class="g-color-gray-dark-v5">Impressive technology. But it's fake technology. Where does it stop?</p>
                </div>
                <div class="d-flex justify-content-start">
                  <a class="align-self-center g-color-gray-dark-v5 g-color-black--hover g-text-underline--none--hover" href="#">Hi-tech.</a>
                  <a class="align-self-center ml-auto" href="#">Read more</a>
                </div>
              </div>
            </article>
            <!-- End Article -->
          </div>

          <div class="masonry-grid-item col-sm-6 col-lg-6 g-mb-30">
            <!-- Article -->
            <article class="u-shadow-v11 g-bg-white g-pos-rel">
              <img class="img-fluid w-100" src="{{ root }}assets/img-temp/700x350/img1.jpg" alt="Image Description">
              <div class="g-pa-30">
                <div class="mb-4">
                  <h3 class="h4 g-color-black g-font-weight-600 text-capitalize mb-3">
                    <a class="g-color-black g-color-primary--hover g-text-underline--none--hover" href="#">Cybersecurity and Privacy Questionnaire</a>
                  </h3>
                  <p class="g-color-gray-dark-v5">A survey of your knowledge towards cybersecurity topics.</p>
                </div>
                <div class="d-flex justify-content-start">
                  <a class="align-self-center g-color-gray-dark-v5 g-color-black--hover g-text-underline--none--hover" href="#">Security.</a>
                  <a class="align-self-center ml-auto" href="#">Read more</a>
                </div>
              </div>
            </article>
            <!-- End Article -->
          </div>

          <div class="masonry-grid-item col-lg-6 g-mb-30">
            <!-- Article -->
            <article class="u-shadow-v11 g-bg-cover g-bg-size-cover g-bg-pos-center g-bg-purple-gradient-opacity-v1--after" style="background-image: url({{ root }}assets/img-temp/600x450/img6.jpg);">
              <div class="g-pos-rel g-z-index-1 g-px-50 g-py-60">
                <a class="js-fancybox d-block mb-5" href="javascript:;"
                   data-src="//www.youtube.com/embed/BNpiwOkKIJ8?autoplay=1"
                   data-speed="350"
                   data-caption="Single Image">
                  <span class="u-icon-v3 g-bg-white g-color-black g-color-primary--hover g-rounded-50x g-font-size-15 g-cursor-pointer">
                    <i class="g-pos-rel g-left-2 fa fa-play"></i>
                  </span>
                </a>
                <h2 class="g-color-white g-font-weight-700 g-font-size-45 text-capitalize mb-3">Unify</h2>
                <div class="g-pr-100--md">
                  <p class="g-color-white-opacity-0_8">We are a creative studio focusing on culture, luxury, editorial &amp; art.</p>
                </div>
              </div>
            </article>
            <!-- End Article -->
          </div>

          <div class="masonry-grid-item col-sm-6 col-lg-6 g-mb-30">
            <!-- Article -->
            <article class="u-shadow-v11 g-bg-white g-pos-rel g-pa-30">
              <h3 class="h4 g-color-black g-font-weight-600 text-capitalize mb-4">
                <a class="g-color-black g-color-primary--hover g-text-underline--none--hover" href="#">Free virtual conference to take your agile ux skills to the next level</a>
              </h3>
              <div class="d-flex justify-content-start">
                <img class="d-block align-self-center g-width-30 g-height-30 rounded-circle mr-3" src="{{ root }}assets/img-temp/100x100/img4.jpg" alt="Image Description">
                <a class="align-self-center g-color-gray-dark-v5 g-color-black--hover g-text-underline--none--hover" href="#">Kate</a>
              </div>
            </article>
            <!-- End Article -->
          </div>

          <div class="masonry-grid-item col-sm-6 col-lg-6 g-mb-30">
            <!-- Article -->
            <article class="g-bg-teal g-pa-30">
              <h3 class="h4 g-color-white g-font-weight-600 text-capitalize mb-0">
                <a class="g-color-white g-color-white--hover" href="#">10 Typography Tips Every Business Should Know</a>
              </h3>
            </article>
            <!-- End Article -->
          </div>
        </div>

        <!-- Pagination -->
        <nav class="text-center" aria-label="Page Navigation">
          <ul class="list-inline">
            <li class="list-inline-item float-left">
              <a class="u-pagination-v1__item u-pagination-v1-4 g-brd-gray-light-v3 g-brd-primary--hover g-rounded-50 g-pa-7-16" href="#" aria-label="Previous">
              <span aria-hidden="true">
                <i class="fa fa-angle-left g-mr-5"></i> Previous
              </span>
                <span class="sr-only">Previous</span>
              </a>
            </li>
            <li class="list-inline-item g-hidden-sm-down">
              <a class="u-pagination-v1__item u-pagination-v1-4 u-pagination-v1-4--active g-rounded-50 g-pa-7-14" href="#">1</a>
            </li>
            <li class="list-inline-item g-hidden-sm-down">
              <a class="u-pagination-v1__item u-pagination-v1-4 g-rounded-50 g-pa-7-14" href="#">2</a>
            </li>
            <li class="list-inline-item float-right">
              <a class="u-pagination-v1__item u-pagination-v1-4 g-brd-gray-light-v3 g-brd-primary--hover g-rounded-50 g-pa-7-16" href="#" aria-label="Next">
              <span aria-hidden="true">
                Next <i class="fa fa-angle-right g-ml-5"></i>
              </span>
                <span class="sr-only">Next</span>
              </a>
            </li>
          </ul>
        </nav>
        <!-- End Pagination -->
      </div>
      <!-- End Blog Masonry Blocks -->

      {% include "html/assets/include/nunjucks/partials/blocks/footers/footer-main.njk" %}
      {% include "html/assets/include/nunjucks/partials/blocks/footers/copyright-footer-main.njk" %}
      {% include "html/assets/include/nunjucks/partials/blocks/go-to-top/go-to-top-1.njk" %}
    </main>

    {% include "html/assets/include/nunjucks/partials/blocks/helpers/outer-spaces-helper.njk" %}

    {% include "html/assets/include/nunjucks/partials/core-js.njk" %}

    <!-- JS Implementing Plugins -->
    <script src="{{ root }}assets/vendor/hs-megamenu/src/hs.megamenu.js"></script>
    <script src="{{ root }}assets/vendor/fancybox/jquery.fancybox.min.js"></script>
    <script src="{{ root }}assets/vendor/masonry/dist/masonry.pkgd.min.js"></script>
    <script src="{{ root }}assets/vendor/imagesloaded/imagesloaded.pkgd.min.js"></script>

    <!-- JS Unify -->
    <script src="{{ root }}assets/js/hs.core.js"></script>
    <script src="{{ root }}assets/js/components/hs.header.js"></script>
    <script src="{{ root }}assets/js/helpers/hs.hamburgers.js"></script>
    <script src="{{ root }}assets/js/components/hs.tabs.js"></script>
    <script src="{{ root }}assets/js/components/hs.popup.js"></script>
    <script src="{{ root }}assets/js/components/hs.go-to.js"></script>

    <!-- JS Customization -->
    <script src="{{ root }}assets/js/custom.js"></script>

    <!-- JS Plugins Init. -->
    <script>
      $(document).on('ready', function () {
        // initialization of tabs
        $.HSCore.components.HSTabs.init('[role="tablist"]');

        // initialization of popups
        $.HSCore.components.HSPopup.init('.js-fancybox');

        // initialization of go to
        $.HSCore.components.HSGoTo.init('.js-go-to');
      });

      $(window).on('load', function () {
        // initialization of header
        $.HSCore.components.HSHeader.init($('#js-header'));
        $.HSCore.helpers.HSHamburgers.init('.hamburger');

        // initialization of HSMegaMenu component
        $('.js-mega-menu').HSMegaMenu({
          event: 'hover',
          pageContainer: $('.container'),
          breakpoint: 991
        });

        // initialization of masonry
        $('.masonry-grid').imagesLoaded().then(function () {
          $('.masonry-grid').masonry({
            columnWidth: '.masonry-grid-sizer',
            itemSelector: '.masonry-grid-item',
            percentPosition: true
          });
        });
      });

      $(window).on('resize', function () {
        setTimeout(function () {
          $.HSCore.components.HSTabs.init('[role="tablist"]');
        }, 200);
      });
    </script>

    {% set SSCookiePrefix = "unify" %}
    {% set SSDefaultCustomColor = "#72c02c" %}
    {% set SSDefaultOuterSpaces = "0px" %}
    {% set SSDefaultContentFont = "Open Sans, Helvetica, Arial, sans-serif" %}
    {% set SSDefaultHeadingFont = "Open Sans, Helvetica, Arial, sans-serif" %}
    {% include "html/assets/include/nunjucks/partials/blocks/style-switcher.njk" %}
  </body>
</html>
