/*
 * @namespace two-thirds-screen
 * @extends lead/_constructor.scss
 * @author Jason Duvenage
 */

article {
	section.two-thirds-screen {
		@extend .lead;

		h1 {
			@include type($type-default-sans-serif, 2, 2.5, $type-color, 700);
			@include margin-bottom(2);
		}

		h2 {
			@include type($type-default-sans-serif, 1.2, 1.2, $type-color, 700);
			@include margin(3, 0, 1, 0);
		}

		p {
			@include type($type-default-sans-serif, 1.3, 2, $type-color, 400);
			@include margin-bottom(3);
		}

		ul.credits {
			padding-right: 15.625%;
			padding-left: 15.625%;

			li {
				@include type($type-default-sans-serif, 1.2, 3, $type-color, 400);
			}
		}
	}
}

@include media($portrait-large) {
	article {
		section.two-thirds-screen {
			@include padding-bottom(3.9);

			h1  {
				@include type($type-default-sans-serif, 6, 6, $type-color, 700);
				@include margin-bottom(3);
			}

			h2 {
				@include type($type-default-sans-serif, 1.4, 1.4, $type-color, 700);
				@include margin(9, 0, 2, 0);
			}

			p {
				@include type($type-default-sans-serif, 1.8, 3, $type-color, 300);
				@include margin-bottom(4);
			}

			ul.credits {
				@include line-height(3);
				padding-right: 12.5%;
				padding-left: 12.5%;

				li {
					@include type($type-default-sans-serif, 1.3, 3, $type-color, 400);
					@include padding(0, 1, 0, 1);
					display: inline-block;
				}
			}
		}
	}
}

@include media($landscape-small) {
	article {
		section.two-thirds-screen {
			@include span-columns(28 of 28);
			@include omega;
			height: 100%;
			padding-bottom: 0;
			overflow: hidden;

			&.variant-text-right {
				.image-two-thirds-screen {
					float: left;
				}
			}

			&.variant-text-left {
				.image-two-thirds-screen {
					float: right;
				}

				.content {
					@include shift(2);
				}
			}

			.content {
				@include span-columns(8 of 28);
				@include shift(1);
				// @include padding-top(7);
				display: inline-block;
			}

			.image-two-thirds-screen {
				@include span-columns(17 of 28);
				height: 93%;
				overflow: hidden;
			}

			h1  {
				@include type($type-default-sans-serif, 4, 4, $type-color, 700);
				text-align: left;
				@include margin-bottom(3);
				@include span-columns(8 of 8);

				* {
					font-size: 1em;
					line-height: 1em;
				}
			}

			h2 {
				@include type($type-default-sans-serif, 1.1, 1.1, $type-color, 700);
				text-align: left;
				@include margin(7, 0, 2, 0);
				@include span-columns(8 of 8);

				* {
					font-size: 1em;
					line-height: 1em;
				}
			}

			p {
				@include type($type-default-sans-serif, 1.5, 2.5, $type-color, 300);
				text-align: left;
				@include margin-bottom(0);
				@include span-columns(8 of 8);

				* {
					font-size: 1em;
					line-height: 1em;
				}
			}

			ul.credits {
				@include line-height(2);
				text-align: left;
				padding-right: 18%;
				padding-left: 9%;

				li {
					@include type($type-default-sans-serif, 1.1, 2, $type-color, 400);
					padding: 0;
					display: block;
				}
			}
		}
	}
}

@include media($landscape-large) {
	article {
		section.two-thirds-screen {

			.content {
				@include padding-top(9);
			}

			h1  {
				@include type($type-default-sans-serif, 6, 6, $type-color, 700);
				@include margin-bottom(3);
			}

			h2 {
				@include type($type-default-sans-serif, 1.3, 1.3, $type-color, 700);
				@include margin(9, 0, 2, 0);
			}

			p {
				@include type($type-default-sans-serif, 1.9, 3, $type-color, 300);
				@include margin-bottom(3);
			}

			ul.credits {
				@include line-height(2.4);
				padding-right: 18%;
				padding-left: 18%;

				li {
					@include type($type-default-sans-serif, 1.2, 2.4, $type-color, 400);
				}
			}
		}
	}
}