@charset "UTF-8";

:root {
--color1: #fff;
--color2: #000;
--hilight: #ff962e;
--basefontsize: 16px;
--gap: 20px;
}
::selection {
background: var(--color2);
color: var(--color1);
}
@font-face {
font-family: 'Jura';
font-style:  normal;
src: url(//brokenpitcher.net/wp-content/themes/brokenpitcher/fonts/Jura-VariableFont_wght.ttf) format("truetype");
}
@font-face {
font-family: 'EBGaramond';
font-style:  normal;
src: url(//brokenpitcher.net/wp-content/themes/brokenpitcher/fonts/EBGaramond-Italic-VariableFont_wght.ttf) format("truetype");
}
* {
margin: 0;
padding: 0;
}
body {
color: var(--color2);
font-size: var(--basefontsize);
font-family: "Jura", sans-serif;
font-variation-settings: "wght" 400;
line-height: 153%;
font-smoothing: antialiased;
font-kerning: normal;
font-variant: common-ligatures tabular-nums;
font-optical-sizing: auto;
overflow-x: hidden;
shape-rendering: geometricPrecision;
text-rendering: optimizeLegibility;
}
b, strong, h1, h2, h3, h4, h5 {
font-style: normal;
font-weight: normal;
}
a, b, strong {
font-variation-settings: "wght" 600;
}
img {
border: none;
max-width: 100%;
height: auto;
}
hr {
visibility: hidden;
clear: both;
}
a {
color: var(--color2);
text-decoration: none;
}
iframe {
display: block;
width: 100%;
} .alignright {
float: right;
margin-left: 2em;
}
.alignleft {
float: left;
margin-right: 2em;
}
.aligncenter {
margin: auto;
display: block;
}
.clear {
clear: both;
}
.screen-reader-text {
display: none;
}
.navigation {
margin-top: 4em;
border-top: 1px solid;
display: grid;
grid-template-columns: 1fr 1fr;
}
.navigation .next {
text-align: right;
}
#header, #container, #footer {
width: 90vw;
margin: 0 auto;
max-width: 1366px;
}
.section-title {
font-family: 'EBGaramond';
font-variation-settings: "wght" 600;
font-size: var(--basefontsize);
font-size: 1.5em;
line-height: 120%;
margin-bottom: 10px;
margin-top: 15px;
}
#header .site-title {
background: url(//brokenpitcher.net/wp-content/themes/brokenpitcher/images/pitcher-logo.svg) no-repeat center left;
background-size: contain;
width: 100%; }
#header {
position: relative;
margin-top: 25px;
}
#header .site-title a {
display: block;
font-size: 1px;
color: white;
font-weight: bold;
font-family: 'EBGaramond';
background: url(//brokenpitcher.net/wp-content/themes/brokenpitcher/images/pitcher-logotype2.svg) no-repeat center left;
overflow: hidden;
height: 170px;
background-size: contain;
overflow: hidden;
margin: 20px 0 20px 110px;
}
#footer {
margin-bottom: 15px;
}
#language-switcher { position: absolute; top: -25px; right: 0; text-transform: lowercase;}
#language-switcher li { display: inline; list-style: none; padding-left: 20px;}
#language-switcher li.current-lang a {
border-bottom: 1px dotted rgba(0,0,0,0.2);
font-variation-settings: "wght" 400;
}
.site-title { grid-area: 2 / 1 / 3 / 4; }
.home .section-content div {
margin-bottom: 10px;
}
.page-child .content,
.page-template-default .content,
.post-template-default #content { margin-bottom: 15px; }
.page-template-page_blogposts .item-title,
.single .item-title {
font-family: 'EBGaramond';
font-variation-settings: "wght" 600;
font-size: var(--basefontsize);
font-size: 1.5em;
line-height: 120%;
margin-bottom: 10px;
}
.item-title a:hover {
border-bottom: 1px dotted rgba(0,0,0,0.2);
}
.section-content p {
margin-bottom: 10px;
}
.button {
margin-top: 15px;
}
.button a {
border: 1px solid var(--color2);
padding: 5px 10px;
}
.section li {
display: inline-grid;
}
.section li a {
border: 1px solid;
margin: 0 0.25em 0.25em;
padding: 5px 10px;
}
.section li:hover a {
background: var(--color2);
color: var(--color1);
}
@media (min-width: 1023px) {
.home .content {
display: grid;
gap: var(--gap);
grid-template-columns: repeat(6, 1fr);
}
.page-template-default .content .section,
.post-template-default .content .section {
width: 50%;
margin-left: 25%;
}
.home .content div:nth-child(1) { grid-area: 1 / 1 / 2 / 7; }
.home .content div:nth-child(2) { grid-area: 2 / 1 / 3 / 3; }
.home .content div:nth-child(3) { grid-area: 2 / 3 / 3 / 5; }
.home .content div:nth-child(4) { grid-area: 2 / 5 / 3 / 7; }
.home .content div:nth-child(5) { grid-area: 3 / 1 / 4 / 4; }
.home .content div:nth-child(6) { grid-area: 4 / 1 / 5 / 4; }
.home .content div:nth-child(7) { grid-area: 4 / 4 / 5 / 7; }
.home .content div:nth-child(8) { grid-area: 3 / 4 / 4 / 7; }
.home .content div:nth-child(9) { grid-area: 5 / 1 / 6 / 7; }
.page-template-page_blogposts .section-content {
display: grid;
grid-template-columns: 0.8fr 1.2fr;
gap: var(--gap);
}
.page-template-page_blogposts .item {
margin-top: 150px;
}
.page-template-page_blogposts .item:first-child {
margin-top: 0;
}
}
@media (max-width: 1023px) and (min-width: 641px) {
.home .content {
display: grid;
gap: var(--gap);
grid-template-columns: repeat(2, 1fr);
}
.page-template-default .content .section,
.post-template-default .content .section {
width: 70%;
margin-left: 15%;
}
.home .content div:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.home .content div:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
.home .content div:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
.home .content div:nth-child(4) { grid-area: 3 / 1 / 4 / 3; }
.home .content div:nth-child(5) { grid-area: 4 / 1 / 5 / 2; }
.home .content div:nth-child(6) { grid-area: 4 / 2 / 5 / 3; }
.home .content div:nth-child(7) { grid-area: 5 / 1 / 6 / 2; }
.home .content div:nth-child(8) { grid-area: 5 / 2 / 6 / 3; }
.home .content div:nth-child(9) { grid-area: 6 / 1 / 7 / 3; }
.page-template-page_blogposts .section-content {
display: grid;
grid-template-columns: 0.8fr 1.2fr;
}
.page-template-page_blogposts .item {
margin-top: 150px;
}
.page-template-page_blogposts .item:first-child {
margin-top: 0;
}
}
@media (max-width: 640px) {
#header .site-title { background-size: 50px; }
#header .site-title a { margin: 10px 10px 10px 60px; height: 90px; }
}