/*
Theme Name: Xposed Magazine
Theme URI: https://xposedmagazine.com
Author: Xposed Magazine
Author URI: https://xposedmagazine.com
Description: A minimal editorial magazine theme for fashion, beauty and culture — red serif masthead, beige hero, editorial card grids, black newsletter band and footer. Built from the Xposed Magazine design comps.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 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: xposed-magazine
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* -------------------------------------------------------------------------
   1. Tokens & base
   ------------------------------------------------------------------------- */

:root {
	--red: #e8192c;
	--black: #0d0d0d;
	--ink: #1c1c1c;
	--muted: #5d5d5d;
	--faint: #8a8a8a;
	--beige: #edeae4;
	--placeholder: #e3e0da;
	--line: #e6e6e6;
	--line-dark: #2a2a2a;
	--white: #ffffff;

	/* Fallbacks are metric-adjusted in assets/css/fonts.css → near-zero CLS on font swap. */
	--serif: "Playfair Display", "Playfair Fallback", Georgia, serif;
	--sans: "Jost", "Jost Fallback", "Helvetica Neue", Arial, sans-serif;

	--container: 1320px;
	--gutter: 64px;

	--eyebrow-size: 12px;
	--eyebrow-tracking: 0.18em;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--sans);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

/* Reserve vertical space for the single-post featured image before it
   loads (its width/height attributes + this ratio prevent layout shift). */
.entry-thumb img {
	width: 100%;
}

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

a:hover {
	color: var(--red);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.15;
	margin: 0;
	color: var(--ink);
}

button {
	font-family: inherit;
	cursor: pointer;
}

input,
button,
textarea {
	font-family: var(--sans);
	font-size: 15px;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.section {
	padding-top: 64px;
	padding-bottom: 64px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--black);
	color: var(--white);
	padding: 10px 18px;
	z-index: 200;
}

.skip-link:focus {
	left: 0;
	color: var(--white);
}

/* Shared bits ------------------------------------------------------------ */

.eyebrow {
	display: inline-block;
	font-size: var(--eyebrow-size);
	font-weight: 600;
	letter-spacing: var(--eyebrow-tracking);
	text-transform: uppercase;
	color: var(--ink);
}

.eyebrow--light {
	color: var(--white);
}

.read-more {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 5px;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.read-more:hover {
	color: var(--red);
	border-color: var(--red);
}

.section-title {
	font-size: clamp(28px, 3.2vw, 38px);
	font-weight: 500;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
}

.post-media img,
.media-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.media-placeholder {
	background: var(--placeholder);
	min-height: 100%;
}

.media-mono img {
	filter: grayscale(100%);
}

/* -------------------------------------------------------------------------
   2. Header
   ------------------------------------------------------------------------- */

.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	position: relative;
	z-index: 100;
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: var(--container);
	margin: 0 auto;
	padding: 22px var(--gutter) 8px;
}

.menu-toggle,
.search-toggle {
	background: none;
	border: 0;
	padding: 4px;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
}

.menu-toggle:hover,
.search-toggle:hover {
	color: var(--red);
}

.menu-toggle {
	justify-self: start;
}

.site-branding {
	justify-self: center;
	text-align: center;
}

.site-logo {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1;
	color: var(--red);
	white-space: nowrap;
}

.site-logo:hover {
	color: var(--red);
}

.header-actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 26px;
}

.subscribe-link {
	font-size: 15px;
	color: var(--ink);
}

.main-nav .menu {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 46px;
	margin: 0;
	padding: 12px var(--gutter) 20px;
}

.main-nav a {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
}

/* Search drawer & mobile drawer */

.search-drawer {
	border-top: 1px solid var(--line);
	padding: 20px 0;
	background: var(--white);
}

.search-form {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 560px;
	border: 1px solid var(--ink);
}

.search-form input[type="search"] {
	flex: 1;
	border: 0;
	padding: 12px 16px;
	outline: none;
	background: transparent;
}

.search-form button {
	background: none;
	border: 0;
	padding: 10px 14px;
	color: var(--ink);
}

.mobile-drawer {
	border-top: 1px solid var(--line);
	background: var(--white);
}

