/*
Theme Name: Road Life
Theme URI: https://sooleenas.com/
Description: Road Life child theme for sooleenas.com, based on Twenty Seventeen.
Author: sooleenas
Author URI: https://sooleenas.com/
Template: twentyseventeen
Version: 1.0.0
Text Domain: twentyseventeen-roadlife
*/

:root {
	--rl-paper: #f3eee5;
	--rl-ink: #171614;
	--rl-muted: #686057;
	--rl-line: rgba(23, 22, 20, 0.16);
	--rl-soft-line: rgba(23, 22, 20, 0.08);
	--rl-rust: #8f3f27;
	--rl-card: #6e6f6a;
}

html {
	overscroll-behavior-y: none;
}

body {
	color: var(--rl-ink);
	font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

body.roadlife-home,
body:not(.roadlife-home),
body:not(.roadlife-home) .site,
body:not(.roadlife-home) .site-content-contain,
body:not(.roadlife-home) .site-content,
body:not(.roadlife-home) .wrap,
body:not(.roadlife-home) #content,
body:not(.roadlife-home) #primary,
body:not(.roadlife-home) #secondary,
body:not(.roadlife-home) article,
body:not(.roadlife-home) .entry-content,
body:not(.roadlife-home) .entry-header,
body:not(.roadlife-home) .widget {
	background: var(--rl-paper) !important;
}

body.roadlife-home {
	overscroll-behavior-y: none;
}

body.roadlife-home .rl-page {
	min-height: 100svh;
	overscroll-behavior-y: none;
	color: var(--rl-ink);
	background:
		linear-gradient(rgba(23, 22, 20, 0.018) 1px, transparent 1px),
		var(--rl-paper);
	background-size: 100% 24px;
}

body.roadlife-home .rl-page a {
	color: inherit;
	text-decoration: none;
}

body.roadlife-home .rl-page img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Home navigation */
body.roadlife-home .rl-topline {
	position: relative;
	top: auto;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(24px, 3vw, 42px);
	padding: 12px clamp(18px, 3.8vw, 48px);
	border-bottom: 1px solid var(--rl-line);
	background: color-mix(in srgb, var(--rl-paper) 94%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.admin-bar.roadlife-home .rl-topline {
	top: auto;
}

@media screen and (min-width: 901px) {
	body.roadlife-home .rl-topline {
		width: min(var(--rl-page-max-width, 1220px), calc(100% - var(--rl-page-side-space, clamp(90px, 14vw, 260px))));
		margin-right: auto;
		margin-left: auto;
		padding-right: 0;
		padding-left: 0;
	}
}

body.roadlife-home .rl-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	font-size: 1rem;
	font-weight: 900;
	white-space: nowrap;
}

body.roadlife-home .rl-seal {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background: var(--rl-rust);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 900;
	line-height: 1;
	transform: rotate(-7deg);
}

body.roadlife-home .rl-menu {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.76rem;
	font-weight: 820;
}

body.roadlife-home .rl-menu a,
body.roadlife-home .rl-menu-group > a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 7px 11px 8px;
	border: 1px solid rgba(23, 22, 20, 0.14);
	border-radius: 2px;
	background: var(--rl-card);
	color: rgba(255, 255, 255, 0.9);
	line-height: 1;
}

body.roadlife-home .rl-menu-toggle {
	gap: 6px;
}

body.roadlife-home .rl-menu-toggle::after {
	content: "⌄";
	display: inline-block;
	color: currentColor;
	font-size: 0.82em;
	line-height: 1;
	transform: translateY(-1px);
}

body.roadlife-home .rl-menu-group.is-submenu-open .rl-menu-toggle::after {
	transform: translateY(1px) rotate(180deg);
}

body.roadlife-home .rl-menu-group {
	position: relative;
	display: inline-flex;
}

body.roadlife-home .rl-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	display: none;
	min-width: 156px;
	padding: 0;
	border: 1px solid rgba(23, 22, 20, 0.16);
	border-radius: 0;
	background: var(--rl-paper);
	box-shadow: none;
}

body.roadlife-home .rl-menu-group:hover .rl-submenu,
body.roadlife-home .rl-menu-group:focus-within .rl-submenu {
	display: grid;
	gap: 5px;
}

body.roadlife-home .rl-submenu a {
	width: 100%;
	min-height: 44px;
	padding: 13px 18px;
	border: 0;
	border-radius: 0;
	background: var(--rl-paper);
	color: var(--rl-ink);
	font-size: 0.9rem;
	font-weight: 760;
}

body.roadlife-home .rl-menu a:hover {
	background: var(--rl-rust);
	color: #fff;
}

body.roadlife-home .rl-menu-auth {
	display: none;
}

/* Home hero */
body.roadlife-home .rl-hero,
body.roadlife-home .rl-main {
	width: min(var(--rl-page-max-width, 1220px), calc(100% - var(--rl-page-side-space, clamp(90px, 14vw, 260px))));
	margin-right: auto;
	margin-left: auto;
}

