body.template-projects-index-page {
  main {
    margin-left: calc(100vw / 12);
    
  } 
}

body.template-project-page {
	article {
		display: flex;
		flex-wrap: wrap;
    justify-content: space-between;
		gap: calc(6 * 0.5vw);
    column-gap: 0.5vw;

		> header {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 0.5ch;

			h1 {
				text-transform: uppercase;
			}
		}

    > .abstract {
			/* width: calc(100% / 3 * 2); */
      flex-grow: 1;
      padding-left: calc(100% / 12);

			details {
				summary {
          font-family: serif;
					display: block;
					cursor: pointer;

					&::after {
						content: "(+)";
            font-size: small;
					}
				}
			}
			details[open] {
				summary {
					&::after {
						display: none;
					}
				}
			}
		}

    > aside {
      font-size: small;
			display: flex;
			flex-direction: column;
			gap: calc(2 * 0.5vw);
			width: calc(100% / 3);

			ul {
				padding-inline-start: 1em;
        list-style-type: '› ';

        &.anchor-links {
          list-style-type: '➔';
        }

        li {
          padding-inline-start: 1ch;
        }
			}
		}

		> .materials,
		> .credits {
			width: 100%;
			display: flex;
			flex-direction: column;
		}

		> .materials {
			gap: calc(6 * 0.5vw);

			.material {
				display: flex;
				flex-direction: column;
				gap: calc(3 * 0.5vw);

				> header {
					display: none;
				}
			}

			> footer {
        font-size: small;
				align-self: end;
				width: calc(100% / 3);

        ul {
          list-style: none;
          padding: 0;
          display: flex;
          flex-direction: column;
          gap: calc(2 * 0.5vw);
        }
			}
		}

		> .credits {
      font-size: small;

			header {
				width: 50%;
        align-self: end;
			}

			dl {
				display: flex;
				flex-wrap: wrap;
				column-gap: 0.5vw;

				dt,
				dd {
					width: calc(50% - 0.5em);
				}

				dt {
					font-weight: bold;
					text-align: right;
				}
			}
		}
	}
}
