/*
Theme Name: David Schulkin Wayback
Theme URI: https://davidschulkin.com/
Author: Liftoff Agent
Description: Custom David Schulkin website theme.
Version: 1.3
*/

@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@300;400;500;600;700&display=swap');


/* ========================================
   RESET
======================================== */

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background-image: url("https://davidschulkin.com/wp-content/uploads/2026/09/background.jpg");
	background-repeat: repeat;
	background-position: top left;

	color: #555;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.4;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

p,
ul,
ol,
li {
	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	color: #555;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.4;
}

p {
	margin: 0 0 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	color: #555;
	font-weight: 300;
	line-height: 1.1;
}


/* ========================================
   HEADER
======================================== */

.site-header {
	width: 100%;
	background: transparent;
}

.header-inner {
	width: 1060px;
	max-width: calc(100% - 40px);
	min-height: 135px;

	margin: 0 auto;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 30px;

	overflow: visible;
}

.header-inner > a {
	display: block;
	flex: 0 0 410px;
	overflow: visible;
}


/* ========================================
   LOGO
======================================== */

.site-logo {
	display: block;

	width: 410px;
	max-width: none;

	height: auto;

	margin: 0;
}


/* ========================================
   NAVIGATION
======================================== */

.primary-nav {
	margin-left: auto;
}

.primary-nav ul {
	display: flex;
	align-items: center;

	margin: 0;
	padding: 0;

	list-style: none;

	gap: 7px;
}

.primary-nav li {
	display: block;

	margin: 0;
	padding: 0;
}

.primary-nav a {
	display: block;

	padding: 10px 13px;

	color: #777;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: 300;

	line-height: 1;

	text-transform: uppercase;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a {
	background: #9dbd58;
	color: #fff;
	text-decoration: none;
}


/* ========================================
   MAIN CONTENT
======================================== */

.site-main {
	width: 1060px;
	max-width: calc(100% - 40px);

	margin: 0 auto;

	padding: 35px 0 65px;

	min-height: 600px;
}

.entry-content {
	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	color: #555;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.4;
}

.entry-content p {
	margin: 0 0 10px;
}

.entry-content a {
	color: #8da74e;
}

.entry-content a:hover {
	text-decoration: underline;
}


/* ========================================
   STANDARD PAGE TITLES
======================================== */

.page-main-title,
.page-title,
.page-heading,
.entry-title {
	margin: 0 0 10px;

	color: #555;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-weight: 300;

	line-height: 1.05;
}

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

	background-image: url("https://davidschulkin.com/wp-content/uploads/2026/09/dashed.png");
	background-position: left bottom;
	background-repeat: repeat-x;
}

.page-subtitle {
	margin: 3px 0 25px;

	color: #555;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 29px;
	font-weight: 300;

	line-height: 1.2;
}


/* ========================================
   GENERIC DOTTED HEADING LINE
======================================== */

.line-holder {
	overflow: hidden;

	text-align: center;

	padding: 30px 0;
}

.line {
	position: relative;

	display: inline-block;
}

.line::before,
.line::after {
	content: "";

	position: absolute;

	top: 50%;

	width: 999px;
	height: 1px;

	background-image: url("https://davidschulkin.com/wp-content/uploads/2026/09/dashed.png");
	background-repeat: repeat-x;
}

.line::before {
	right: 100%;
	margin-right: 18px;
}

.line::after {
	left: 100%;
	margin-left: 18px;
}

.line h1 {
	margin: 0;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-weight: 300;

	line-height: 1;

	text-transform: uppercase;
}


/* ========================================
   HOMEPAGE
======================================== */

.home .site-main {
	width: 1060px;
	max-width: calc(100% - 40px);

	padding-top: 25px;
}

.home-layout {
	display: grid;

	grid-template-columns: 305px 1fr;

	column-gap: 38px;

	align-items: start;
}


/* PORTRAIT */

.home-photo {
	width: 305px;

	padding-top: 38px;
}

.home-photo img {
	display: block;

	width: 305px;
	height: auto;

	border: 7px solid #9dbd58;
}


/* RIGHT COLUMN */

.home-copy {
	width: 100%;
	max-width: 625px;
}


/* WELCOME DOTTED DIVIDER */

.welcome-divider {
	display: flex;

	align-items: center;

	width: 100%;

	margin: 0 0 12px;

	color: #777;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-weight: 300;

	line-height: 1;
}

.welcome-divider::before,
.welcome-divider::after {
	content: "";

	flex: 1;

	height: 1px;

	background-image: url("https://davidschulkin.com/wp-content/uploads/2026/09/dashed.png");
	background-repeat: repeat-x;
	background-position: center;
}

.welcome-divider span {
	padding: 0 18px;

	white-space: nowrap;
}


/* HOMEPAGE MAIN HEADING */

.home-copy h1,
.home-copy h2,
.home-copy .entry-content h1,
.home-copy .entry-content h2 {
	margin: 0 0 10px;

	color: #555;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-weight: 700;

	line-height: 1.02;

	text-transform: uppercase;
}

.home-copy p,
.home-copy .entry-content p {
	margin: 0 0 10px;

	font-size: 20px;
	font-weight: 300;

	line-height: 1.4;
}


/* ========================================
   STANDARD INNER PAGES
======================================== */