body.roadlife-home .rl-hero {
	display: grid;
	grid-template-columns: minmax(360px, 0.74fr) minmax(680px, 1.26fr);
	gap: clamp(32px, 3.2vw, 58px);
	align-items: start;
	min-height: auto;
	margin-top: clamp(-108px, -6vw, -72px);
	padding: var(--rl-hero-top-padding, clamp(28px, 3vw, 54px)) 0 var(--rl-hero-bottom-padding, clamp(24px, 3vw, 44px));
	border-bottom: 1px solid var(--rl-line);
}

body.roadlife-home .rl-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
	padding: 0;
}

body.roadlife-home .rl-hero-copy > div:first-child {
	position: relative;
	max-width: 560px;
}

body.roadlife-home .rl-hero-copy > div:first-child::after {
	content: "";
	display: block;
	width: min(230px, 42vw);
	height: 1px;
	margin-top: clamp(12px, 1.4vw, 20px);
	background: linear-gradient(90deg, rgba(143, 63, 39, 0.42), rgba(143, 63, 39, 0));
}

body.roadlife-home .rl-kicker {
	position: absolute;
	top: clamp(-118px, -7vw, -82px);
	left: 0;
	margin: 0;
	color: var(--rl-rust);
	font-size: clamp(0.72rem, 0.78vw, 0.88rem);
	font-weight: 900;
}

body.roadlife-home .rl-title {
	margin: 0;
	font-family: "Noto Serif KR", Georgia, "Times New Roman", serif;
	font-size: clamp(3.35rem, 5.2vw, 5.05rem);
	font-weight: 600;
	line-height: 0.86;
	letter-spacing: 0;
}

body.roadlife-home .rl-hero-sentence {
	max-width: 570px;
	margin: 16px 0 0;
	color: var(--rl-ink);
	font-size: clamp(0.84rem, 0.9vw, 0.98rem);
	font-weight: 740;
	line-height: 1.58;
}

body.roadlife-home .rl-hero-memory {
	display: grid;
	gap: 0.34em;
}

body.roadlife-home .rl-hero-memory span:nth-child(3) {
	margin-top: 0.8em;
}

body.roadlife-home .rl-hero-note {
	max-width: 560px;
	margin: 16px 0 0;
	color: var(--rl-muted);
	font-size: clamp(0.86rem, 0.88vw, 0.98rem);
	line-height: 1.72;
}

