380
800
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<div class="m-listing-area">
    <a href="javascript:void(0)">
        <h3 class="m-listing-area__title">
            Consulting
            <span class="a-icon  m-listing-area__icon">
                <svg class="icon--arrow--md-right icon" role="img">
                    <use role="presentation" xlink:href="#icon--arrow--md-right" />
                </svg>
            </span>
        </h3>
    </a>

    <div class="m-listing-area__article">
        <article class="m-article-item    m-article-item--hover">
            <div class="m-article-item__inner">
                <div class="m-article-item__image">
                    <div class="m-article-item__image-inner">

                        <div class="a-image a-image--3:2">
                            <picture>
                                <source srcset="//placehold.dev.area17.com/image/511x341?, //placehold.dev.area17.com/image/1022x682? 2x" media="(max-width: 543px)">
                                <source srcset="//placehold.dev.area17.com/image/735x490?, //placehold.dev.area17.com/image/1470x980? 2x" media="(min-width: 544px) and (max-width: 767px)">
                                <source srcset="//placehold.dev.area17.com/image/232x155?, //placehold.dev.area17.com/image/464x310? 2x" media="(min-width: 768px) and (max-width: 1023px)">
                                <source srcset="//placehold.dev.area17.com/image/293x195?, //placehold.dev.area17.com/image/586x390? 2x" media="(min-width: 1024px) and (max-width: 1279px)">
                                <source srcset="//placehold.dev.area17.com/image/329x219?, //placehold.dev.area17.com/image/658x438? 2x" media="(min-width: 1280px) and (max-width: 1459px)">
                                <source srcset="//placehold.dev.area17.com/image/438x292?, //placehold.dev.area17.com/image/876x584? 2x" media="(min-width: 1460px) and (max-width: 1919px)">
                                <source srcset="//placehold.dev.area17.com/image/432x288?, //placehold.dev.area17.com/image/864x576? 2x" media="(min-width: 1920px)">
                                <img loading="lazy" src="//placehold.dev.area17.com/image/511x341?, //placehold.dev.area17.com/image/1022x682? 2x" width="375" height="250" alt="Placeholder image (3:2)" class="a-image__img" onload="this.classList.add('is-loaded')">
                            </picture>
                        </div>
                    </div>
                </div>

                <div class="m-article-item__main">

                    <h4 class="m-article-item__title">Create KPIs That Reflect Your Strategic Priorities</h4>

                    <p class="m-article-item__deck">Vitae, at porta pretium aliquet pellentesque.</p>

                    <div class="m-article-item__actions">
                        <div>
                            <a href="javascript:void(0)" class=" a-link-strong  a-link-strong--secondary ">
                                <span>Read Article</span>
                                <span class="a-icon  a-link-strong__icon">
                                    <svg class="icon--arrow--md-right icon" role="img">
                                        <use role="presentation" xlink:href="#icon--arrow--md-right" />
                                    </svg>
                                </span>
                            </a>
                        </div>
                    </div>
                </div>
        </article>
    </div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "title": "Consulting",
  "href": "javascript:void(0)",
  "article": {
    "image": {
      "sizes": {
        "(max-width: 543px)": "//placehold.dev.area17.com/image/511x341?, //placehold.dev.area17.com/image/1022x682? 2x",
        "(min-width: 544px) and (max-width: 767px)": "//placehold.dev.area17.com/image/735x490?, //placehold.dev.area17.com/image/1470x980? 2x",
        "(min-width: 768px) and (max-width: 1023px)": "//placehold.dev.area17.com/image/232x155?, //placehold.dev.area17.com/image/464x310? 2x",
        "(min-width: 1024px) and (max-width: 1279px)": "//placehold.dev.area17.com/image/293x195?, //placehold.dev.area17.com/image/586x390? 2x",
        "(min-width: 1280px) and (max-width: 1459px)": "//placehold.dev.area17.com/image/329x219?, //placehold.dev.area17.com/image/658x438? 2x",
        "(min-width: 1460px) and (max-width: 1919px)": "//placehold.dev.area17.com/image/438x292?, //placehold.dev.area17.com/image/876x584? 2x",
        "(min-width: 1920px)": "//placehold.dev.area17.com/image/432x288?, //placehold.dev.area17.com/image/864x576? 2x"
      },
      "ratio": "3:2",
      "width": 375,
      "height": 250,
      "alt": "Placeholder image (3:2)"
    },
    "title": "Create KPIs That Reflect Your Strategic Priorities",
    "deck": "Vitae, at porta pretium aliquet pellentesque.",
    "actions": [
      {
        "text": "Read Article",
        "href": "javascript:void(0)"
      }
    ]
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
<div class="m-listing-area">
	<a href="{{ href }}">
		<h3 class="m-listing-area__title">
			{{ title }}
			{% include 'components/atoms/icon/icon' with { icon: "arrow--md-right", class: "m-listing-area__icon" } %}
		</h3>
	</a>

	<div class="m-listing-area__article">
		{% include 'components/molecules/article-item/article-item' with ({ headingLevel: 'h4', hover: true })|merge(article) only %}
	</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
$m-listing-area: (
  xsmall: 6,
  small: 6,
  medium: 4,
  large: 4,
  xlarge: 3,
  xxlarge: 3,
  xxxlarge: 3,
);

.m-listing-area {
  @include width-multi($m-listing-area);

  & > a {
    @include link-focus;
    display: block;
  }

  &__title {
    @include f-heading-3;
    display: flex;
    align-items: center;
  }

  &__icon {
    color: var(--color--action);
    padding-left: 12px;
    transition: opacity $timing--medium $bezier--standard,
      transform 0s $timing--medium;
    transform: translateX(-12px);
    opacity: 0;
  }

  & > a:focus &__icon,
  & > a:hover &__icon {
    transform: none;
    opacity: 1;
    transition: opacity $timing--medium $bezier--standard,
      transform $timing--long $bezier--standard;
  }

  &__article {
    @include spacing(
      (
        xsmall: 32px,
        "medium+": 40px,
        "xlarge+": 48px,
      )
    );
  }
}