.site-main .entry-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    display: flex;
}

figure {
	margin-bottom: 0;
}

.site-main {
	margin-top: 6vmin;
}

.entry-header:not(.padding .entry-header):not(.page-id-608 .entry-header):not(.page-id-613 .entry-header) {
	display: none;
}

.padding .entry-title {
	margin-bottom: 7px;
}

.padding h1, .entry-title {
    font-size: var(--s6);
    line-height: 0.8;
    margin: 0;
    font-weight: 320;
    letter-spacing: -0.03em;
}

.padding h2 {
	margin-top: var(--s2);
	margin-top: var(--s4);
	font-size: var(--s2);
	font-weight: 320;
}

.padding h3 {
	font-weight: 320;
	font-size: var(--s1);
	margin-top: var(--s4);
}

.custom {
    display: grid!important;
    max-width: 1426px;
    margin: 0 auto;
    margin-top: 6vmin;
}

.custom .title {
    margin-top: var(--s0);
    width: max-content;

}


.custom .image1 {
    margin: var(--s6) 0;
}



.body .line {
    display: none;
    fill: var(--black);
    width: var(--s7);
    height: 1px;
    position: absolute;
    left: 0;
    top: 1.2ch;
}

.body p {
    line-height: 1.5;
}



.link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform var(--medium) ease-in-out;
}

.custom .images, .about .images {
    display: none;
}

.about .image2 {
	margin-bottom: var(--s4);
}

.custom .images > figure + figure img {
    margin-top: var(--s4);
}

.about {
    display: grid!important;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 10vmin;
}

.about .t8, .about .images {
     margin-top: 10px;
}

.about .body {
    margin-top: var(--s4);
}


.about .image1 {
    margin: var(--s4) 0;
}

.about .signature {
    float: right;
    margin-top: var(--s2);
}

.about .images > figure + figure img {
    margin-top: var(--s4);
}

.history {
    max-width: 1100px;
    margin-top: var(--spacing-big);
    margin-left: auto;
    margin-right: auto;
}

.history .title {
    margin-bottom: var(--s2);
}

.history .list .wp-block-group__inner-container{
    display: grid;
    grid-column-gap: var(--s5);
}

.history .event {
    margin: 0;
}

.history .text {
    max-width: 58ch;
}

.history h3.small {
	font-weight: 320;
}

.main h1.title {
	margin-bottom: 7px;
}

.about .bread {
	margin-top: 0!important;
}

.site-main * {
    margin-top: var(--s4);
}



@media (min-width: 1600px) {
	article:not(.padding article) {
		padding-top: 0.05rem;
	}
}

@media (max-width: 1599px) and (min-width: 600px) {
	article:not(.padding article) {
		padding-top: 0.5rem;
	}
}

@media (min-width: 1200px) {
	.custom {
    grid-gap: var(--s4);
    grid-template-columns: 1fr 1fr;
}

.custom .page-header {
    margin: var(--s8) 0;
    max-width: 30ch;
}

.custom .images {
    display: block;
}

.about {
    grid-gap: var(--s4);
    grid-template-columns: 2fr 1fr;
}

.about .body {
    margin-top: var(--s8);
}

.about .images {
    display: block;
}


}


@media (min-width: 960px) {
	.history .list .wp-block-group__inner-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 290px));
}
}


@media (min-width: 720px) {
	.custom {
    padding-left: var(--s2);
    padding-right: var(--s2);
}

.custom .link {
    margin-left: calc(var(--s7) + 1ch);
}

.about .body {
    padding-left: calc(var(--s7) + 1ch);
    max-width: 80ch;
}

.about .body .line {
    display: block;
    
}

.about .body .line:not(.about .bread .line) {
	opacity: 0;
}

.history .title {
    margin-left: calc(var(--s7));
    margin-bottom: var(--s6);
}

.history .list {
    margin-left: calc(var(--s7));
}
}