body.roadlife-home .rl-route-note {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 14px;
	max-width: 520px;
	margin-top: clamp(10px, 1vw, 16px);
	padding-top: 8px;
	border-top: 1px solid rgba(143, 63, 39, 0.28);
	color: var(--rl-muted);
	font-size: clamp(0.72rem, 0.74vw, 0.82rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.roadlife-home .rl-route-note span:first-child {
	color: var(--rl-rust);
}

body.roadlife-home .rl-signature {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: clamp(34px, 4vw, 62px);
}

body.roadlife-home .rl-meta {
	color: var(--rl-muted);
	font-size: 0.72rem;
	line-height: 1.9;
}

body.roadlife-home .rl-signature-mark {
	width: 80px;
	max-width: 100%;
	height: auto;
	opacity: 0.9;
	transform: rotate(-7deg);
}

body.roadlife-home .rl-page img.rl-signature-mark {
	width: 80px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

body.roadlife-home .rl-hero-photo {
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	width: 100%;
	min-height: 0;
	margin-top: clamp(96px, 7vw, 144px);
}

body.roadlife-home .rl-page .rl-hero-photo img {
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: clamp(420px, 38vw, 560px);
	border: 1px solid rgba(23, 22, 20, 0.08);
	object-fit: contain;
}

body.roadlife-home .rl-photo-caption {
	position: absolute;
	right: 16px;
	bottom: 16px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.72rem;
	writing-mode: vertical-rl;
}

/* Home category cards */
body.roadlife-home .rl-main {
	padding-bottom: clamp(18px, 2.2vw, 34px);
	background: transparent;
}

body.roadlife-home .rl-section {
	padding: clamp(26px, 2.8vw, 38px) 0 0;
	border-bottom: 0;
	background: transparent;
}

body.roadlife-home .rl-section-head {
	display: block;
	max-width: 780px;
	margin-bottom: clamp(28px, 3vw, 44px);
}

body.roadlife-home .rl-section-title {
	max-width: none;
	margin: 0;
	color: rgba(23, 22, 20, 0.62);
	font-size: clamp(1.42rem, 1.78vw, 1.92rem);
	font-weight: 450;
	line-height: 1.34;
}

body.roadlife-home .rl-section-head p {
	max-width: 760px;
	margin: 14px 0 0;
	color: rgba(23, 22, 20, 0.62);
	font-size: clamp(0.86rem, 0.9vw, 0.98rem);
	line-height: 1.78;
}

body.roadlife-home .rl-gate-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--rl-card-gap, clamp(14px, 1.35vw, 20px));
	margin-top: 0;
	background: linear-gradient(rgba(23, 22, 20, 0.018) 1px, transparent 1px);
	background-size: 100% 24px;
}

body.roadlife-home .rl-gate {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: var(--rl-gate-min-height, 334px);
	border: 1px solid rgba(23, 22, 20, 0.18);
	background: var(--rl-card);
	overflow: visible;
	transition: border-color 160ms ease, transform 160ms ease;
}

body.roadlife-home .rl-gate:hover {
	border-color: rgba(143, 63, 39, 0.36);
	transform: translateY(-2px);
}

body.roadlife-home .rl-gate-badge {
	position: absolute;
	top: -14px;
	left: -1px;
	z-index: 2;
	padding: 7px 11px 8px;
	border: 1px solid rgba(23, 22, 20, 0.12);
	border-top: 0;
	border-left: 0;
	background: var(--rl-rust);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 760;
}

body.roadlife-home .rl-gate-visual {
	display: block;
	width: 100%;
	aspect-ratio: var(--rl-gate-visual-ratio, 1.82 / 1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	background: #e1d8c8;
	overflow: hidden;
}

body.roadlife-home .rl-gate-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: var(--rl-gate-text-min-height, 160px);
	padding: 17px 15px;
	background: var(--rl-card);
}

body.roadlife-home .rl-gate small {
	display: none;
}

body.roadlife-home .rl-gate-latest {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.roadlife-home .rl-gate-latest li {
	position: relative;
	padding-left: 12px;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(0.72rem, 0.76vw, 0.82rem);
	font-weight: 520;
	line-height: 1.42;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.roadlife-home .rl-gate-latest li::before {
	content: "";
	position: absolute;
	top: 0.58em;
	left: 0;
	width: 4px;
	height: 4px;
	background: rgba(255, 255, 255, 0.86);
}

body.roadlife-home .rl-gate-latest a:hover {
	color: #fff;
}

body.roadlife-home .rl-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(18px, 2.4vw, 32px) clamp(18px, 3.8vw, 48px);
	background: transparent;
	color: rgba(23, 22, 20, 0.58);
	font-size: 0.86rem;
	line-height: 1.9;
}

body.roadlife-home .rl-footer-patch {
	flex: 0 0 auto;
	width: clamp(28px, 2.5vw, 40px);
	height: auto;
	margin-right: clamp(68px, 8vw, 150px);
	opacity: 0.82;
	object-fit: contain;
}

body.roadlife-home .rl-page img.rl-footer-patch {
	width: clamp(28px, 2.5vw, 40px);
	height: auto;
	object-fit: contain;
}

/* Inner WordPress pages */
body:not(.roadlife-home) .custom-header,
body:not(.roadlife-home) .site-branding,
body:not(.roadlife-home) .site-header .custom-header-media {
	display: none !important;
}

body:not(.roadlife-home) .navigation-top,
body:not(.roadlife-home) .navigation-top .wrap,
body:not(.roadlife-home) .main-navigation,
body:not(.roadlife-home) .main-navigation > div,
body:not(.roadlife-home) .main-navigation ul,
body:not(.roadlife-home) .main-navigation li,
body:not(.roadlife-home) .site-header,
body:not(.roadlife-home) .menu-toggle {
	background: var(--rl-paper) !important;
}

body:not(.roadlife-home) .navigation-top {
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	border-top: 0;
	box-shadow: none;
}

body:not(.roadlife-home) .main-navigation ul.menu > li:first-child > a,
body:not(.roadlife-home) .main-navigation .menu > ul > li:first-child > a,
body:not(.roadlife-home) .main-navigation #top-menu > li:first-child > a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: transparent !important;
	font-size: 0;
	font-weight: 900;
}

body:not(.roadlife-home) .main-navigation ul.menu > li:first-child > a::before,
body:not(.roadlife-home) .main-navigation .menu > ul > li:first-child > a::before,
body:not(.roadlife-home) .main-navigation #top-menu > li:first-child > a::before {
	content: "路";
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 8px 9px;
	border-radius: 4px;
	background: #d7241f;
	color: #fff;
	font-size: 0.9rem;
	line-height: 1;
	transform: rotate(-7deg);
}

body:not(.roadlife-home) .main-navigation ul.menu > li:first-child > a::after,
body:not(.roadlife-home) .main-navigation .menu > ul > li:first-child > a::after,
body:not(.roadlife-home) .main-navigation #top-menu > li:first-child > a::after {
	content: "Road Life";
	color: var(--rl-ink);
	font-size: 1rem;
	font-weight: 900;
}

body:not(.roadlife-home) .site-content {
	padding-top: var(--rl-content-top-padding, clamp(2.5rem, 5vw, 4.5rem));
}

body:not(.roadlife-home) .entry-title {
	font-size: var(--rl-content-title-size, inherit);
	font-weight: 400 !important;
}

body:not(.roadlife-home) .entry-title a {
	font-weight: 400 !important;
}

body:not(.roadlife-home) .entry-content {
	color: var(--rl-content-text-color, var(--rl-ink));
	font-size: var(--rl-content-font-size, inherit);
	line-height: var(--rl-content-line-height, inherit);
}

