/* ==========================================================================
   Custom additions on top of style.css
   1) Fully liquid ("rubber") site width — content always fills the screen.
   2) Header logo + title bar (logo on the left of the two title lines).
   3) Mobile off-canvas menu: hamburger opens the left sidebar from the top,
      covering the content; a close (×) button or a chosen link closes it.
   ========================================================================== */

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

html, body {
	max-width: 100%;
	overflow-x: hidden;
}

/* 1) Liquid layout: no fixed/maximum width anywhere — the sheet always
      fills the full width of the screen, on phones and on desktops. */
.art-sheet {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.art-layout-wrapper,
.art-content-layout,
.art-footer-inner {
	width: 100% !important;
	max-width: none !important;
}


/* ==========================================================================
   2) Header: logo to the left of the two-line title
   ========================================================================== */

.art-header {
	 background-color: #FAE6C7;
	height: auto;
	min-height: 0;
	padding: 14px 3%;
	position: relative;
	overflow: visible;
}

.art-site-branding {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 100%;
	min-height: 84px;
}

/* Logo: pinned to the left edge, independent of the centered text. */
.art-site-logo {
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.art-site-logo-img {
	display: block;
	width: 84px;
	height: auto;
}

/* Title: centered across the full header width. */
.art-site-title {
	width: 100%;
	text-align: center;
	min-width: 0;
}

.art-site-title-line {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-style: italic;
	font-weight: normal;
	color: #2812F3;
	line-height: 1.3;
	font-size: 21px;
	word-wrap: break-word;
}

@media all and (max-width: 780px) {
	.art-site-title-line {
		font-size: 16px;
	}
	.art-site-logo-img {
		width: 64px;
	}
}

@media all and (max-width: 480px) {
	.art-site-title-line {
		font-size: 13px;
	}
	.art-site-logo-img {
		width: 50px;
	}
	.art-header {
		padding: 10px 12px;
	}
}


/* ==========================================================================
   3) Mobile hamburger button (three lines / ☰)
   ========================================================================== */

.art-mobile-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 8px 10px;
	border: 0;
	background: #2812F3;
	border-radius: 3px;
	cursor: pointer;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
}

.art-mobile-menu-toggle-box {
	display: block;
	width: 22px;
	height: 16px;
	position: relative;
}

.art-mobile-menu-toggle-box span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #FFFFFF;
	border-radius: 1px;
}

.art-mobile-menu-toggle-box span:nth-child(1) { top: 0; }
.art-mobile-menu-toggle-box span:nth-child(2) { top: 7px; }
.art-mobile-menu-toggle-box span:nth-child(3) { top: 14px; }

.art-mobile-menu-toggle-label {
	display: none;
	color: #FFFFFF;
	font-size: 13px;
}

.art-mobile-menu-close {
	display: none;
}

/* Only show the hamburger, and enable the off-canvas behaviour, once the
   theme's own responsive mode kicks in (phones and tablets). */
.responsive .art-mobile-menu-toggle {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

/* The left sidebar becomes the off-canvas mobile menu: hidden above the
   top of the screen, sliding down to cover the content area when opened. */
.responsive .art-content-layout .art-sidebar1 {
	display: block !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-height: 100%;
	overflow-y: auto;
	-webkit-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.3s ease;
	transition: transform 0.3s ease;
	z-index: 10000;
	background: #FAE6C5;
	padding: 56px 16px 24px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

html.responsive.art-mobile-menu-active .art-content-layout .art-sidebar1 {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.responsive .art-mobile-menu-close {
	display: block;
	position: absolute;
	top: 8px;
	right: 12px;
	width: 36px;
	height: 36px;
	line-height: 32px;
	text-align: center;
	font-size: 26px;
	border: 0;
	background: transparent;
	color: #2812F3;
	cursor: pointer;
	z-index: 1;
}

/* Prevent the page behind the open menu from scrolling. */
html.art-mobile-menu-active {
	overflow: hidden;
}

/* #art-main normally clips its content (overflow: hidden); while the
   off-canvas menu is open that would also clip our fixed-position panel,
   so it's relaxed for as long as the menu stays open. */
html.art-mobile-menu-active #art-main {
	overflow: visible !important;
}


/* ==========================================================================
   4) Right sidebar: site search + standard widgets
   ========================================================================== */

.art-sidebar2 form.art-search input[type="text"] {
	padding: 6px 32px 6px 8px;
}

.art-sidebar2 .art-blockcontent ul {
	margin: 0;
	padding: 0;
}

.art-sidebar2 .art-blockcontent li {
	margin: 0 0 6px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.art-sidebar2 .art-blockcontent .post-date {
	display: block;
	font-size: 11px;
	color: #666666;
}

.art-sidebar2 .art-blockcontent select {
	width: 100%;
}
