/* AS Training | custom.css

   The one-off changes for this site. Linked last on every page, so
   anything here wins over the other stylesheets.

   Single elements are set in the page builder, each on its own id
   ( home-section-01-eyebrow-01 ). Add your own tweaks at the bottom. */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Single elements - from the page builder, each on its own id */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* - - - Home - - - */

html body #home-section-01-col-02-heading-01
{
    color: #e23b2e !important;
}

html body #home-section-03-col-01-heading-01
{
    color: #000000 !important;
}

html body #home-section-04-row-01-heading-01
{
    color: #0e9ed5 !important;
}

html body #home-section-05-col-02-heading-01
{
    color: #e23b2e !important;
}

html body #home-section-04
{
    --tint: #ecf7fc;
    background-color: #ecf7fc;
}

/* - - - Services - - - */

html body #services-section-04-heading-01
{
    color: #ecf7fc !important;
}

html body #services-section-04-text-01
{
    color: #ffffff !important;
}

html body #services-section-04-text-02
{
    color: #ffffff !important;
}

html body #services-section-02-divider-mark-01
{
    -webkit-mask-image: url( '../img/divider-mark.png' );
    mask-image: url( '../img/divider-mark.png' );
    aspect-ratio: 64 / 44;
}

html body #services-section-04
{
    --tint: #0e9ed5;
    background-color: #0e9ed5;
}

html body #services-section-06-col-02-image-01
{
    object-position: 47.8% 54%;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* One-off tweaks for this site go below */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* an element anchored in the page builder ( .a1 - .a9 on a heading, a
   picture, an icon or decal, buttons … ) - alchemy's anchors, made to win
   over an element's own placing ( .piece-icon sits at the start of its
   column ). Only elements, not columns: a column's anchor stays alchemy's. */
.element > :not( .element ).a1
{
    align-self: start;
    justify-self: start;
}

.element > :not( .element ).a2
{
    align-self: start;
    justify-self: center;
}

.element > :not( .element ).a3
{
    align-self: start;
    justify-self: end;
}

.element > :not( .element ).a4
{
    align-self: center;
    justify-self: start;
}

.element > :not( .element ).a5
{
    align-self: center;
    justify-self: center;
}

.element > :not( .element ).a6
{
    align-self: center;
    justify-self: end;
}

.element > :not( .element ).a7
{
    align-self: end;
    justify-self: start;
}

.element > :not( .element ).a8
{
    align-self: end;
    justify-self: center;
}

.element > :not( .element ).a9
{
    align-self: end;
    justify-self: end;
}

/* and its words follow it across, as a column's do */
.element > :not( .element ):is( .a2, .a5, .a8 )
{
    text-align: center;
}

.element > :not( .element ):is( .a3, .a6, .a9 )
{
    text-align: right;
}

/* a column on a line is as tall as the line, its elements centred in it
   unless anchored - so an element's anchor moves it up or down there too */
.piece-inline > .element
{
    align-self: stretch;
}

.piece-inline > .element > *
{
    align-self: center;
}
