/*
Theme Name: Studio Eikenblad
Theme URI: https://studioeikenblad.nl/
Description: Child theme of Twenty Twenty-Five that recreates the original Studio Eikenblad design (formerly Workality Lite, 2012) on a maintained WordPress default theme.
Author: Studio Eikenblad
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studioeikenblad
*/

/* ==========================================================================
   Base
   ========================================================================== */

body {
	background: #f0f0f0 url("assets/light_toast.png") repeat;
	color: #444;
	font: 14px/22px "Helvetica Neue", Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks { padding: 0; }

h1, h2, h3, h4, h5, h6 {
	color: #000;
	font-weight: normal;
	text-shadow: #fff 0 1px 0;
	margin: 0;
}
h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px; letter-spacing: -0.04em; }
h2 { font-size: 30px; line-height: 35px; margin: 15px 0; }
h3 { font-size: 24px; line-height: 29px; }
h4 { font-size: 21px; line-height: 26px; }
h5 { font-size: 18px; line-height: 23px; }
h6 { font-size: 12px; line-height: 21px; margin: 5px 0 0; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; font-weight: inherit; }

p { margin: 5px 0 20px; line-height: 1.7em; }

a { color: #666; text-decoration: none; outline: 0; transition: color .3s linear; }
a:hover, a:focus { color: #000; text-decoration: none; }

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

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}

/* Lines */
.se-container hr,
.se-container .wp-block-separator {
	border: 0;
	border-top: 1px solid #d5d5d5;
	height: 0;
	margin: 30px 0;
	opacity: 1;
	width: 100%;
	max-width: none;
	background: none;
}

/* ==========================================================================
   Page container (960 grid → 940 content, like the original)
   ========================================================================== */

.se-container {
	width: 940px;
	max-width: none;
	margin: 0 auto;
	padding: 0;
}
.se-container > *,
.se-main > * { margin-block-start: 0; margin-block-end: 0; }

/* ==========================================================================
   Header
   ========================================================================== */

.se-header {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	margin-top: 30px;
	gap: 20px;
}
.se-header-left { width: 340px; flex: 0 0 340px; }

.se-header .wp-block-site-title.se-logo {
	font-size: 48px;
	line-height: 45px;
	font-weight: 700;
	letter-spacing: -0.05em;
	margin: 0;
	text-transform: none;
}
.se-header .wp-block-site-title.se-logo a { color: #666; text-decoration: none; }
.se-header .wp-block-site-title.se-logo a:hover { color: #000; }

.se-header p.se-subtext {
	font-size: 12px;
	line-height: 21px;
	color: #666;
	margin: 5px 0 0;
	text-shadow: #fff 0 1px 0;
}

.se-header-right {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	flex: 1 1 auto;
}

/* Search box (top right) */
.se-header .wp-block-search.se-search { margin: 0 0 15px 8px; }
.se-header .se-search .wp-block-search__inside-wrapper {
	border: 0; padding: 0; background: none; width: auto;
}
.se-header .se-search .wp-block-search__input {
	width: 150px;
	flex: 0 0 150px;
	padding: 7px 10px;
	border: 1px solid #ccc;
	border-radius: 2px 0 0 2px;
	background: #fff;
	color: #777;
	font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 15px;
	height: 31px;
	box-sizing: border-box;
	margin: 0;
}
.se-header .se-search .wp-block-search__input:focus {
	border-color: #aaa; box-shadow: rgba(0, 0, 0, .2) 0 0 5px; outline: 0;
}

/* Buttons (search buttons, like the original grey gradient buttons) */
.se-container .wp-block-search__button,
.se-container .search-submit,
.se-noresults input[type="submit"] {
	background: #eee linear-gradient(to bottom, rgba(255, 255, 255, .1) 0%, rgba(0, 0, 0, .1) 100%);
	border: 1px solid #ccc;
	border-top-color: #ddd;
	border-left-color: #ddd;
	border-radius: 0 2px 2px 0;
	color: #444;
	font: 12px Arial, sans-serif;
	text-transform: uppercase;
	padding: 7px 10px;
	margin: 0 0 0 -1px;
	cursor: pointer;
	min-height: 31px;
	box-sizing: border-box;
}
.se-container .wp-block-search__button:hover {
	background: #ddd linear-gradient(to bottom, rgba(255, 255, 255, .1) 0%, rgba(0, 0, 0, .2) 100%);
	color: #222;
}
.se-header .se-search .wp-block-search__button {
	width: 36px; height: 31px; padding: 0; display: flex; align-items: center; justify-content: center;
}
.se-header .se-search .wp-block-search__button svg { width: 16px; height: 16px; fill: #444; min-width: 16px; min-height: 16px; }

/* Main menu */
.se-header .wp-block-navigation.se-nav {
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
	gap: 0;
	margin-top: 5px;
}
.se-header .se-nav .wp-block-navigation__container { gap: 0; }
.se-header .se-nav .wp-block-navigation-item { margin-left: 18px; }
.se-header .se-nav .wp-block-navigation-item__content {
	color: #777;
	padding: 5px 0;
	border-bottom: 3px solid transparent;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
}
.se-header .se-nav .wp-block-navigation-item__content:hover,
.se-header .se-nav .current-menu-item > .wp-block-navigation-item__content {
	color: #000;
	border-bottom-color: #000;
}

hr.se-headerbottom,
.se-container .wp-block-separator.se-headerbottom { margin: 20px 0 0; }

/* ==========================================================================
   Bars ("Portfolio" / "Works")
   ========================================================================== */

.se-bar {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	border-bottom: 1px solid #d5d5d5;
}
.se-bar h3.se-bar-title {
	color: #666;
	font-size: 24px;
	line-height: 29px;
	margin: 18px 0;
	flex: 0 0 auto;
}

/* Portfolio filter */
.se-bar-portfolio h3.se-bar-title { width: 220px; }
.se-filter { flex: 0 1 700px; text-align: right; margin: 21px 0 15px; }
.se-filter-buttons a {
	display: inline-block;
	background-color: #e5e5e5;
	color: #777;
	font-size: 11px;
	line-height: 22px;
	letter-spacing: 0;
	padding: 2px 5px;
	margin: 2px 0 5px 5px;
	text-shadow: none;
	transition: background .3s linear;
}
.se-filter-buttons a:hover,
.se-filter-buttons a.is-selected { background-color: #777; color: #fff; }
.se-filter-select { display: none; }

/* Portfolio grid */
.se-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 20px;
	margin: 25px 0 20px;
}
.se-item-img { display: block; position: relative; }
.se-item-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 1;
	object-fit: cover;
	box-shadow: #ccc 0 2px 5px;
}
.se-item h5.se-item-title { font-size: 18px; line-height: 23px; padding: 12px 0 0; margin: 0; }
.se-item h5.se-item-title a { color: #000; }
.se-item p.se-item-excerpt { font-size: 12px; line-height: 1.7em; color: #666; margin: 5px 0 20px; }

/* ==========================================================================
   Project page
   ========================================================================== */

.se-bar-work {
	background: url("assets/whitebg.png");
	align-items: center;
}
.se-bar-work h3.se-bar-title { margin: 18px 0 18px 30px; }
.se-bar-work .se-arrows { margin: 16px 30px 16px 0; }

.se-arrows { white-space: nowrap; line-height: 0; }
a.se-arrow {
	display: inline-block;
	width: 30px;
	height: 32px;
	margin-left: 10px;
	background: url("assets/arrows.png") no-repeat;
	vertical-align: top;
}
a.se-arrow-all  { background-position: 0 0; }
a.se-arrow-prev { background-position: -40px 0; }
a.se-arrow-next { background-position: -80px 0; }
a.se-arrow-all:hover  { background-position: 0 -50px; }
a.se-arrow-prev:hover { background-position: -40px -50px; }
a.se-arrow-next:hover { background-position: -80px -50px; }

.se-work-wrap {
	background: #fff;
	border-top: 1px solid #d5d5d5;
	padding: 10px 0 30px;
	line-height: 1.7em;
}
.se-inner { padding: 0 30px; }
.se-work-wrap hr { margin: 10px 0 !important; border-top-color: #f0f0f0 !important; }

.se-work-wrap h2.se-work-title { margin: 15px 0; text-shadow: none; }
.se-work-wrap h2.se-work-title a { color: #000; text-shadow: none; }

.se-pinfo {
	display: grid;
	grid-template-columns: 220fr 220fr 220fr 160fr;
	column-gap: 20px;
}
.se-pinfo strong { font-weight: 700; color: #444; }

.se-work-desc p { margin: 5px 0 20px; }

.se-media { padding: 30px 0 30px 30px; text-align: center; }
.se-media img { display: inline-block; max-width: 100%; height: auto; }
.se-media-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.se-caption { margin-top: 15px; }

.se-work-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 10px;
}
.se-share { display: flex; align-items: flex-start; }
.se-share-label { margin-right: 50px; }
.se-shr { height: 24px; overflow: hidden; position: relative; margin: 0 5px 0 0; }
.se-shr-facebook { width: 48px; }
.se-shr-twitter { width: 57px; }

/* ==========================================================================
   Pages
   ========================================================================== */

.se-page { padding-top: 0; }
.se-page-sidebar { width: 620px; max-width: 100%; }
.se-page-single { padding-top: 20px; }
.se-content > * { margin-block-start: 0; }
.se-content h2 { margin: 15px 0; }
.se-content h1 { margin: 0 0 14px; }
.se-content h3, .se-content h4, .se-content h5, .se-content h6 { margin: 0; }
.se-content ul, .se-content ol { margin: 0 0 20px 30px; padding: 0; }
.se-content .alignleft { float: left; margin: 0 20px 10px 0; }
.se-content .alignright { float: right; margin: 0 0 10px 20px; }
.se-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Classic captions and galleries (content written in the classic editor) */
.se-content .wp-caption { border: 1px solid #d5d5d5; max-width: 100%; }
.se-content .wp-caption img { display: block; margin: 0 auto; padding: 5px 5px 0; }
.se-content .wp-caption p.wp-caption-text { margin: 5px 0; text-align: center; font-size: 11px; line-height: 1.7em; }
.se-content .gallery { margin: auto; }
.se-content .gallery::after { content: ""; display: table; clear: both; }
.se-content .gallery-caption { margin-left: 0; }
.se-content .gallery .gallery-item { margin-bottom: 0; }

/* ==========================================================================
   Search & 404
   ========================================================================== */

.se-search-columns { gap: 20px; margin-top: 22px; }
.se-search-columns > .se-search-main { flex: 0 0 620px; max-width: 620px; }
.se-search-columns > .se-sidebar { flex: 0 0 300px; }

.se-searchpage h1.se-search-title,
.se-list h1.se-search-title {
	font-size: 34px;
	line-height: 1.3em;
	border-bottom: 3px solid #d5d5d5;
	padding: 0 0 20px;
	margin: 0 0 20px;
	letter-spacing: normal;
}
.se-search-item { border-bottom: 1px solid #d5d5d5; padding: 20px 0; overflow: hidden; }
.se-search-item h2.se-search-item-title { font-size: 24px; line-height: 29px; padding: 0 0 10px; margin: 0; }
.se-search-img { float: right; margin-left: 20px; }
.se-search-img img { width: 100px; height: 100px; object-fit: cover; border: 1px solid #d5d5d5; padding: 3px; margin-top: 5px; }
.se-ptype { border: 1px solid #d5d5d5; padding: 2px 5px; margin-right: 10px; }
a.se-readmore { background-color: #e5e5e5; color: #777; padding: 2px 5px; }
a.se-readmore:hover { background-color: #777; color: #fff; }
.se-search-nav a { border: 1px solid #aaa; padding: 5px 15px 7px; font-size: 15px; margin: 20px 5px 0 0; display: inline-block; }

.se-sidebar .wp-block-search__label { font-weight: normal; display: block; margin-bottom: 5px; }
.se-sidebar .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.se-sidebar .wp-block-search__input { border: 1px solid #ccc; padding: 8px 12px; width: 140px; flex: 0 0 140px; font-size: 13px; }

.se-noresults p { font-size: 15px; line-height: 1.8em; }
.se-noresults label { display: none; }
.se-noresults input[type="search"], .se-noresults input[type="text"] {
	width: 50%; border: 1px solid #ccc; border-radius: 4px; padding: 14px 12px; font-size: 13px;
}
.se-noresults input[type="submit"] { padding: 15px 30px; }
.se-404 { text-align: center; margin-top: 50px; }
.se-404 h1 { font-size: 120px; line-height: 120px; font-weight: bold; letter-spacing: normal; }

/* ==========================================================================
   Footer
   ========================================================================== */

.se-footer { margin-top: 20px; }
.se-container .se-footer .wp-block-separator.se-footer-hr { margin: 20px 0; }
.se-footer p.se-footertext { display: inline-block; padding-top: 4px; margin: 0; line-height: 22px; }
.se-footer p.se-footertext small { font-size: 0.8em; }

/* ==========================================================================
   Tablet (768–959px): 748px wide, like the original
   ========================================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.se-container { width: 748px; }
	.se-header-left { flex-basis: 268px; width: 268px; }
	.se-bar-portfolio h3.se-bar-title { width: 172px; }
	.se-page-sidebar { width: 492px; }
	.se-search-columns > .se-search-main { flex-basis: 492px; max-width: 492px; }
	.se-search-columns > .se-sidebar { flex-basis: 236px; }
}

/* ==========================================================================
   Phones (< 768px): 300px wide (420px in landscape), like the original
   ========================================================================== */

@media only screen and (max-width: 767px) {
	.se-container { width: 300px; }

	h1 { font-size: 32px; line-height: 35px; margin-bottom: 5px; letter-spacing: 0; }
	h2 { font-size: 24px; line-height: 28px; margin: 10px 0; }
	h3 { font-size: 21px; line-height: 24px; }
	h4 { font-size: 18px; line-height: 21px; }
	.se-container hr, .se-container .wp-block-separator { margin: 14px 0; }
	hr.se-headerbottom, .se-container .wp-block-separator.se-headerbottom { margin: 14px 0 0; }

	/* Header: logo left, menu button right; search lives in the menu */
	.se-header { margin-top: 26px; gap: 10px; }
	.se-header-left { flex: 1 1 auto; width: auto; }
	.se-header p.se-subtext { font-size: 11px; }
	.se-header-right { justify-content: flex-start; }
	.se-header .wp-block-search.se-search { display: none; }

	.se-header .se-nav .wp-block-navigation__responsive-container-open {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 50px;
		height: 39px;
		margin-top: 4px;
		background: #eee linear-gradient(to bottom, rgba(255, 255, 255, .6) 0%, rgba(0, 0, 0, .08) 100%);
		border: 1px solid #ccc;
		border-radius: 3px;
		box-shadow: rgba(0, 0, 0, .1) 0 1px 2px;
		color: #333;
	}
	.se-header .se-nav .wp-block-navigation__responsive-container-open svg { width: 24px; height: 24px; }

	/* Slide-in menu panel (dark, like the original mobile menu) */
	.se-header .se-nav .wp-block-navigation__responsive-container.is-menu-open {
		background: #333 !important;
		color: #f0f0f0 !important;
		width: 70%;
		right: auto;
		padding: 0;
		box-shadow: rgba(0, 0, 0, .3) 4px 0 8px 0;
	}
	.se-header .se-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
	.se-header .se-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		top: 12px; right: 12px; color: #f0f0f0;
	}
	.se-header .se-nav .is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: 56px;
		align-items: stretch;
		gap: 0;
	}
	.se-header .se-nav .is-menu-open .wp-block-navigation__container {
		align-items: stretch !important;
		width: 100%;
		gap: 0;
	}
	.se-header .se-nav .is-menu-open .wp-block-navigation-item { margin: 0; width: 100%; }
	.se-header .se-nav .is-menu-open .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 12px !important;
		color: #999;
		font-size: 13px;
		text-shadow: none;
		border-bottom: 1px solid #1a1a1a;
		box-shadow: rgba(255, 255, 255, .1) 0 1px 0;
	}
	.se-header .se-nav .is-menu-open .wp-block-navigation-item__content:hover,
	.se-header .se-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content {
		color: #f0f0f0;
		background: #3b3b3b;
		border-bottom-color: #1a1a1a;
	}

	/* Portfolio bar: title, then the "Creative Fields..." dropdown */
	.se-bar { flex-direction: column; align-items: stretch; }
	.se-bar-portfolio h3.se-bar-title { width: auto; margin: 10px 0; color: #666; }
	.se-filter { flex: none; text-align: left; margin: 0; border-top: 1px solid #d5d5d5; padding: 12px 0 10px; }
	.se-filter-buttons { display: none; }
	.se-filter-select {
		display: block;
		width: 100%;
		padding: 8px 12px;
		border: 1px solid #ccc;
		border-radius: 4px;
		background: #fff;
		color: #444;
		font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
	}

	.se-grid { grid-template-columns: 1fr; margin-top: 20px; }
	.se-item h5.se-item-title { font-size: 12px; line-height: 14px; }
	.se-item p.se-item-excerpt { margin-bottom: 40px; }

	/* Project page */
	.se-bar-work { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.se-bar-work h3.se-bar-title { margin: 10px 0 10px 10px; }
	.se-bar-work .se-arrows { margin: 0 10px 0 0; }
	a.se-arrow { width: 22px; height: 24px; background-image: url("assets/arrows_mini.png"); }
	a.se-arrow-all  { background-position: 0 0; }
	a.se-arrow-prev { background-position: -30px 0; }
	a.se-arrow-next { background-position: -60px 0; }
	a.se-arrow-all:hover  { background-position: 0 -35px; }
	a.se-arrow-prev:hover { background-position: -30px -35px; }
	a.se-arrow-next:hover { background-position: -60px -35px; }
	.se-inner { padding: 0 10px; }
	.se-pinfo { grid-template-columns: 1fr; row-gap: 10px; }
	.se-media { padding: 15px 10px; }
	.se-media-sep { display: none; }
	.se-share-label { display: none; }
	.se-work-bottom { flex-direction: column; gap: 10px; }

	/* Pages, search */
	.se-page-sidebar { width: 100%; }
	.se-search-columns > .se-search-main,
	.se-search-columns > .se-sidebar { flex-basis: 100%; max-width: 100%; }
	.se-search-img { display: none; }
	.se-404 h1 { font-size: 80px; line-height: 85px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.se-container { width: 420px; }
}

/* ==========================================================================
   Fine-tuning: spacing and details measured against the original site
   (desktop 1280px and phone 390px), so positions match pixel for pixel.
   ========================================================================== */

/* Header */
.se-header { min-height: 125px; }
.se-header .wp-block-navigation.se-nav { margin: 5px 0 12px; }
.se-header .se-nav .wp-block-navigation__container { margin: 0; }
.se-header .se-nav .wp-block-navigation-item { display: block; height: 18px; line-height: 18px; }
.se-header .se-nav .wp-block-navigation-item__content { display: inline; }
.se-header .se-search .wp-block-search__input { width: 172px; flex: 0 0 172px; border-radius: 4px 0 0 4px; }
.se-header .se-search .wp-block-search__button { border-color: #ccc; border-radius: 0 3px 3px 0; }
.se-header .se-search .wp-block-search__button svg { display: none; }
.se-header .se-search .wp-block-search__button::before {
	content: ""; display: block; width: 14px; height: 14px; margin-top: 1px;
	background: url("assets/glyphicons-halflings.png") no-repeat -48px 0;
}

/* Portfolio */
.se-filter-buttons a + a { margin-left: 8.9px; }
.se-item { margin-bottom: 30px; }
.se-portfolio { padding-bottom: 22px; }

/* Footer */
.se-footer { display: flow-root; }
.se-footer-mhr { display: none; }

/* Project page */
.se-bar-work { align-items: flex-start; }
.se-arrow + .se-arrow { margin-left: 14px; }
.se-inner:not(.se-pinfo):not(.se-work-bottom) { display: flow-root; }
.se-work-wrap { padding-bottom: 24px; }
.se-media { margin-right: 30px; }
.se-share-label { flex: 0 0 57px; width: 57px; white-space: nowrap; margin-right: 5px; }

/* Text content (pages and project descriptions) */
.se-work-desc ol, .se-work-desc ul, .se-content ol, .se-content ul { margin: 20px 0 20px 30px; padding: 0; }
.se-work-desc li, .se-content li { line-height: 18px; margin: 0 0 12px; }
.se-content p, .se-work-desc p { margin: 5px 0 20px; }
.se-container .se-content.se-content > p { margin: 5px 0 20px; }
.se-container .se-content.se-content > h1 { margin: 0 0 14px; }
.se-container .se-content.se-content > h2 { margin: 15px 0; }
.se-container .se-content.se-content > :is(h3, h4, h5) { margin: 0; }
.se-container .se-content.se-content > h6 { margin: 5px 0 0; }
.se-container .se-content.se-content > :is(ul, ol) { margin: 20px 0 20px 30px; }
.se-container :is(h2, h3, h4, h5, h6) { letter-spacing: normal; }
.se-page-full { padding-bottom: 42px; }
.se-container .se-page-sidebar { margin-top: 25px; display: flow-root; }

/* Search results */
.se-main-search { padding-bottom: 42px; }
.se-search-columns.se-search-columns { margin: 30px 0 0; gap: 20px; }
.se-search-columns.se-search-columns > .se-search-main { flex: 0 0 620px; max-width: 620px; }
.se-search-columns.se-search-columns > .se-sidebar { flex: 0 0 300px; max-width: 300px; }
.se-sidebar .wp-block-search { margin: 0 0 20px 40px; padding-bottom: 20px; }
.se-sidebar .wp-block-search__label {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
	margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.se-sidebar .wp-block-search__inside-wrapper { gap: 0; align-items: flex-start; }
.se-sidebar .wp-block-search__input {
	width: 166px; flex: 0 0 166px; height: 33px; padding: 8px 12px; border: 1px solid #ccc;
	border-radius: 4px; box-sizing: border-box; margin: 0 0 10px; color: #777; font-size: 13px; background: #fff;
}
.se-container .se-sidebar .wp-block-search__button {
	width: 81px; height: 32px; min-height: 0; padding: 8px 15px; border: 1px solid #ccc;
	border-bottom-color: #aaa; border-radius: 3px; margin: 1px 0 10px 3px; font-size: 12px; line-height: normal;
}
.se-search-item h2.se-search-item-title { line-height: 35px; }
.se-search-img img { width: 100px; height: auto; object-fit: fill; }
.se-searchpage h1.se-search-title { letter-spacing: -0.04em; }
.se-ptype { color: #666; }
.se-ptype::after { content: "\00a0"; }
.se-container a.se-readmore, .se-container a.se-readmore:hover { background: none; }
.se-container a.se-readmore { color: #666; }
.se-container a.se-readmore:hover { color: #000; }

/* 404 and "no results" */
.se-container .se-404 { margin-top: 50px; }
.se-container .se-404 h1 { letter-spacing: -0.04em; }
.se-main-404 { padding-bottom: 22px; }
.se-noresults form { margin-bottom: 20px; }
.se-noresults label { display: inline; }
.se-noresults input[type="search"] {
	width: 50%; box-sizing: content-box; height: auto; margin: 0 0 20px; color: #777; background: #fff; line-height: normal;
}
.se-container .se-noresults input[type="submit"] {
	margin: 0 0 20px; border-radius: 3px; padding: 15px 30px; min-height: 0; height: 46px;
	border-color: #ccc; border-bottom-color: #aaa;
}

@media only screen and (max-width: 767px) {
	/* Header and menu button */
	.se-header { margin-top: 30px; min-height: 0; }
	.se-header .wp-block-navigation.se-nav { margin: 0; }
	.se-header .se-nav .wp-block-navigation__responsive-container-open {
		width: auto; height: auto; margin: 0; padding: 8px 15px; box-sizing: content-box;
		background: #eee linear-gradient(to bottom, rgba(255, 255, 255, .1) 0%, rgba(0, 0, 0, .1) 100%);
		border: 1px solid #ccc; border-bottom-color: #aaa; border-radius: 3px; box-shadow: none;
	}
	.se-header .se-nav .wp-block-navigation__responsive-container-open svg { display: none; }
	.se-header .se-nav .wp-block-navigation__responsive-container-open::before {
		content: ""; display: block; width: 18px; height: 18px; margin: 1px 0 2px;
		background: url("assets/menu.png") no-repeat 0 0;
	}
	.se-header .se-nav .is-menu-open .wp-block-navigation-item { display: block; height: auto; line-height: 18px; }
	.se-header .se-nav .is-menu-open .wp-block-navigation-item__content { box-sizing: border-box; text-align: left; }
	.se-container hr.se-headerbottom, .se-container .wp-block-separator.se-headerbottom { margin: 20px 0 0; }

	/* Portfolio */
	.se-bar h3.se-bar-title, .se-bar-portfolio h3.se-bar-title { font-size: 21px; line-height: 24px; margin: 18px 0; }
	.se-filter { padding: 12px 0 15px; }
	.se-filter-select {
		height: 37px; padding: 10px; box-sizing: border-box; border: 1px solid #d5d5d5; border-radius: 4px;
		color: #777; font-size: 13px; -webkit-appearance: none; appearance: none;
		background: #fff url("assets/sbox.png") no-repeat 100% 50%;
	}
	.se-grid { margin-top: 25px; }
	.se-item p.se-item-excerpt { margin-bottom: 20px; }

	/* Footer */
	.se-container .se-footer .se-footer-mhr { display: block; margin: 14px 0; }

	/* Project page */
	.se-bar.se-bar-work { display: block; }
	.se-bar.se-bar-work h3.se-bar-title { margin: 10px 0 10px 10px; }
	.se-bar-work .se-arrows { border-top: 1px solid #d5d5d5; padding-top: 12px; margin: 0 0 10px; text-align: left; }
	.se-work-wrap { padding-top: 0; }
	.se-work-wrap h2.se-work-title { margin: 10px 0; }
	.se-pinfo { row-gap: 0; }
	.se-work-media { padding-top: 25px; }
	.se-media { padding: 2px 0; margin: 0; text-align: center; }
	.se-media img { display: block; }
	.se-work .se-inner.se-media-sep.se-media-sep { display: none; }
	.se-inner.se-work-bottom { display: block; }
	.se-shr-facebook { margin-bottom: 5px; }
	.se-work-bottom .se-arrows { border-top: 1px solid #d5d5d5; padding-top: 10px; margin: 0; text-align: right; }

	/* Text content and search */
	.se-container .se-content.se-content > h2, .se-work-desc h2 { margin: 10px 0; }
	.se-searchpage h1.se-search-title { letter-spacing: normal; }
	.se-search-item h2.se-search-item-title { line-height: 28px; }
	.se-search-columns.se-search-columns { gap: 0; }
	.se-sidebar .wp-block-search { margin-left: 0; }
}

/* Project info row: only filled-in fields, fixed column widths (as before) */
.se-pinfo.se-pinfo { display: flex; flex-wrap: wrap; column-gap: 20px; }
.se-pinfo > div { flex: 0 0 220px; }
.se-pinfo > .se-pinfo-date { flex-basis: 160px; }
.se-work-desc-empty { height: 1.7em; }
@media only screen and (max-width: 767px) {
	.se-pinfo.se-pinfo { display: block; }
}