body:not(.roadlife-home) .entry-content p {
	margin-bottom: var(--rl-content-paragraph-gap, 1.5em);
}

body:not(.roadlife-home) .rl-category-wrap {
	max-width: min(var(--rl-content-wrap-width, 1280px), calc(100% - 48px));
	padding-top: var(--rl-content-top-padding, 56px);
}

body:not(.roadlife-home) .rl-category-wrap::after {
	content: "";
	display: table;
	clear: both;
}

body:not(.roadlife-home) .rl-category-head {
	max-width: 860px;
	margin-bottom: 28px;
}

body:not(.roadlife-home) .rl-category-kicker {
	margin: 0 0 8px;
	color: var(--rl-rust);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body:not(.roadlife-home) .rl-category-title {
	margin: 0;
	font-size: calc(var(--rl-content-title-size, 34px) + 4px);
	font-weight: 400 !important;
	line-height: 1.12;
}

body:not(.roadlife-home) .rl-category-description {
	margin-top: 14px;
	color: var(--rl-muted);
	font-size: 0.96rem;
	line-height: 1.75;
}

body:not(.roadlife-home) .rl-category-list {
	display: grid;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rl-soft-line);
}

body:not(.roadlife-home) .rl-category-item {
	border-bottom: 1px solid var(--rl-soft-line);
}

body:not(.roadlife-home) .rl-category-item a {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 18px;
	align-items: baseline;
	padding: 13px 0;
	color: var(--rl-ink);
	font-weight: 400 !important;
}

body:not(.roadlife-home) .rl-category-item time {
	color: var(--rl-muted);
	font-size: 0.82rem;
	font-weight: 760;
}

body:not(.roadlife-home) .rl-category-entry-title {
	display: flex;
	min-width: 0;
	align-items: baseline;
	gap: 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 400 !important;
}

body:not(.roadlife-home) .rl-category-comments {
	color: var(--rl-muted);
	font-size: 0.76rem;
	font-weight: 400;
	white-space: nowrap;
}

body:not(.roadlife-home) .rl-category-item a:hover .rl-category-entry-title {
	color: var(--rl-rust);
}

body:not(.roadlife-home) .site-info {
	display: none !important;
}

body:not(.roadlife-home) .rl-archive-footer-note {
	display: flex;
	max-width: min(var(--rl-content-wrap-width, 1280px), calc(100% - 48px));
	margin: 84px auto 28px;
	padding-top: 18px;
	border-top: 1px solid var(--rl-soft-line);
	color: rgba(143, 63, 39, 0.92);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.7;
	text-transform: uppercase;
	gap: 18px;
	flex-wrap: wrap;
}

body:not(.roadlife-home) .navigation.pagination,
body:not(.roadlife-home) .pagination {
	margin: 22px 0 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body:not(.roadlife-home) .pagination .nav-links {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	min-height: 0;
}

body:not(.roadlife-home) .pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	min-height: 30px;
	padding: 5px 8px;
	border-radius: 2px;
	background: transparent;
	color: rgba(23, 22, 20, 0.72);
	font-size: 0.82rem;
	font-weight: 760;
}

body:not(.roadlife-home) .pagination .page-numbers.current {
	color: var(--rl-rust);
}

body:not(.roadlife-home) .pagination .page-numbers.next,
body:not(.roadlife-home) .pagination .page-numbers.prev {
	min-width: auto;
	padding: 5px 10px;
	background: rgba(23, 22, 20, 0.06);
	font-size: 0.84rem;
	font-weight: 760;
}

body:not(.roadlife-home) > a[href*="wp-login.php"],
body:not(.roadlife-home) .site > a[href*="wp-login.php"] {
	display: none !important;
}

body:not(.roadlife-home) a,
body:not(.roadlife-home) #secondary a,
body:not(.roadlife-home) .widget a,
body:not(.roadlife-home) .entry-footer a,
body:not(.roadlife-home) .entry-meta a,
body:not(.roadlife-home) .post-navigation a,
body:not(.roadlife-home) .nav-links a,
body:not(.roadlife-home) #comments a,
body:not(.roadlife-home) .site-footer a,
body:not(.roadlife-home) .site-info a {
	box-shadow: none !important;
	text-shadow: none !important;
}

body:not(.roadlife-home) input,
body:not(.roadlife-home) select,
body:not(.roadlife-home) textarea,
body:not(.roadlife-home) .widget,
body:not(.roadlife-home) .widget ul,
body:not(.roadlife-home) .widget li,
body:not(.roadlife-home) .wp-block-latest-posts,
body:not(.roadlife-home) .wp-block-categories,
body:not(.roadlife-home) .wp-block-group,
body:not(.roadlife-home) .wp-block-search__inside-wrapper {
	background: transparent !important;
	background-color: transparent !important;
}

body:not(.roadlife-home) input,
body:not(.roadlife-home) select,
body:not(.roadlife-home) textarea {
	border-color: rgba(23, 22, 20, 0.18) !important;
}