.mobile-drawer .menu {
	list-style: none;
	margin: 0;
	padding: 16px var(--gutter) 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-drawer a {
	display: block;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   3. Hero (home + about)
   ------------------------------------------------------------------------- */

.hero {
	background: var(--beige);
}

.hero--about {
	background: #f4f3f1;
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	align-items: stretch;
	max-width: 1500px;
	margin: 0 auto;
}

.hero-content {
	align-self: center;
	padding: 72px var(--gutter);
}

.hero-content .eyebrow {
	margin-bottom: 22px;
}

.hero-title {
	font-size: clamp(42px, 5.4vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.01em;
	max-width: 480px;
}

.hero-title em {
	font-style: italic;
	font-weight: 500;
}

.hero-title a:hover {
	color: var(--ink);
}

.hero-title--stacked {
	line-height: 1.12;
}

.hero-excerpt {
	margin: 26px 0 0;
	font-size: 16.5px;
	color: #3c3c3c;
	max-width: 380px;
}

.hero-content .read-more {
	margin-top: 32px;
}

.hero-media {
	min-height: 480px;
	max-height: 620px;
	overflow: hidden;
}

.hero-media img,
.hero-media .media-placeholder {
	height: 100%;
	min-height: 480px;
}

/* -------------------------------------------------------------------------
   4. Editor's Picks — card grid
   ------------------------------------------------------------------------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 44px 36px;
}

.post-card .card-media {
	aspect-ratio: 5 / 4;
	overflow: hidden;
	margin-bottom: 22px;
}

.post-card .card-media img {
	transition: transform 0.4s ease;
}

.post-card:hover .card-media img {
	transform: scale(1.03);
}

.post-card .eyebrow {
	margin-bottom: 10px;
}

.card-title {
	font-size: 24px;
	line-height: 1.25;
	margin: 6px 0 18px;
	max-width: 320px;
}

/* -------------------------------------------------------------------------
   5. Wide feature split
   ------------------------------------------------------------------------- */

.feature-split {
	padding-top: 12px;
}

.feature-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.feature-media {
	aspect-ratio: 21 / 9;
	overflow: hidden;
}

.feature-content .eyebrow {
	margin-bottom: 16px;
}

.feature-title {
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
	max-width: 360px;
}

.feature-title em {
	font-style: italic;
}

.feature-excerpt {
	margin: 18px 0 0;
	color: #3c3c3c;
	max-width: 320px;
}

.feature-content .read-more {
	margin-top: 26px;
}

/* -------------------------------------------------------------------------
   6. Newsletter band (home)
   ------------------------------------------------------------------------- */

.newsletter-band {
	background: var(--black);
	color: var(--white);
	margin-top: 32px;
}

.band-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.band-heading {
	border-right: 1px solid var(--line-dark);
	padding-right: 56px;
}

.band-heading h2 {
	color: var(--white);
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.35;
	font-weight: 500;
}

.band-form p {
	margin: 0 0 18px;
	font-size: 14.5px;
	color: #cfcfcf;
	max-width: 420px;
}

.newsletter-form--band {
	display: flex;
	max-width: 480px;
}

.newsletter-form--band input[type="email"] {
	flex: 1;
	background: transparent;
	border: 1px solid #4a4a4a;
	border-right: 0;
	color: var(--white);
	padding: 13px 16px;
	outline: none;
}

.newsletter-form--band input::placeholder {
	color: #9a9a9a;
}

.newsletter-form--band button {
	background: var(--white);
	color: var(--black);
	border: 1px solid var(--white);
	padding: 13px 28px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.newsletter-form--band button:hover {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
}

/* -------------------------------------------------------------------------
   7. Footer
   ------------------------------------------------------------------------- */

.site-footer {
	background: #0b0b0b;
	color: #c9c9c9;
	font-size: 14px;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr 1fr;
	gap: 0;
	padding-top: 56px;
	padding-bottom: 48px;
}

.footer-brand {
	padding-right: 44px;
}

.footer-col {
	border-left: 1px solid #232323;
	padding-left: 44px;
	padding-right: 24px;
}

.footer-logo {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 26px;
	color: var(--red);
	display: inline-block;
	margin-bottom: 16px;
}

.footer-logo:hover {
	color: var(--red);
}

.footer-brand p {
	margin: 0 0 22px;
	font-size: 13.5px;
	line-height: 1.75;
	color: #b3b3b3;
	max-width: 300px;
}

.footer-email {
	color: #b3b3b3;
	font-size: 13.5px;
	text-decoration: none;
}

.footer-email:hover {
	color: var(--white);
}

.social-links {
	display: flex;
	align-items: center;
	gap: 20px;
}

.social-link {
	color: var(--white);
	display: inline-flex;
}

.social-link:hover {
	color: var(--red);
}

.footer-col h4 {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--white);
	margin: 6px 0 20px;
}

.footer-col .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col .menu a {
	display: inline-block;
	padding: 5px 0;
	color: #c9c9c9;
	font-size: 14px;
}

.footer-col .menu a:hover {
	color: var(--white);
}

.footer-bottom {
	border-top: 1px solid #232323;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 12.5px;
	color: #9a9a9a;
}

.footer-bottom .copyright {
	margin: 0;
}

.footer-divider {
	color: #3a3a3a;
}

.footer-legal .menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 26px;
	margin: 0;
	padding: 0;
}

.footer-legal a {
	color: #9a9a9a;
}

.footer-legal a:hover {
	color: var(--white);
}

/* -------------------------------------------------------------------------
   8. Single post
   ------------------------------------------------------------------------- */

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 80px;
	padding-top: 44px;
	padding-bottom: 72px;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12.5px;
	color: var(--faint);
	margin-bottom: 30px;
}

.breadcrumbs a {
	color: var(--faint);
}

.breadcrumbs a:hover {
	color: var(--red);
}

.crumb-sep {
	display: inline-flex;
	color: #c0c0c0;
}

.crumb-current {
	color: var(--muted);
}

.entry-header .eyebrow {
	margin-bottom: 16px;
}

.entry-title {
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.12;
	max-width: 640px;
}

.entry-standfirst {
	margin: 20px 0 0;
	font-size: 17.5px;
	color: #3c3c3c;
	max-width: 520px;
}

.entry-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin: 28px 0 32px;
}