.standard-page {
	width: 100%;
}

.standard-page .entry-content {
	width: 100%;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	color: #555;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.4;
}

.standard-page .entry-content p {
	margin: 0 0 12px;
}


/* ========================================
   WORDPRESS IMAGE ALIGNMENT
======================================== */

.alignleft,
.standard-page .entry-content .alignleft {
	float: left;

	margin: 4px 30px 20px 0;
}

.alignright,
.standard-page .entry-content .alignright {
	float: right;

	margin: 4px 0 20px 30px;
}

.aligncenter,
.standard-page .entry-content .aligncenter {
	display: block;

	margin: 20px auto;
}

.entry-content::after {
	content: "";

	display: table;
	clear: both;
}


/* ========================================
   LISTS
======================================== */

.entry-content ul,
.entry-content ol {
	margin: 0 0 18px 22px;
	padding: 0;
}

.entry-content li {
	margin-bottom: 5px;
}


/* ========================================
   BLOCKQUOTES
======================================== */

blockquote {
	margin: 20px 0;

	padding: 0 0 0 18px;

	border-left: 4px solid #9dbd58;

	color: #777;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
	width: 100%;
	clear: both;
}

.footer-inner {
	width: 1060px;
	max-width: calc(100% - 40px);

	margin: 0 auto;

	padding: 18px 0 25px;

	border-top: 1px dotted #d3d3d3;

	color: #999;

	font-family: 'Yanone Kaffeesatz', Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 300;

	text-align: center;
}

.footer-inner a {
	color: #999;
}


/* ========================================
   WORDPRESS DEFAULTS
======================================== */

.screen-reader-text {
	position: absolute !important;

	width: 1px;
	height: 1px;

	padding: 0;
	margin: -1px;

	overflow: hidden;

	clip: rect(0, 0, 0, 0);

	border: 0;
}


/* ========================================
   TABLET / MOBILE
======================================== */

@media screen and (max-width: 800px) {

	.header-inner {
		min-height: 0;

		padding-top: 25px;
		padding-bottom: 20px;

		flex-direction: column;

		align-items: center;

		gap: 20px;
	}

	.header-inner > a {
		flex: 0 0 auto;
	}

	.site-logo {
		width: 400px;
		max-width: 100%;
	}

	.primary-nav {
		width: 100%;

		margin-left: 0;
	}

	.primary-nav ul {
		justify-content: center;
		flex-wrap: wrap;
	}

	.primary-nav a {
		padding: 9px 10px;

		font-size: 18px;
	}

	.site-main {
		padding-top: 25px;
	}

	.home-layout {
		display: grid;

		grid-template-columns: 1fr;

		row-gap: 25px;
	}

	.home-photo {
		width: 245px;

		margin: 0 auto;

		padding-top: 0;
	}

	.home-photo img {
		width: 245px;
	}

	.home-copy {
		width: 100%;
		max-width: 100%;
	}

	.alignleft,
	.alignright,
	.standard-page .entry-content .alignleft,
	.standard-page .entry-content .alignright {
		float: none;

		display: block;

		margin: 0 auto 20px;
	}
}


/* ========================================
   SMALL MOBILE
======================================== */

@media screen and (max-width: 480px) {

	.header-inner,
	.site-main,
	.footer-inner {
		max-width: calc(100% - 28px);
	}

	body,
	p,
	ul,
	ol,
	li,
	.entry-content,
	.standard-page .entry-content {
		font-size: 18px;
	}

	.primary-nav ul {
		gap: 3px;
	}

	.primary-nav a {
		padding: 8px 7px;

		font-size: 16px;
	}

	.home-photo,
	.home-photo img {
		width: 220px;
	}

	.welcome-divider {
		font-size: 32px;
	}

	.home-copy h1,
	.home-copy h2,
	.home-copy .entry-content h1,
	.home-copy .entry-content h2 {
		font-size: 32px;
	}

	.page-main-title,
	.page-title,
	.page-heading,
	.entry-title {
		font-size: 34px;
	}

	.page-subtitle {
		font-size: 25px;
	}
}


.line {
    font-size: 40px !important;
    margin: 0;
    text-transform: uppercase !important;
    font-weight: 100;
}

#bgquote .line.page-title h1 {
    text-transform: none;
}

#bgquote {
    background: #f8f8f8;
    border: 1px solid #ddd;
    clear: both;
    padding: 30px;
    margin: 0 0 20px;
    font-family: 'Yanone Kaffeesatz', arial, helvetica, sans-serif;
    color: #555;
    font-size: 20px;
    font-weight: 200;
    line-height: 1.4;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    
    height: auto !important;
}

#bgquote .line::before, #bgquote .line::after {
    height: 0px !important;
}

.wp-image-327, .wp-image-226 {
    width: 100%;
}


/* Prevent long links/URLs from overflowing on mobile */
.entry-content a,
.standard-page .entry-content a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.entry-content,
.standard-page .entry-content {
	min-width: 0;
	max-width: 100%;
	overflow-x: hidden;
}

@media screen and (max-width: 480px) {
	.entry-content a,
	.standard-page .entry-content a {
		display: inline;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	
	#bgquote {
		width: 100% !important;
		max-width: 100% !important;
	}
 img {
	    margin-left: 0 !important;
	    margin-bottom: 10px;
	}
}