/*
Theme Name: RAC Demo
Description: Local lookalike of rowaytonarts.org (Hind + WPBakery) for a private Crafted Call sales demo. Not for publication.
Author: Crafted Call
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: rac-demo
*/

/* Lato and Barlow (SIL OFL 1.1, see assets/fonts) are served from the theme so it has no external dependency. */
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: url('assets/fonts/lato-400.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: italic;
	font-weight: 400;
	src: url('assets/fonts/lato-400-italic.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	src: url('assets/fonts/lato-700.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: italic;
	font-weight: 700;
	src: url('assets/fonts/lato-700-italic.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 500;
	src: url('assets/fonts/barlow-500.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 700;
	src: url('assets/fonts/barlow-700.woff2') format('woff2');
}

:root {
	--rac-text: #4c4d4f;
	--rac-heading: #000;
	--rac-link: #0069b1;
	--rac-link-hover: #1151d3;
	--rac-blue: #0f77be;
	--rac-blue-dark: #0f71b5;
	--rac-red: #d71b29;
	--rac-red-bright: #eb1b2b;
	--rac-yellow: #d5b51f;
	--rac-yellow-line: #ffc40d;
	--rac-dark: #262626;
	--rac-footer: #ddd;
	--rac-border: #d9d9d9;
	--rac-display: 'Barlow', 'Lato', Helvetica, Arial, sans-serif;
	--rac-body: 'Lato', Helvetica, Arial, sans-serif;
	--rac-container: 1215px;
}

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

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

body {
	margin: 0;
	background: #f2f2f2 url('assets/img/bg-lines.png');
	color: var(--rac-text);
	font-family: var(--rac-body);
	font-size: 17px;
	line-height: 27px;
	overflow-x: hidden;
}

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

a {
	color: var(--rac-link);
	text-decoration: none;
}

a:hover {
	color: var(--rac-link-hover);
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--rac-link-hover);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--rac-heading);
	font-family: var(--rac-display);
	font-weight: 700;
	line-height: 1.2;
	margin: 1.2em 0 0.5em;
	text-wrap: balance;
}

h1 {
	font-size: 35px;
}

h2 {
	font-size: 26px;
}

h3 {
	font-size: 21px;
}

h4 {
	font-size: 18px;
}

p {
	margin: 0 0 18px;
}

.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;
}

.skip-link:focus {
	background: #fff;
	clip: auto;
	clip-path: none;
	color: #000;
	height: auto;
	left: 8px;
	padding: 8px 14px;
	top: 8px;
	width: auto;
	z-index: 1000;
}

.container {
	margin: 0 auto;
	max-width: var(--rac-container);
	padding: 0 15px;
	width: 100%;
}

/* Demo banner */
.rac-demo-banner {
	background: #1d1d1f;
	color: #f2f2f2;
	font-family: var(--rac-body);
	font-size: 13px;
	letter-spacing: 0.02em;
	line-height: 18px;
	padding: 6px 16px;
	text-align: center;
}

/* Header */
.main-header {
	background: #fff;
	position: relative;
	z-index: 50;
}

.header-inner {
	align-items: flex-end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding: 10px 20px 14px 26px;
}

.logo-link {
	display: block;
	line-height: 0;
	padding-bottom: 14px;
}

.logo-link img {
	width: 290px;
}

.header-center {
	flex: 0 1 auto;
	min-width: 0;
}

.donate-button-wrap {
	display: flex;
	justify-content: flex-end;
	padding-bottom: 10px;
}