.entry-byline {
	display: flex;
	align-items: center;
	gap: 14px;
}

.byline-avatar {
	border-radius: 50%;
	width: 44px;
	height: 44px;
}

.byline-text {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.byline-name {
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
}

.byline-sub {
	font-size: 13px;
	color: var(--faint);
}

.entry-share {
	display: flex;
	align-items: center;
	gap: 24px;
}

.entry-share a {
	color: var(--ink);
	display: inline-flex;
}

.entry-share a:hover {
	color: var(--red);
}

.entry-thumb {
	margin: 0 0 36px;
}

/* Article content */

.entry-content {
	font-size: 16.5px;
	line-height: 1.85;
	color: #2a2a2a;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.entry-content h2 {
	font-size: 30px;
	margin: 1.6em 0 0.6em;
}

.entry-content h3 {
	font-size: 24px;
	margin: 1.5em 0 0.6em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 22px;
}

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

.entry-content a {
	color: var(--red);
	border-bottom: 1px solid currentColor;
}

.entry-content blockquote {
	margin: 2.2em 0;
	padding-left: 28px;
	border-left: 2px solid var(--ink);
	font-family: var(--serif);
	font-style: italic;
	font-size: 24px;
	line-height: 1.45;
	color: var(--ink);
}

.entry-content blockquote cite,
.entry-content blockquote footer {
	display: block;
	margin-top: 14px;
	font-family: var(--sans);
	font-style: normal;
	font-size: 15px;
	color: var(--muted);
}

.entry-content img {
	margin: 0 auto;
}

/* -------------------------------------------------------------------------
   9. Sidebar widgets
   ------------------------------------------------------------------------- */

.single-sidebar {
	min-width: 0;
}

.widget {
	margin-bottom: 52px;
}

.widget-label {
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 26px;
}

.widget-label::after {
	content: "";
	flex: 0 0 56px;
	height: 1px;
	background: var(--ink);
	margin-left: auto;
}

.related-item,
.popular-item {
	display: grid;
	gap: 16px;
	margin-bottom: 26px;
	align-items: center;
}

.related-item {
	grid-template-columns: 104px minmax(0, 1fr);
}

.popular-item {
	grid-template-columns: 30px 72px minmax(0, 1fr);
	gap: 14px;
}

.related-media,
.popular-media {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.related-media {
	aspect-ratio: 1 / 1.05;
}

.related-text .eyebrow,
.popular-text .eyebrow {
	font-size: 10.5px;
	margin-bottom: 4px;
	color: var(--ink);
}

.related-text h3,
.popular-text h3 {
	font-size: 17.5px;
	line-height: 1.3;
	margin: 2px 0 6px;
}

.item-date {
	font-size: 12px;
	color: var(--faint);
}

.popular-rank {
	font-family: var(--serif);
	font-size: 21px;
	color: var(--ink);
	align-self: center;
}

.newsletter-widget p {
	margin: 0 0 16px;
	font-size: 14.5px;
	color: var(--muted);
}

.newsletter-form--sidebar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.newsletter-form--sidebar input[type="email"] {
	border: 1px solid #d7d7d7;
	padding: 13px 16px;
	outline: none;
}

.newsletter-form--sidebar input:focus {
	border-color: var(--ink);
}

.newsletter-form--sidebar button {
	background: var(--black);
	color: var(--white);
	border: 0;
	padding: 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.newsletter-form--sidebar button:hover {
	background: var(--red);
}

/* -------------------------------------------------------------------------
   10. About page
   ------------------------------------------------------------------------- */

.about-story {
	padding-top: 72px;
	padding-bottom: 72px;
}

.story-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}

.story-content .eyebrow {
	margin-bottom: 18px;
}

.story-content .section-title {
	margin-bottom: 22px;
}

.story-content p {
	color: #3c3c3c;
	max-width: 480px;
}

.story-media {
	aspect-ratio: 12 / 7;
	overflow: hidden;
}

/* Values band */

.values-section {
	background: var(--black);
	color: var(--white);
	padding: 60px 0 64px;
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 36px;
}

.value-item {
	padding: 0 36px 0 0;
}

.value-item + .value-item {
	border-left: 1px solid var(--line-dark);
	padding-left: 36px;
}

.value-icon {
	display: inline-flex;
	color: var(--white);
	margin-bottom: 18px;
}

.value-item h3 {
	color: var(--white);
	font-size: 22px;
	margin-bottom: 12px;
}

.value-item p {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #c9c9c9;
}

/* Team */

.team-section {
	padding-top: 72px;
	padding-bottom: 80px;
}

.team-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
	gap: 64px;
	align-items: start;
}

.team-intro .eyebrow {
	margin-bottom: 18px;
}

.team-intro .section-title {
	margin-bottom: 18px;
}

.team-intro p {
	color: #3c3c3c;
	max-width: 400px;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.team-media {
	aspect-ratio: 3 / 3.6;
	overflow: hidden;
	margin-bottom: 16px;
}

.team-member h3 {
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	margin-bottom: 4px;
}

.team-role {
	display: block;
	text-align: center;
	font-size: 13px;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   11. Archives, pagination, comments, misc
   ------------------------------------------------------------------------- */

.archive-header {
	margin-bottom: 44px;
}

.archive-header .eyebrow {
	margin-bottom: 12px;
}

.archive-description {
	color: var(--muted);
	max-width: 560px;
	margin-top: 12px;
}

.pagination,
.navigation.pagination {
	margin-top: 56px;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nav-links .page-numbers.current {
	background: var(--black);
	border-color: var(--black);
	color: var(--white);
}

.error-404 {
	text-align: center;
}

.error-404 .search-form {
	margin: 28px auto 32px;
}

.error-404 p {
	max-width: 460px;
	margin: 16px auto 0;
	color: var(--muted);
}

.page-single .single-article--page {
	max-width: 780px;
	margin: 0 auto;
}

.comments-area {
	margin-top: 64px;
	border-top: 1px solid var(--line);
	padding-top: 44px;
}

.comments-title {
	font-size: 26px;
	margin-bottom: 24px;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .comment {
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
}

.comment-list .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid #d7d7d7;
	padding: 12px 14px;
	margin-bottom: 14px;
	outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--ink);
}

.comment-form .submit {
	background: var(--black);
	color: var(--white);
	border: 0;
	padding: 14px 32px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.comment-form .submit:hover {
	background: var(--red);
}

/* WordPress core alignment classes */

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

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

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

.wp-caption-text {
	font-size: 13px;
	color: var(--muted);
	margin-top: 8px;
}

.sticky {
	display: block;
}

.gallery-caption,
.bypostauthor {
	display: block;
}

/* -------------------------------------------------------------------------
   12. Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	:root {
		--gutter: 36px;
	}

	.single-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}

	.team-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.values-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 0;
	}

	.value-item:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 40px 0;
	}

	.footer-col:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}
}

@media (max-width: 860px) {
	.hero-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-content {
		padding-top: 56px;
		padding-bottom: 48px;
		order: 1;
	}

	.hero-media {
		order: 2;
		min-height: 320px;
	}

	.hero-media img,
	.hero-media .media-placeholder {
		min-height: 320px;
	}

	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.feature-inner,
	.story-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.band-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.band-heading {
		border-right: 0;
		padding-right: 0;
		border-bottom: 1px solid var(--line-dark);
		padding-bottom: 28px;
	}

	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.main-nav .menu {
		gap: 26px;
	}
}

@media (max-width: 600px) {
	:root {
		--gutter: 20px;
	}

	.section {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	.header-inner {
		padding-top: 16px;
	}

	.header-actions .subscribe-link {
		display: none;
	}

	.main-nav {
		display: none;
	}

	.card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.values-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.value-item {
		border-left: 0 !important;
		padding-left: 0 !important;
		padding-right: 0;
	}

	.footer-main {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-col {
		border-left: 0;
		padding-left: 0;
	}

	.newsletter-form--band {
		flex-direction: column;
	}

	.newsletter-form--band input[type="email"] {
		border-right: 1px solid #4a4a4a;
	}

	.entry-meta {
		flex-direction: column;
		align-items: flex-start;
	}
}
