/*!
Theme Name: E-PPS
Theme URI: https://e-pps.com.pl
Author: E-PPS
Description: Motyw E-PPS przeniesiony 1:1 z projektu Figma Make (katalog Figma/ w repozytorium). Treści edytowalne w polach ACF (wersja darmowa), wersje językowe przez Polylang. Style projektu: assets/css/main.css (źródło w src/main.css, Tailwind 4).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: epps
*/

/* -------------------------------------------------------------------------
 * WordPress core classes
 * ---------------------------------------------------------------------- */

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f3f3f5;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #090a0c;
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 5px;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

/* Logged-in admin bar offset for the fixed header */
.admin-bar .nav-shell {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .nav-shell {
		top: 46px;
	}
}

/* Contact form honeypot – off-screen, not display:none (bots skip hidden fields) */
.ep-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* -------------------------------------------------------------------------
 * Additions to the Figma design
 * ---------------------------------------------------------------------- */

/* Real E-PPS logo instead of the placeholder diamond mark */
.brand-logo {
	display: block;
	width: auto;
	height: 30px;
}

.nav-shell.scrolled .brand-logo {
	height: 26px;
}

footer .brand-logo {
	height: 34px;
}

/* Services dropdown on hover (desktop): the list sits 15 px below the trigger, so
   the pointer used to "fall" into the gap and the list vanished before it could be
   clicked. An invisible bridge covers the gap and closing waits a moment. */
@media (min-width: 801px) {
	.services-dropdown::before {
		content: "";
		position: absolute;
		left: -1px;
		right: -1px;
		bottom: 100%;
		height: 18px;
	}

	.services-dropdown {
		pointer-events: auto; /* visibility: hidden still blocks clicks while closed */
		transition:
			opacity 0.22s 0.25s,
			visibility 0s 0.47s,
			transform 0.22s 0.25s;
	}

	.nav-services:hover .services-dropdown,
	.nav-services.open .services-dropdown {
		transition:
			opacity 0.22s,
			visibility 0s,
			transform 0.22s;
	}
}

/* -------------------------------------------------------------------------
 * Mobile fixes (the design's own mobile layout had these problems)
 * ---------------------------------------------------------------------- */

/* Open menu: the scrolled header's backdrop-filter turns it into the containing
   block of the fixed menu, which was then clipped to the 66 px bar. */