body:not(.roadlife-home) .widget,
body:not(.roadlife-home) .entry-meta,
body:not(.roadlife-home) .entry-footer,
body:not(.roadlife-home) .post-navigation,
body:not(.roadlife-home) .nav-links,
body:not(.roadlife-home) .site-footer,
body:not(.roadlife-home) .site-info,
body:not(.roadlife-home) .comments-title,
body:not(.roadlife-home) .comment-reply-title {
	border: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body:not(.roadlife-home) .widget li,
body:not(.roadlife-home) .wp-block-latest-posts li,
body:not(.roadlife-home) .wp-block-categories li,
body:not(.roadlife-home) #comments li,
body:not(.roadlife-home) .comment-body,
body:not(.roadlife-home) .comment-form,
body:not(.roadlife-home) .comment-form p {
	border-color: var(--rl-soft-line) !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body:not(.roadlife-home) .entry-content figure,
body:not(.roadlife-home) .entry-content .wp-caption,
body:not(.roadlife-home) .entry-content .wp-block-image {
	max-width: 100% !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body:not(.roadlife-home) .entry-content figure img,
body:not(.roadlife-home) .entry-content .wp-caption img,
body:not(.roadlife-home) .entry-content .wp-block-image img,
body:not(.roadlife-home) .entry-content img[class*="wp-image"] {
	display: block;
	max-width: min(100%, var(--rl-content-image-width, 100%));
	height: auto;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body:not(.roadlife-home).rl-content-image-center .entry-content figure img,
body:not(.roadlife-home).rl-content-image-center .entry-content .wp-caption img,
body:not(.roadlife-home).rl-content-image-center .entry-content .wp-block-image img,
body:not(.roadlife-home).rl-content-image-center .entry-content img[class*="wp-image"] {
	margin-right: auto;
	margin-left: auto;
}

body:not(.roadlife-home) .entry-content .wp-caption-text,
body:not(.roadlife-home) .entry-content [class*="exif"],
body:not(.roadlife-home) .entry-content [class*="Exif"],
body:not(.roadlife-home) .entry-content [id*="exif"],
body:not(.roadlife-home) .entry-content [id*="Exif"] {
	box-sizing: border-box;
	width: var(--rl-linked-image-width, auto) !important;
	max-width: 100% !important;
	margin: 4px 0 0 !important;
	padding: var(--rl-content-caption-padding, 12px) 18px !important;
	border: 0 !important;
	border-radius: 4px;
	background: var(--rl-content-caption-bg, #3f3f3a) !important;
	color: var(--rl-content-caption-color, #fff) !important;
	box-shadow: none !important;
	text-align: center;
}

body:not(.roadlife-home) .entry-content .wp-caption-text a,
body:not(.roadlife-home) .entry-content [class*="exif"] a,
body:not(.roadlife-home) .entry-content [class*="Exif"] a,
body:not(.roadlife-home) .entry-content [id*="exif"] a,
body:not(.roadlife-home) .entry-content [id*="Exif"] a {
	color: #fff !important;
}

body:not(.roadlife-home) #secondary [class*="related"],
body:not(.roadlife-home) #secondary [class*="Related"],
body:not(.roadlife-home) #secondary [class*="yarpp"],
body:not(.roadlife-home) #secondary .widget,
body:not(.roadlife-home) #secondary .widget > div,
body:not(.roadlife-home) #secondary .widget ul {
	background: var(--rl-paper) !important;
	background-color: var(--rl-paper) !important;
}

body:not(.roadlife-home) .rl-managed-sidebar {
	display: grid;
	gap: 28px;
}

body:not(.roadlife-home) .rl-sidebar-item {
	padding: 0 0 22px;
	border-bottom: 1px solid var(--rl-soft-line) !important;
}

body:not(.roadlife-home) .rl-sidebar-item-image,
body:not(.roadlife-home) .rl-legacy-sidebar-media,
body:not(.roadlife-home) #secondary .widget_media_image {
	order: -40;
}

body:not(.roadlife-home) .rl-sidebar-item-search,
body:not(.roadlife-home) #secondary .widget_search {
	order: -30;
}

body:not(.roadlife-home) .rl-sidebar-item-calendar,
body:not(.roadlife-home) #secondary .widget_calendar {
	order: -20;
}

body:not(.roadlife-home) .rl-sidebar-item-map {
	order: -10;
}

body:not(.roadlife-home) #secondary [class*="related"],
body:not(.roadlife-home) #secondary [class*="Related"],
body:not(.roadlife-home) #secondary [class*="yarpp"] {
	order: 30;
}

body:not(.roadlife-home) #secondary .widget_calendar .widget-title {
	display: none;
}

body:not(.roadlife-home) .rl-legacy-sidebar-media .widget:not(.widget_media_image) {
	display: none !important;
}

body:not(.roadlife-home) .rl-legacy-sidebar-media .widget_media_image {
	margin: 0;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--rl-soft-line) !important;
}

