/* Shared by the Document Download, Info Tile and Link Tile modules. */

.tile-module {
    --tile-latte: #F4F3EC;
    --tile-navy: #00285D;
    --tile-grey: #4D4D4D;
    --tile-blue: #0064FA;
    --tile-yellow: #FFC91D;
    --tile-ink: #333333;
    padding: 4em 24px;
}

.tile-module__heading {
    margin: 0 0 1.667em;
    color: var(--tile-blue);
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 3em;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

/* White pill with the double chevron used across the new modules. */
.tile-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: none;
    width: 211px;
    max-width: 100%;
    height: 51px;
    padding: 0 56px 0 27px;
    border-radius: 25.5px;
    background-color: #FFFFFF;
    box-shadow: 0 0 13.33px rgba(0, 0, 0, .15);
    color: #000000;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.tile-btn__icon {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 52px;
    height: 52.45px;
    max-width: none;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Download points the chevrons down. */
.tile-btn--download .tile-btn__icon {
    right: 0;
    transform: translateY(-50%) rotate(90deg);
}

.tile-btn--blue {
    background-color: var(--tile-blue);
    color: #FFFFFF;
}

.tile-btn:hover,
.tile-btn:focus-visible {
    background-color: #FDB927;
    color: #000000;
}

@media only screen and (max-width: 768px) {
    .tile-module {
        padding: 3em 16px;
    }

    .tile-module__heading {
        font-size: 2.25em;
    }
}