.donate-button2 {
	background: linear-gradient(to bottom, #f82b3c 0%, #b20614 100%);
	border: 1px solid #aaa;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	font-family: var(--rac-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 26px;
	padding: 7px 45px;
	text-transform: uppercase;
	transition: background 0.4s;
}

.donate-button2:hover,
.donate-button2:focus-visible {
	background: linear-gradient(to bottom, #b20614 0%, #f82b3c 100%);
	color: #fff;
	text-shadow: 1px 1px 1px #000;
}

.navbar-collapse {
	border-top: 1px solid #dedede;
}

.nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 6px 0 0;
}

.nav > li {
	background: url('assets/img/bg-nav.png') no-repeat left 14px;
	background-size: 7px 17px;
	position: relative;
}

.nav > li:first-child {
	background: none;
}

.nav a {
	font-family: var(--rac-display);
}

.nav > li > a {
	color: #000;
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 22px;
	padding: 6px 10px 4px 15px;
}

.nav > li > a:hover,
.nav > li.current-menu-item > a,
.nav > li.current-menu-ancestor > a,
.nav > li:hover > a,
.nav > li.has-focus > a {
	color: var(--rac-link-hover);
}

.nav > li.nav-online-gallery {
	background: none;
	margin-left: 4px;
}

.nav > li.nav-online-gallery > a {
	background: var(--rac-blue);
	color: #fff;
	font-size: 15px;
	letter-spacing: 0.02em;
	padding: 6px 10px 4px;
	text-transform: uppercase;
}

.nav > li.nav-online-gallery > a:hover {
	background: var(--rac-blue-dark);
	color: #fff;
}

.nav .sub-menu {
	background: var(--rac-dark);
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 250px;
	opacity: 0;
	padding: 12px 0;
	position: absolute;
	top: 100%;
	transition: opacity 0.2s, visibility 0.2s;
	visibility: hidden;
	z-index: 100;
}

.nav > li:hover > .sub-menu,
.nav > li.has-focus > .sub-menu {
	opacity: 1;
	visibility: visible;
}

/* The last dropdowns open leftward so they never run past the viewport edge. */
.nav > li:nth-last-child(-n + 3) > .sub-menu {
	left: auto;
	right: 0;
}

.nav .sub-menu a {
	color: #fff;
	display: block;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 20px;
	padding: 6px 20px;
}

.nav .sub-menu a:hover,
.nav .sub-menu a:focus-visible {
	background: #3a3a3a;
	color: #fff;
}

.submenu-toggle,
.navbar-toggle {
	display: none;
}

/* Pages */
.site-content {
	min-height: 50vh;
}

.page-container {
	padding-bottom: 60px;
	padding-top: 1px;
}

.page-item-title h1 {
	margin: 28px 0 22px;
}

.page-row {
	display: grid;
	gap: 75px;
	grid-template-columns: minmax(0, 1fr);
}

.page-row.has-sidebar {
	grid-template-columns: minmax(0, 810px) 300px;
	justify-content: space-between;
}

.entry-content > :first-child {
	margin-top: 0;
}

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

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

.entry-content h4 {
	font-size: 18px;
	line-height: 26px;
}

.entry-content .alignright {
	float: right;
	margin: 6px 0 20px 30px;
}

.entry-content .aligncenter {
	display: block;
	margin: 20px auto;
}

.entry-content .page-hero {
	display: block;
	margin: 0 0 40px;
	width: 100%;
}

.entry-content::after {
	clear: both;
	content: '';
	display: table;
}

.sidebar {
	align-self: start;
	background: #e9e9e9 url('assets/img/bg-canvas.png');
	font-size: 14px;
	line-height: 21px;
	padding: 15px 15px 40px;
}

.sidebar .widgettitle {
	border-bottom: 1px solid #c4c4c4;
	font-size: 20px;
	margin: 0 0 12px;
	padding: 0 0 7px;
}

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

.section-nav li {
	margin: 5px 0;
}

.section-nav a {
	color: #000;
	font-family: var(--rac-display);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.section-nav a:hover,
.section-nav .current a {
	color: var(--rac-link-hover);
}

/* Shared buttons */
.read-more,
.newsletter {
	border: 1px solid #ccc;
	display: inline-block;
	font-family: var(--rac-display);
	font-weight: 700;
	transition: box-shadow 0.4s, border-color 0.4s;
}

.read-more {
	background: #fff;
	box-shadow: 2px 2px 0 0 rgba(255, 196, 13, 1);
	color: #222;
	font-size: 15px;
	padding: 7px 16px 5px;
}

.read-more::after {
	content: ' \2192';
	display: inline-block;
	font-size: 13px;
	margin-left: 4px;
	transition: transform 0.4s;
}

.read-more:hover {
	border-color: #555;
	box-shadow: 2px 2px 0 0 rgba(255, 214, 85, 1);
	color: #222;
}

.read-more:hover::after {
	transform: translateX(5px);
}

.newsletter {
	background: var(--rac-link);
	border-color: #b2b2b2;
	box-shadow: 3px 3px 0 0 rgba(178, 178, 178, 1);
	color: #fff;
	font-size: 17px;
	padding: 10px 26px 8px;
}

.newsletter:hover {
	border-color: #125584;
	box-shadow: 3px 3px 0 0 rgba(18, 85, 132, 1);
	color: #fff;
}

/* Footer */
.site-footer {
	background: var(--rac-footer);
	font-size: 15px;
	line-height: 23px;
	padding: 30px 0 40px;
}

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

.footer-social {
	align-items: center;
	align-self: start;
	display: flex;
	font-weight: 700;
	gap: 14px;
}

.social {
	align-items: center;
	border-radius: 50%;
	display: inline-flex;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.social svg {
	height: 28px;
	width: 28px;
}

.social-facebook {
	background: #3b5998;
}

.social-instagram {
	background: #d6336c;
}

.footer-contact strong {
	color: #4c4d4f;
}

.footer-phone {
	color: inherit;
}

#top-link {
	align-items: center;
	background: #1151d3;
	bottom: 40px;
	color: #fff;
	display: flex;
	flex-direction: column;
	font-family: var(--rac-display);
	font-size: 13px;
	font-weight: 700;
	height: 50px;
	justify-content: center;
	line-height: 1;
	position: fixed;
	right: 40px;
	width: 50px;
	z-index: 40;
}

#top-link span {
	font-size: 22px;
	line-height: 14px;
}

/* Home */
.home-container {
	padding-bottom: 50px;
	padding-top: 30px;
}

.home-row-top {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	margin-bottom: 40px;
}

.rac-slider {
	max-width: 750px;
}

.rac-slide {
	position: relative;
}

.rac-slide-image {
	display: block;
	line-height: 0;
}

.rac-slide-image img {
	aspect-ratio: 750 / 700;
	object-fit: cover;
	width: 100%;
}

.slider-content {
	background: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	line-height: 21px;
	padding: 14px 20px 10px;
	position: absolute;
	right: 50px;
	top: 46%;
	width: 253px;
}

.slider-content h2 {
	font-size: 26px;
	line-height: 31px;
	margin: 0 0 12px;
}

.slider-content h2 a {
	color: #000;
}

.slider-content p {
	color: #222;
	margin: 0 0 12px;
}

.rac-slider-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.rac-slider-thumbs button {
	background: none;
	border: 0;
	cursor: pointer;
	line-height: 0;
	opacity: 0.55;
	padding: 0;
	transition: opacity 0.3s;
}

.rac-slider-thumbs button[aria-pressed='true'],
.rac-slider-thumbs button:hover {
	opacity: 1;
}

.rac-slider-thumbs img {
	height: 70px;
	object-fit: cover;
	width: 90px;
}

.slider-right {
	align-self: start;
	background: #e4e4e4 url('assets/img/bg-canvas.png');
	padding: 15px 15px 20px;
}

.hours-location {
	background: #f9f9f9;
	border: 1px solid var(--rac-border);
	margin-bottom: 20px;
}

.rac-tablist {
	background: #efefef;
	display: flex;
	padding: 8px 8px 0;
}

.rac-tablist button {
	background: transparent;
	border: 0;
	color: #4c4d4f;
	cursor: pointer;
	font-family: var(--rac-display);
	font-size: 15px;
	font-weight: 700;
	padding: 6px 16px 9px;
}

.rac-tablist button[aria-selected='true'] {
	background: #f9f9f9;
	color: #000;
}

.rac-tablist button span {
	border-bottom: 3px solid transparent;
	padding-bottom: 2px;
}

.rac-tablist button:nth-child(1) span {
	border-color: var(--rac-red-bright);
}

.rac-tablist button:nth-child(2) span {
	border-color: var(--rac-yellow-line);
}

.rac-tablist button:nth-child(3) span {
	border-color: var(--rac-blue);
}

.rac-tabpanel {
	font-size: 14px;
	line-height: 20px;
	padding: 16px 18px 18px;
	text-align: center;
}

.rac-tabpanel p {
	margin: 0 0 10px;
}

.rac-tabpanel strong {
	color: #333;
}

.members-gallery-card {
	margin-bottom: 30px;
	position: relative;
}

.members-gallery-card img {
	aspect-ratio: 16 / 10;
	display: block;
	object-fit: cover;
	width: 100%;
}

.card-label {
	background: var(--rac-blue);
	color: #fff;
	display: inline-block;
	font-family: var(--rac-display);
	font-size: 15px;
	font-weight: 700;
	left: -8px;
	letter-spacing: 0.02em;
	padding: 4px 12px 3px;
	position: absolute;
	top: 14px;
}

.card-label:hover {
	color: #fff;
}

.members-gallery-card figcaption {
	color: #000;
	font-family: var(--rac-display);
	font-size: 13px;
	font-weight: 700;
	padding-top: 4px;
	text-align: right;
}

.announcement {
	background: #fff;
	font-size: 14px;
	line-height: 20px;
	padding: 0 14px 12px;
}

.announcement-header {
	background: var(--rac-red);
	color: #fff;
	font-size: 16px;
	letter-spacing: 0.02em;
	margin: 0 0 14px -22px;
	padding: 6px 12px 5px 13px;
	width: calc(100% + 8px);
}

.announcement p {
	margin: 0 0 10px;
}

.announcement strong {
	color: #333;
}

.home-promos {
	display: grid;
	gap: 25px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 60px;
}

.promo {
	color: #fff;
	display: block;
}

.promo img {
	aspect-ratio: 375 / 225;
	display: block;
	object-fit: cover;
	transition: opacity 0.35s ease-in-out;
	width: 100%;
}

.promo:hover img {
	opacity: 0.7;
}

.promo-body {
	background-blend-mode: multiply;
	background-image: url('assets/img/bg-splat2.png');
	font-family: var(--rac-display);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 22px;
	min-height: 150px;
	padding: 4px 15px 20px;
}

.promo-body h2 {
	color: #fff;
	font-size: 29px;
	letter-spacing: 0.04em;
	margin: 8px 0 10px;
}

.promo-red .promo-body {
	background-color: var(--rac-red);
}

.promo-yellow .promo-body {
	background-color: var(--rac-yellow);
}

.promo-blue .promo-body {
	background-color: var(--rac-blue-dark);
}

.promo:hover {
	color: #fff;
}

.section-heading {
	font-size: 20px;
	margin: 10px 0 30px;
	text-transform: uppercase;
}

.section-heading::before {
	color: var(--rac-red-bright);
	content: '/ ';
}

.class-list {
	display: grid;
	gap: 0 2.5%;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

.class-list h3 {
	font-size: 18px;
	line-height: 22px;
	margin: 0;
}

.class-list h3 + h3 {
	margin-bottom: 8px;
}

.class-list img {
	aspect-ratio: 150 / 140;
	display: block;
	margin-bottom: 10px;
	max-width: 150px;
	object-fit: cover;
	width: 100%;
}

.class-list h4 {
	font-size: 15px;
	font-weight: 500;
	line-height: 21px;
	margin: 0 0 3px;
}

.class-list .class-title a {
	font-weight: 700;
}

.class-list .class-level {
	color: #999;
}

.more-row {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 50px;
}

.home-exhibitions {
	display: grid;
	gap: 25px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exhibition-card {
	font-size: 15px;
	line-height: 23px;
}

.exhibition-card .exhibition-media {
	display: block;
	position: relative;
}

.exhibition-card img {
	aspect-ratio: 1024 / 465;
	background: #fff;
	display: block;
	object-fit: contain;
	padding: 18px 25px;
	width: 100%;
}

.exhibition-card.upcoming img {
	aspect-ratio: 1024 / 569;
	background: #d7e5ef;
}

.exhibitions-header {
	background: var(--rac-red) url('assets/img/bg-splat2.png');
	color: #fff;
	display: inline-block;
	font-size: 19px;
	left: -10px;
	letter-spacing: 0.04em;
	margin: 0;
	padding: 6px 12px 4px;
	position: absolute;
	top: -12px;
}

.upcoming .exhibitions-header {
	background-color: var(--rac-blue-dark);
}

.exhibition-card h3 {
	font-size: 19px;
	margin: 16px 6px 8px;
}

.exhibition-card h3 a {
	color: #000;
}

.exhibition-card p {
	margin: 0 6px 14px;
}

/* Crafted Call blocks inside the theme */
.entry-content [class*='wp-block-craftedcall-'],
.home-container [class*='wp-block-craftedcall-'] {
	--cc-card-radius: 0;
	--cc-button-radius: 0;
	--cc-card-gap: 25px;
	--cc-card-padding: 18px;
	--cc-font-size-base: 15px;
	font-family: var(--rac-body);
	margin: 0 0 40px;
}

[class*='wp-block-craftedcall-'] h2,
[class*='wp-block-craftedcall-'] h3,
[class*='wp-block-craftedcall-'] h4 {
	font-family: var(--rac-display);
	font-weight: 700;
	letter-spacing: 0.01em;
}

[class*='wp-block-craftedcall-'] .craftedcall-button {
	border: 1px solid #b2b2b2;
	box-shadow: 3px 3px 0 0 rgba(178, 178, 178, 1);
	font-family: var(--rac-display);
	font-weight: 700;
	letter-spacing: 0.02em;
}

[class*='wp-block-craftedcall-'] .craftedcall-button:hover {
	border-color: #125584;
	box-shadow: 3px 3px 0 0 rgba(18, 85, 132, 1);
}

[class*='wp-block-craftedcall-'] .craftedcall-call-card,
[class*='wp-block-craftedcall-'] .craftedcall-event-card,
[class*='wp-block-craftedcall-'] .craftedcall-artwork-card {
	box-shadow: none;
}

/* The events block hardcodes its radii instead of reading --cc-card-radius, so square them here. */
[class*='wp-block-craftedcall-'] .craftedcall-event-card,
[class*='wp-block-craftedcall-'] .craftedcall-call-card,
[class*='wp-block-craftedcall-'] .craftedcall-artwork-card,
[class*='wp-block-craftedcall-'] .craftedcall-event-occurrences,
[class*='wp-block-craftedcall-'] .craftedcall-button {
	border-radius: 0;
}

[class*='wp-block-craftedcall-'] .craftedcall-event-title,
[class*='wp-block-craftedcall-'] .craftedcall-call-title,
[class*='wp-block-craftedcall-'] .craftedcall-artwork-title,
[class*='wp-block-craftedcall-'] .craftedcall-exhibition-title,
[class*='wp-block-craftedcall-'] .craftedcall-event-title a,
[class*='wp-block-craftedcall-'] .craftedcall-call-title a,
[class*='wp-block-craftedcall-'] .craftedcall-exhibition-title a {
	color: #000;
}

[class*='wp-block-craftedcall-'] .craftedcall-exhibition-title a:hover,
[class*='wp-block-craftedcall-'] .craftedcall-event-title a:hover,
[class*='wp-block-craftedcall-'] .craftedcall-call-title a:hover {
	color: var(--rac-link-hover);
}

[class*='wp-block-craftedcall-'] .craftedcall-exhibition-title {
	font-size: 26px;
	margin-top: 0;
}

/* Artwork images arrive in mixed aspect ratios; a square, uncropped frame keeps the grid rows aligned. */
.wp-block-craftedcall-exhibition-gallery .craftedcall-artwork-image img {
	aspect-ratio: 1 / 1;
	background: #f4f4f4;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.directory-note {
	color: #6b6c6e;
	font-size: 15px;
}

.wp-block-craftedcall-join-renew {
	background: #e9e9e9 url('assets/img/bg-canvas.png');
	border-left: 4px solid var(--rac-red);
	margin-top: 30px;
	padding: 20px 24px 24px;
}

.wp-block-craftedcall-join-renew .craftedcall-join-heading {
	font-size: 24px;
	margin: 0 0 8px;
}

.wp-block-craftedcall-member-directory .craftedcall-member-name a {
	color: #000;
}

.craftedcall-error {
	background: #fff;
	border-left: 4px solid var(--rac-red);
	font-size: 15px;
	margin: 0 0 20px;
	padding: 10px 16px;
}

.craftedcall-error p {
	margin: 0;
}

/* Responsive */
@media (max-width: 1199px) {
	.nav > li > a {
		font-size: 16px;
		padding: 6px 8px 4px 13px;
	}

	.logo-link img {
		width: 250px;
	}
}

@media (max-width: 1024px) {
	.header-inner {
		align-items: center;
		flex-direction: column;
		gap: 0;
		padding: 16px 16px 14px;
	}

	.logo-link {
		padding-bottom: 12px;
	}

	.header-center {
		width: 100%;
	}

	.donate-button-wrap {
		justify-content: center;
	}

	.donate-button2 {
		font-size: 15px;
		padding: 5px 40px;
	}

	.navbar {
		text-align: center;
	}

	.navbar-toggle {
		align-items: center;
		background: #1151d3;
		border: 0;
		color: #fff;
		cursor: pointer;
		display: inline-flex;
		font-family: var(--rac-display);
		font-size: 19px;
		font-weight: 700;
		gap: 8px;
		justify-content: center;
		letter-spacing: 0.02em;
		min-height: 50px;
		padding: 10px 38px;
		text-transform: uppercase;
	}

	.navbar-toggle-icon,
	.navbar-toggle-icon::before,
	.navbar-toggle-icon::after {
		background: #fff;
		display: block;
		height: 2px;
		position: relative;
		width: 16px;
	}

	.navbar-toggle-icon::before,
	.navbar-toggle-icon::after {
		content: '';
		position: absolute;
	}

	.navbar-toggle-icon::before {
		top: -5px;
	}

	.navbar-toggle-icon::after {
		top: 5px;
	}

	.navbar-collapse {
		border-top: 0;
		display: none;
		margin-top: 12px;
		text-align: left;
	}

	.navbar.is-open .navbar-collapse {
		display: block;
	}

	.nav {
		border-top: 1px solid #dedede;
		display: block;
		padding: 0;
	}

	.nav > li,
	.nav > li:first-child {
		background: none;
		border-bottom: 1px solid #ececec;
	}

	.nav > li > a {
		font-size: 17px;
		padding: 12px 52px 12px 6px;
	}

	.nav > li.nav-online-gallery {
		border-bottom: 0;
		margin: 12px 0 0;
	}

	.nav > li.nav-online-gallery > a {
		padding: 10px 12px;
		text-align: center;
	}

	.submenu-toggle {
		background: none;
		border: 0;
		cursor: pointer;
		display: block;
		height: 46px;
		position: absolute;
		right: 0;
		top: 0;
		width: 46px;
	}

	.submenu-toggle::before {
		border-bottom: 2px solid #000;
		border-right: 2px solid #000;
		content: '';
		display: block;
		height: 9px;
		margin: 12px auto 0;
		transform: rotate(45deg);
		transition: transform 0.2s;
		width: 9px;
	}

	.nav > li.is-open > .submenu-toggle::before {
		margin-top: 20px;
		transform: rotate(-135deg);
	}

	.nav .sub-menu {
		display: none;
		opacity: 1;
		padding: 6px 0;
		position: static;
		transition: none;
		visibility: visible;
	}

	.nav > li:hover > .sub-menu,
	.nav > li.has-focus > .sub-menu {
		display: none;
	}

	.nav > li.is-open > .sub-menu {
		display: block;
	}

	.nav .sub-menu a {
		font-size: 15px;
		padding: 9px 18px;
	}

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

	.rac-slider {
		max-width: none;
	}

	.page-row.has-sidebar {
		gap: 40px;
		grid-template-columns: minmax(0, 1fr);
	}

	.class-list {
		gap: 30px 4%;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	body {
		font-size: 16px;
		line-height: 26px;
	}

	.container {
		padding: 0 16px;
	}

	.logo-link img {
		width: 230px;
	}

	.page-item-title h1 {
		font-size: 28px;
		margin: 22px 0 18px;
	}

	.slider-content {
		margin: -40px 12px 0;
		position: relative;
		right: auto;
		top: auto;
		width: auto;
	}

	.rac-slider-thumbs {
		display: none;
	}

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

	.home-exhibitions {
		gap: 50px;
	}

	.class-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.entry-content .alignright {
		float: none;
		margin: 0 auto 20px;
	}

	#top-link {
		bottom: 16px;
		right: 16px;
	}

	.exhibitions-header {
		left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