body:not(.roadlife-home) .rl-legacy-sidebar-media .widget_media_image .widget-title {
	display: none;
}

body:not(.roadlife-home) .rl-legacy-sidebar-media .widget_media_image img {
	display: block;
	width: 100%;
	height: auto;
}

body:not(.roadlife-home) .rl-sidebar-item .widget-title {
	margin-bottom: 14px;
	color: var(--rl-ink);
	font-size: 1.08rem;
	font-weight: 760;
}

body:not(.roadlife-home) .rl-sidebar-item p {
	margin: 0;
	color: var(--rl-muted);
	font-size: 0.96rem;
	line-height: 1.72;
}

body:not(.roadlife-home) .rl-sidebar-item-search .search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

body:not(.roadlife-home) .rl-sidebar-item-search .search-field {
	width: 100%;
}

body:not(.roadlife-home) .rl-sidebar-post-list ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body:not(.roadlife-home) .rl-sidebar-post-list.is-following {
	box-sizing: border-box;
	padding-bottom: 22px;
	background: var(--rl-paper);
}

body:not(.roadlife-home) .rl-sidebar-post-list li {
	position: relative;
	padding-left: 12px;
	color: var(--rl-muted);
	font-size: 1rem;
	line-height: 1.62;
}

body:not(.roadlife-home) .rl-sidebar-post-list li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 3px;
	height: 3px;
	background: var(--rl-rust);
}

body:not(.roadlife-home) .rl-sidebar-post-list li.is-current-post a {
	color: var(--rl-rust) !important;
	font-weight: 800;
}

body:not(.roadlife-home) .rl-sidebar-post-list li.is-current-post::before {
	width: 5px;
	height: 5px;
	background: var(--rl-rust);
}

body:not(.roadlife-home) .rl-sidebar-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 12px;
	border: 0;
}

body:not(.roadlife-home) .rl-sidebar-calendar table {
	width: 100%;
	border-collapse: collapse;
	color: var(--rl-muted);
	font-size: 0.9rem;
	text-align: center;
}

body:not(.roadlife-home) .rl-sidebar-calendar caption {
	margin-bottom: 8px;
	color: var(--rl-ink);
	font-weight: 760;
}

body:not(.roadlife-home) .rl-sidebar-calendar th,
body:not(.roadlife-home) .rl-sidebar-calendar td {
	padding: 6px 3px;
	border: 0;
}

body:not(.roadlife-home) .rl-sidebar-calendar a {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	min-height: 22px;
	border-radius: 999px;
	background: rgba(143, 63, 39, 0.12);
	color: var(--rl-rust) !important;
	font-weight: 800;
}

body:not(.roadlife-home) .rl-sidebar-map {
	aspect-ratio: 1 / 0.74;
	background: rgba(23, 22, 20, 0.06);
	overflow: hidden;
}

body:not(.roadlife-home) .rl-sidebar-map iframe {
	display: block;
	width: 100%;
	height: calc(100% + 64px);
	border: 0;
	transform: translateY(-20px);
}

body:not(.roadlife-home) .rl-sidebar-button {
	display: inline-flex;
	margin-top: 14px;
	color: var(--rl-rust) !important;
	font-size: 0.82rem;
	font-weight: 800;
}

body:not(.roadlife-home) .comment-form input,
body:not(.roadlife-home) .comment-form textarea {
	color: var(--rl-ink) !important;
	background: transparent !important;
	border: 1px solid rgba(23, 22, 20, 0.16) !important;
	box-shadow: none !important;
}

body:not(.roadlife-home) .comment-form input[type="submit"],
body:not(.roadlife-home) .form-submit .submit,
body:not(.roadlife-home) #submit {
	color: var(--rl-ink) !important;
	background: #dedbd3 !important;
	border: 1px solid rgba(23, 22, 20, 0.18) !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body:not(.roadlife-home) #secondary a[href*="wp-login.php"] {
	position: relative;
	display: none !important;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 9px 13px 9px 11px;
	border: 1px solid rgba(143, 63, 39, 0.24) !important;
	border-radius: 2px;
	background: linear-gradient(90deg, rgba(143, 63, 39, 0.13), transparent 58%), rgba(243, 238, 229, 0.74) !important;
	color: rgba(23, 22, 20, 0.78) !important;
	font-size: 0.86rem;
	font-weight: 800;
}

body:not(.roadlife-home) #secondary a[href*="wp-login.php"]::before {
	content: "路";
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 3px;
	background: #b62822;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 900;
	transform: rotate(-7deg);
}

body:not(.roadlife-home) #secondary a[href*="wp-login.php"]::after {
	content: "입구";
	color: var(--rl-rust);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.04em;
}

