
/* Articles */
article {
	margin:0;
	padding: 10px;

	flex: 1 1 auto;
	align-self: stretch;

	min-width: 20em;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: flex-start;
	flex-wrap: nowrap;

    gap: 2em;

	/* align-items: not used as should be defined in children; */
    /* align-content: ; not used as it only takes effect in multi line containers; */

    & > header{
        margin: 0;
        padding: 0;

        background-color: rgb(119, 64, 171);
        border-radius: var(--border-radius);
        /*article header styles*/

        & > h2 , & > p{
            /* centering */
            text-align: center;
            text-align-last: auto;
            align-self: center;
        }
    }

    & > div > section, & > section {
        margin:0;
        /* padding: 10px; */

        flex: 1 1 auto;
        align-self: stretch;

        /* min-width: not used; */

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-content: flex-start;
        flex-wrap: nowrap;

        & > a > h2, & > h2, & > p{
            /* centering */
            text-align: center;
            text-align-last: auto;
            align-self: center;
        }
    }

    & > footer {
        margin:0;
        padding: 0;

        /*article footer styles*/

        & > p{
            /* centering */
            text-align: center;
            text-align-last: auto;
            align-self: center;
        }
    }
}