.nav-shell.menu-open {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* Arrows such as ↗ are emoji-capable: iOS drew them as a blue emoji square.
   The theme adds U+FE0E (text presentation) after each arrow; this rule also
   covers arrows typed by hand into ACF fields (newer browsers). */
html {
	font-variant-emoji: text;
}

/* Browser demo "68%": the superscript's own line box pushed it up onto the label. */
.web-energy-reading sup {
	position: relative;
	top: -0.95em;
	line-height: 0;
	vertical-align: baseline;
}

/* Phone demo: the screen is always dark, so its text must not inherit the dark
   text colour of light sections ("Twój rytm dnia.", "72" were invisible). */
.phone-device {
	color: #f3f3f5;
}

@media (max-width: 800px) {
	/* Home hero model: centred with translateX(-50%), but the entry animation
	   (coreEnter, fill "both") ends on transform:none and wiped the shift, so the
	   model slid off the right edge. The separate translate property survives it. */
	.core-hero-visual {
		transform: none;
		translate: -50% 0;
	}

	/* Capability tabs on the home page: all five in one row instead of a cut-off strip. */
	.capability-selector {
		overflow-x: visible;
	}

	.capability-selector button {
		flex: 1 1 0;
		min-width: 0;
		min-height: 64px;
		padding: 0 4px;
		justify-content: center;
		gap: 0;
	}

	.capability-selector button span {
		display: none;
	}

	.capability-selector button b {
		overflow: hidden;
		font-size: 9px;
		letter-spacing: 0.04em;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Software demo: vertical layout instead of a 900 px panel cut off at the edge. */
	.software-demo {
		overflow-x: visible;
	}

	.software-bar,
	.software-layout {
		width: auto;
	}

	.software-bar {
		grid-template-columns: 1fr auto;
	}

	.software-bar > span,
	.software-bar > em {
		display: none;
	}

	.software-layout {
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.software-layout > aside {
		flex-direction: row;
		gap: 4px;
		padding: 10px 12px;
		overflow-x: auto;
		border-right: 0;
		border-bottom: 1px solid #30343a;
	}

	.software-layout > aside small,
	.software-layout > aside > span {
		display: none;
	}

	.software-layout > aside button {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.software-layout > main,
	.software-layout > .ep-main {
		padding: 20px 16px;
	}

	.software-layout > main > header,
	.software-layout > .ep-main > header {
		gap: 12px;
		align-items: flex-start;
		flex-direction: column;
	}

	.workflow {
		height: auto;
		margin-top: 18px;
		padding: 12px;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.workflow svg {
		display: none;
	}

	.workflow-node.node-0,
	.workflow-node.node-1,
	.workflow-node.node-2,
	.workflow-node.node-3 {
		position: relative;
		inset: auto;
		width: 100%;
	}

	.node-inspector {
		position: static;
		width: auto;
		margin-top: 12px;
	}

	.software-list-head {
		display: none;
	}

	.software-list-view > button {
		grid-template-columns: 1fr auto;
	}

	.software-list-view > button > span:nth-child(2),
	.software-list-view > button > span:nth-child(3) {
		display: none;
	}

	.software-resources-view {
		grid-template-columns: 1fr;
	}

	.software-events-view button {
		grid-template-columns: 62px 1fr;
		gap: 10px;
	}

	.software-events-view button > i {
		display: none;
	}

	.capability-live .software-demo,
	.services-showcase-stage .software-demo {
		min-height: 0;
	}

	/* Browser demo on a phone: always its own mobile layout, no width switcher. */
	.browser-workbench .workbench-tools {
		display: none;
	}
}

@media (max-width: 560px) {
	/* Showcase headings with long Polish words ("doświadczenie.") were cut off. */
	.service-template-showcase-heading h2 {
		font-size: 11.5vw;
	}

	/* 3D demo: four modes in one row. */
	.prototype-demo-controls {
		overflow-x: visible;
	}

	.prototype-demo-controls button {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 6px;
		font-size: 8px;
	}

	/* CRM: bars on their own full-width row (they were squeezed to a few px). */
	.stage-summary > div {
		grid-template-columns: 1fr auto;
		row-gap: 8px;
		padding: 10px 0;
	}

	.stage-summary > div > i {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.crm-demo > aside small {
		display: none;
	}
}

/* Long hero headings (SEO phrases): the theme adds these classes automatically
   from the length of the longest line (ep_fit_class() in inc/helpers.php). */
.ep-fit-l {
	--ep-fit: 0.82;
}

.ep-fit-xl {
	--ep-fit: 0.68;
}

/* Technology → "Solidne podstawy": heading right under its label (the design pushed
   it to the bottom of the column), table moved away from the dividing line and the
   numbers in one even column. */
.technology-principles-heading {
	justify-content: flex-start;
	gap: clamp(48px, 6vw, 90px);
}

.technology-principles-list {
	padding-left: clamp(35px, 5vw, 80px);
}

.technology-principles-list article > span {
	font-variant-numeric: tabular-nums;
}

@media (min-width: 821px) {
	.technology-principles-heading h2 {
		position: sticky;
		top: 120px;
	}
}

/* Two-row cards (number + title, text below): number level with the title. */
@media (max-width: 1150px) {
	.technology-principles-list article > span {
		align-items: flex-start;
		line-height: 1;
	}
}

@media (max-width: 820px) {
	.technology-principles-heading {
		min-height: 0;
		gap: 48px;
	}

	.technology-principles-list {
		padding-left: 20px;
	}
}

@media (max-width: 560px) {
	.technology-principles-list article > span {
		margin-bottom: 18px;
	}
}

/* PL / EN switcher (styled like the navigation links) */
.lang-switch {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #62676f;
	font: 9px "DM Mono", monospace;
	letter-spacing: 0.11em;
}

.lang-switch a {
	padding: 9px 0;
	color: #a9adb4;
	transition: color 0.25s;
}

.lang-switch a:hover,
.lang-switch a.current {
	color: #fff;
}

@media (max-width: 800px) {
	.lang-switch {
		padding: 20px 0;
		border-bottom: 1px solid var(--line);
		font-size: 12px;
		gap: 10px;
	}
}

/* Footer bottom bar: privacy, cookie settings, back to start */
.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 18px;
}

.footer-legal button {
	padding: 0;
	border: 0;
	background: none;
	color: #9a9ea5;
	font: inherit;
	letter-spacing: inherit;
	cursor: pointer;
}

.footer-legal a:hover,
.footer-legal button:hover {
	color: #fff;
}

.footer-main > div:not(:first-child) span + span {
	margin-top: 8px;
}

/* Contact form sits on a light panel: native dropdown lists must be light too
   (the page uses color-scheme: dark, which gave black option text on a dark list). */
.contact-experience form {
	color-scheme: light;
}

.contact-experience select option {
	background: #f3f2ee;
	color: #171917;
}

.contact-experience select option:disabled {
	color: #8a8a85;
}

/* Contact form: links inside the note, success state */
.contact-form-action small a,
.contact-form-notice a {
	color: #c8cbd0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.contact-form-action > a {
	display: inline-flex;
	gap: 18px;
	padding: 11px 0;
	border-bottom: 1px solid #8b8f96;
	font-size: 11px;
}

/* Regular pages (privacy policy) and posts */
.ep-page-intro {
	min-height: 0;
	padding-bottom: clamp(50px, 6vw, 90px);
}

.ep-page-intro h1 {
	font-size: clamp(42px, 6vw, 86px);
}

.ep-content {
	padding: clamp(40px, 6vw, 90px) var(--pad) clamp(90px, 10vw, 150px);
}

.ep-prose {
	max-width: 760px;
	margin: 0 auto;
	color: #b4b8bf;
	font-size: 15px;
	line-height: 1.75;
}

.ep-prose > * + * {
	margin-top: 1.1em;
}

.ep-prose h2,
.ep-prose h3 {
	margin-top: 2.2em;
	color: #f3f3f5;
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.ep-prose h2 {
	font-size: 26px;
}

.ep-prose h3 {
	font-size: 19px;
}

.ep-prose ul,
.ep-prose ol {
	padding-left: 1.3em;
	list-style: disc;
}

.ep-prose ol {
	list-style: decimal;
}

.ep-prose li + li {
	margin-top: 0.4em;
}

.ep-prose a {
	color: #f3f3f5;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ep-prose strong {
	color: #e6e7e9;
	font-weight: 500;
}

/* "Strona w budowie" */
.ep-maintenance {
	position: relative;
	min-height: 100svh;
	overflow: hidden;
	background:
		radial-gradient(circle at 70% 48%, rgb(95 103 119 / 13%), transparent 34%),
		linear-gradient(180deg, #0b0c0e, #08090b);
}

.ep-maintenance > header {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	padding: 28px var(--pad);
}

.ep-maintenance .not-found {
	position: relative;
	z-index: 1;
	padding: 0 var(--pad);
}

.ep-maintenance-text {
	max-width: 480px;
	margin: -20px auto 40px;
	color: #8d929a;
	font-size: 14px;
	line-height: 1.7;
}

/* -------------------------------------------------------------------------
 * Selected work (template-parts/sections/work.php)
 * Light "titanium" palette of the "14 lat" section that it follows; the left
 * column keeps the same 4/12 split, so the vertical rule runs on uninterrupted.
 * Screenshots sit in a dark browser frame and scroll slowly on hover.
 * ---------------------------------------------------------------------- */
.ep-work {
	background: linear-gradient(118deg, rgb(255 255 255 / 18%), transparent 40%), #d7d6d1;
	color: #111315;
	border-top: 1px solid #b3b3af;
}

.ep-work-head {
	display: grid;
	grid-template-columns: 4fr 8fr;
}

.ep-work-index {
	padding: 110px var(--pad) 70px;
	border-right: 1px solid #b3b3af;
	font: 9px "DM Mono", monospace;
	letter-spacing: 0.11em;
	color: #565752;
}

.ep-work-index ol {
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #b3b3af;
}

.ep-work-index li {
	display: flex;
	gap: 18px;
	padding: 13px 0;
	border-bottom: 1px solid #c3c3bf;
	color: #111315;
	text-transform: uppercase;
}

.ep-work-index b {
	font-weight: 400;
	color: #8a8b86;
}

.ep-work-copy {
	padding: 110px var(--pad) 70px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px 60px;
}

.ep-work-copy h2 {
	margin: 0;
	font-size: clamp(48px, 5.4vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.075em;
	font-weight: 500;
}

.ep-work-copy h2 span {
	color: #71726e;
}

.ep-work-copy p {
	max-width: 330px;
	margin: 0;
	color: #42433f;
	font-size: 13px;
	line-height: 1.8;
}

.ep-work-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid #b3b3af;
}

/* Always three in a row (a 4th item starts the next row); a single item gets
   the split layout below. Rows after the first are separated by a rule. */
.ep-work-n1 {
	grid-template-columns: 1fr;
}

.ep-work-item:not(.is-top) {
	border-top: 1px solid #b3b3af;
}

.ep-work-item {
	display: flex;
	flex-direction: column;
	padding: 34px var(--pad) 60px;
	border-right: 1px solid #b3b3af;
}

.ep-work-item:nth-child(3n) {
	border-right: 0;
}

.ep-work-meta {
	display: flex;
	justify-content: space-between;
	margin-bottom: 22px;
	font: 8px "DM Mono", monospace;
	letter-spacing: 0.11em;
	color: #5d5e5a;
}

.ep-work-frame {
	display: block;
	border: 1px solid #2b2f35;
	background: #0b0d10;
	box-shadow: 0 30px 60px -30px rgb(17 19 21 / 55%);
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s;
}

.ep-work-bar {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 26px;
	padding: 0 11px;
	border-bottom: 1px solid #23272d;
}

.ep-work-bar i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #3a3f47;
}

.ep-work-bar small {
	margin-left: 10px;
	font: 8px "DM Mono", monospace;
	letter-spacing: 0.08em;
	color: #7d828a;
}

.ep-work-screen {
	display: block;
	aspect-ratio: 16 / 10.5;
	overflow: hidden;
}

.ep-work-screen img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	transition: object-position 7s cubic-bezier(0.45, 0, 0.3, 1);
}

.ep-work-item:hover .ep-work-frame {
	transform: translateY(-6px);
	box-shadow: 0 40px 70px -30px rgb(17 19 21 / 70%);
}

.ep-work-item:hover .ep-work-screen img {
	object-position: 50% 100%;
}

.ep-work-item h3 {
	margin: 34px 0 12px;
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1;
	letter-spacing: -0.05em;
	font-weight: 500;
}

.ep-work-item p {
	margin: 0;
	max-width: 400px;
	color: #42433f;
	font-size: 13px;
	line-height: 1.75;
}

.ep-work-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.ep-work-tags li {
	padding: 5px 8px;
	border: 1px solid #b3b3af;
	font: 8px "DM Mono", monospace;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #565752;
}

.ep-work-link {
	align-self: flex-start;
	display: inline-flex;
	gap: 26px;
	margin-top: auto;
	padding: 30px 0 10px;
	border-bottom: 1px solid #111315;
	color: #111315;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.ep-work-link:hover {
	color: #4f6cff;
	border-color: currentColor;
}

/* Home page: 3 × 2 per page, pager below (main.js; without JS all items show). */
.ep-work-grid .ep-work-item[hidden] {
	display: none !important;
}

.ep-work-index button {
	display: flex;
	gap: 18px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-transform: inherit;
	cursor: pointer;
}

.is-paged.is-ready .ep-work-index li {
	color: #8a8b86;
	transition: color 0.3s;
}

.is-paged.is-ready .ep-work-index li.is-current,
.ep-work-index li:hover {
	color: #111315;
}

.ep-work-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 26px var(--pad) 30px;
	border-top: 1px solid #b3b3af;
	font: 9px "DM Mono", monospace;
	letter-spacing: 0.11em;
	color: #565752;
}

.ep-work-pager[hidden] {
	display: none;
}

.ep-work-pager-count b {
	font-weight: 400;
	color: #111315;
}

.ep-work-pager-pages,
.ep-work-pager-arrows {
	display: flex;
	gap: 6px;
}

.ep-work-pager-pages {
	margin-right: auto;
	margin-left: 30px;
}

.ep-work-pager button {
	min-width: 38px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #b3b3af;
	background: none;
	color: #565752;
	font: inherit;
	letter-spacing: inherit;
	cursor: pointer;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.ep-work-pager-arrows button {
	min-width: 46px;
	font-size: 13px;
}

.ep-work-pager button:hover {
	border-color: #111315;
	color: #111315;
}

.ep-work-pager button[aria-current="true"] {
	border-color: #111315;
	background: #111315;
	color: #d7d6d1;
}

.ep-work-pager button:disabled {
	opacity: 0.35;
	cursor: default;
	border-color: #b3b3af;
	color: #565752;
}

.ep-work-grid.is-switching .ep-work-item {
	animation: epWorkIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ep-work-grid.is-switching .ep-work-item:nth-child(3n + 2) {
	animation-delay: 0.06s;
}

.ep-work-grid.is-switching .ep-work-item:nth-child(3n) {
	animation-delay: 0.12s;
}

@keyframes epWorkIn {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Systems behind a login: a label instead of the link. */
.ep-work-item .ep-work-note {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: none;
	margin-top: auto;
	padding: 30px 0 10px;
	color: #5d5e5a;
	font: 8px "DM Mono", monospace;
	letter-spacing: 0.11em;
	line-height: 1.6;
}

.ep-work-item .ep-work-note::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

/* Split layout (frame left, text right): a single item on desktop; every item
   on tablets (below). */
@media (min-width: 701px) {
	.ep-work-n1 .ep-work-item {
		display: grid;
		grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
		grid-template-rows: auto auto auto auto auto 1fr;
		column-gap: clamp(40px, 5vw, 90px);
		border-right: 0;
	}

	.ep-work-n1 .ep-work-meta,
	.ep-work-n1 .ep-work-frame {
		grid-column: 1;
	}

	.ep-work-n1 .ep-work-frame {
		grid-row: 2 / 7;
	}

	.ep-work-n1 h3,
	.ep-work-n1 .ep-work-item > p,
	.ep-work-n1 .ep-work-tags,
	.ep-work-n1 .ep-work-link {
		grid-column: 2;
	}

	.ep-work-n1 .ep-work-meta {
		grid-row: 1;
	}

	.ep-work-n1 h3 {
		grid-row: 2;
		margin-top: 0;
	}

	.ep-work-n1 .ep-work-item > p:not(.ep-work-note) {
		grid-row: 3;
	}

	.ep-work-n1 .ep-work-tags {
		grid-row: 4;
	}

	.ep-work-n1 .ep-work-link,
	.ep-work-n1 .ep-work-note {
		grid-row: 5;
		justify-self: start;
		margin-top: 0;
	}
}

@media (max-width: 1100px) {
	.ep-work-head {
		display: block;
	}

	.ep-work-index {
		padding-bottom: 0;
		border-right: 0;
	}

	.ep-work-index ol {
		display: none;
	}

	.ep-work-copy {
		padding-top: 40px;
	}

	.ep-work-grid {
		grid-template-columns: 1fr;
	}

	.ep-work-grid .ep-work-item {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		grid-template-rows: auto auto auto auto auto 1fr;
		column-gap: 50px;
		padding-bottom: 50px;
		border-right: 0;
		border-bottom: 1px solid #b3b3af;
	}

	.ep-work-grid .ep-work-item:last-child {
		border-bottom: 0;
	}

	.ep-work-grid .ep-work-item:not(.is-top) {
		border-top: 0;
	}

	.ep-work-meta,
	.ep-work-frame {
		grid-column: 1;
	}

	.ep-work-frame {
		grid-row: 2 / 7;
	}

	.ep-work-item h3,
	.ep-work-item > p,
	.ep-work-tags,
	.ep-work-link {
		grid-column: 2;
	}

	.ep-work-meta {
		grid-row: 1;
	}

	.ep-work-item h3 {
		grid-row: 2;
		margin-top: 0;
	}

	.ep-work-item > p:not(.ep-work-note) {
		grid-row: 3;
	}

	.ep-work-tags {
		grid-row: 4;
	}

	.ep-work-link,
	.ep-work-item .ep-work-note {
		grid-row: 5;
		justify-self: start;
		margin-top: 0;
	}
}

@media (max-width: 700px) {
	.ep-work-index {
		padding-top: 80px;
	}

	.ep-work-copy {
		display: block;
		padding-bottom: 50px;
	}

	.ep-work-copy h2 {
		font-size: 13vw;
	}

	.ep-work-copy p {
		margin-top: 26px;
	}

	.ep-work-grid .ep-work-item {
		display: flex;
		padding-bottom: 50px;
	}

	.ep-work-item h3 {
		margin-top: 30px;
	}

	.ep-work-link,
	.ep-work-item .ep-work-note {
		margin-top: 0;
	}
}

@media (max-width: 700px) {
	.ep-work-pager-pages {
		margin-left: 0;
	}

	.ep-work-pager-count {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ep-work-screen img,
	.ep-work-frame {
		transition: none;
	}

	.ep-work-grid.is-switching .ep-work-item {
		animation: none;
	}
}