@media screen and (min-width: 48em) {
	body:not(.roadlife-home) .navigation-top .wrap {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	body:not(.roadlife-home) .main-navigation ul.menu,
	body:not(.roadlife-home) .main-navigation .menu > ul,
	body:not(.roadlife-home) .main-navigation #top-menu {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}

	body:not(.roadlife-home) .main-navigation ul.menu > li,
	body:not(.roadlife-home) .main-navigation .menu > ul > li,
	body:not(.roadlife-home) .main-navigation #top-menu > li {
		border: 0;
	}

	body:not(.roadlife-home) .main-navigation ul.menu > li > a,
	body:not(.roadlife-home) .main-navigation .menu > ul > li > a,
	body:not(.roadlife-home) .main-navigation #top-menu > li > a,
	body:not(.roadlife-home) .navigation-top ul.menu > li > a,
	body:not(.roadlife-home) .navigation-top #top-menu > li > a {
		display: inline-flex !important;
		align-items: center;
		min-height: 32px;
		padding: 7px 11px 8px !important;
		border: 1px solid rgba(23, 22, 20, 0.14) !important;
		border-radius: 2px !important;
		background: var(--rl-card) !important;
		color: rgba(255, 255, 255, 0.9) !important;
		font-size: 0.76rem;
		font-weight: 820;
		line-height: 1;
		letter-spacing: 0;
	}

	body:not(.roadlife-home) .main-navigation ul.menu > li > a:hover,
	body:not(.roadlife-home) .main-navigation .menu > ul > li > a:hover,
	body:not(.roadlife-home) .main-navigation #top-menu > li > a:hover,
	body:not(.roadlife-home) .navigation-top ul.menu > li > a:hover,
	body:not(.roadlife-home) .navigation-top #top-menu > li > a:hover {
		background: var(--rl-rust) !important;
		color: #fff !important;
	}

	body:not(.roadlife-home) .main-navigation ul.menu > li:first-child > a,
	body:not(.roadlife-home) .main-navigation .menu > ul > li:first-child > a,
	body:not(.roadlife-home) .main-navigation #top-menu > li:first-child > a,
	body:not(.roadlife-home) .navigation-top ul.menu > li:first-child > a,
	body:not(.roadlife-home) .navigation-top #top-menu > li:first-child > a {
		gap: 9px;
		padding: 0 12px 0 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	body:not(.roadlife-home) .wrap {
		max-width: var(--rl-content-wrap-width, 1280px);
	}

	body:not(.roadlife-home).has-sidebar:not(.error404) #primary {
		width: var(--rl-content-primary-width, 66%);
	}

	body:not(.roadlife-home).has-sidebar #secondary {
		width: var(--rl-content-sidebar-width, 28%);
	}

	body:not(.roadlife-home) .entry-header,
	body:not(.roadlife-home) .entry-content,
	body:not(.roadlife-home) #comments {
		max-width: none;
	}
}

@media screen and (max-width: 47.99em) {
	body:not(.roadlife-home) #secondary a[href*="wp-login.php"] {
		display: none !important;
	}

	body:not(.roadlife-home) .rl-sidebar-item-image,
	body:not(.roadlife-home) .rl-legacy-sidebar-media,
	body:not(.roadlife-home) #secondary .widget_media_image,
	body:not(.roadlife-home) .rl-sidebar-item-calendar,
	body:not(.roadlife-home) #secondary .widget_calendar,
	body:not(.roadlife-home) .rl-sidebar-item-map {
		display: none !important;
	}

	body:not(.roadlife-home) .main-navigation .roadlife-auth-menu-item > a,
	body:not(.roadlife-home) .navigation-top .roadlife-auth-menu-item > a {
		color: var(--rl-rust) !important;
		font-weight: 900;
	}

	body:not(.roadlife-home) .rl-category-wrap {
		max-width: min(100% - 34px, 720px);
		padding-top: 34px;
	}

	body:not(.roadlife-home) .rl-category-item a {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 14px 0;
	}

	body:not(.roadlife-home) .rl-category-entry-title {
		white-space: normal;
	}
}

@media screen and (max-width: 1200px) {
	body.roadlife-home .rl-gate-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 900px) {
	body.roadlife-home {
		padding-top: 4px;
		overflow-x: hidden;
	}

	body.roadlife-home .rl-topline {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 9999;
		flex-wrap: nowrap;
		gap: 0;
		padding: 9px 14px;
		border-bottom: 0;
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	body.admin-bar.roadlife-home .rl-topline {
		top: 46px;
	}

	body.roadlife-home .rl-brand {
		gap: 9px;
		cursor: pointer;
	}

	body.roadlife-home .rl-seal {
		width: 27px;
		height: 27px;
		font-size: 0.78rem;
	}

	body.roadlife-home .rl-menu {
		display: none;
		position: fixed;
		top: 52px;
		right: 12px;
		left: 12px;
		z-index: 9998;
		padding: 10px;
		border: 1px solid rgba(20, 20, 20, 0.12);
		border-radius: 14px;
		background: rgba(248, 243, 234, 0.98);
		box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
	}

	body.admin-bar.roadlife-home .rl-menu {
		top: 98px;
	}

	body.roadlife-home .rl-topline.is-menu-open .rl-menu {
		display: grid;
		gap: 4px;
	}

	body.roadlife-home .rl-menu a {
		display: block;
		padding: 12px 14px;
		border-radius: 10px;
		background: transparent;
		color: var(--rl-ink);
	}

	body.roadlife-home .rl-menu-group {
		display: grid;
	}

	body.roadlife-home .rl-submenu {
		position: static;
		display: none;
		gap: 2px;
		min-width: 0;
		margin: -2px 0 4px 16px;
		padding: 0 0 0 12px;
		border: 0;
		border-left: 1px solid rgba(143, 63, 39, 0.28);
		background: transparent;
		box-shadow: none;
	}

	body.roadlife-home .rl-menu-group:hover .rl-submenu,
	body.roadlife-home .rl-menu-group:focus-within .rl-submenu {
		display: none;
	}

	body.roadlife-home .rl-menu-group.is-submenu-open .rl-submenu {
		display: grid;
	}

	body.roadlife-home .rl-submenu a {
		padding: 9px 12px;
		border: 0;
		color: var(--rl-muted);
		font-size: 0.86rem;
	}

	body.roadlife-home .rl-menu-auth {
		display: block;
		color: var(--rl-rust) !important;
		font-weight: 900;
	}

	body.roadlife-home .rl-hero,
	body.roadlife-home .rl-main {
		width: min(100% - 34px, 720px);
	}

	body.roadlife-home .rl-hero {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-top: 0;
		padding: 4px 0 32px;
		border-bottom: 1px solid var(--rl-line);
	}

	body.roadlife-home .rl-hero-photo {
		display: none;
	}

	body.roadlife-home .rl-page.show-mobile-hero-image .rl-hero-photo {
		display: flex;
		width: 100%;
		margin-top: 16px;
	}

	body.roadlife-home .rl-page.show-mobile-hero-image .rl-hero-photo img {
		max-height: min(76svh, 720px);
	}

	body.roadlife-home .rl-hero-copy {
		display: flex;
		min-height: 0;
		margin-top: 0;
		padding: 0;
	}

	body.roadlife-home .rl-hero-copy > div:first-child::after {
		display: block;
		width: 100%;
		margin-top: 20px;
	}

	body.roadlife-home .rl-kicker {
		display: none;
	}

	body.roadlife-home .rl-title {
		margin: 0;
		font-size: clamp(3.75rem, 17vw, 5.2rem);
	}

	body.roadlife-home .rl-hero-sentence {
		margin-top: 18px;
		font-size: 1.03rem;
		line-height: 1.65;
	}

	body.roadlife-home .rl-hero-note {
		margin-top: 28px;
		font-size: 0.96rem;
	}

	body.roadlife-home .rl-route-note {
		display: flex;
		gap: 8px 18px;
		margin-top: 22px;
		padding-top: 12px;
		font-size: 0.78rem;
	}

	body.roadlife-home .rl-signature {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 12px;
		margin-top: 34px;
	}

	body.roadlife-home .rl-signature-mark {
		width: 74px;
	}

	body.roadlife-home .rl-page img.rl-signature-mark {
		width: 74px;
		height: auto;
	}

	body.roadlife-home .rl-section {
		padding-top: 34px;
	}

	body.roadlife-home .rl-section-title {
		font-size: clamp(1.42rem, 5.4vw, 1.86rem);
		font-weight: 450;
	}

	body.roadlife-home .rl-section-head {
		margin-bottom: 28px;
	}

	body.roadlife-home .rl-section-head p {
		margin-top: 14px;
		font-size: 0.9rem;
	}

	body.roadlife-home .rl-gate-grid {
		grid-template-columns: 1fr;
		gap: 10px;
		background: none;
	}

	body.roadlife-home .rl-gate {
		min-height: 0;
		border-color: rgba(23, 22, 20, 0.14);
		background: transparent;
	}

	body.roadlife-home .rl-gate:hover {
		transform: none;
	}

	body.roadlife-home .rl-gate-badge {
		position: static;
		display: block;
		padding: 12px 14px 6px;
		border: 0;
		background: transparent;
		color: var(--rl-rust);
		font-size: 0.78rem;
		font-weight: 900;
	}

	body.roadlife-home .rl-gate-visual {
		display: none;
	}

	body.roadlife-home .rl-gate-text {
		min-height: 0;
		padding: 0 14px 13px;
		background: transparent;
	}

	body.roadlife-home .rl-gate small {
		display: none;
	}

	body.roadlife-home .rl-gate-latest {
		gap: 5px;
	}

	body.roadlife-home .rl-gate-latest li {
		padding-left: 0;
		color: var(--rl-ink);
		font-size: 0.88rem;
		line-height: 1.42;
	}

	body.roadlife-home .rl-gate-latest li:nth-child(n+7) {
		display: none;
	}

	body.roadlife-home .rl-gate-latest li::before {
		display: none;
	}

	body.roadlife-home .rl-gate-latest a:hover {
		color: var(--rl-rust);
	}

	body.roadlife-home .rl-footer {
		align-items: flex-end;
	}
}
