/* 폰트 */
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

:root {
    --theme-font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif !important;
}

body {
    font-family: var(--theme-font-family) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Pretendard', sans-serif !important;
}

.ct-panel-inner {
    background-color: #FAFBFC !important;
}

/* 버튼 디자인 */
.wp-block-buttons .wp-block-button .wp-block-button__link {
    transition: background-color 0.25s ease, color 0.25s ease !important;
}

.wp-block-buttons .wp-block-button .wp-block-button__link:hover {
    background-color: #5085FF !important;
    color: #ffffff !important;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
    width: calc(80% - var(--wp--style--block-gap, .5em) * .25);
}

.wp-block-buttons > .wp-block-button.has-custom-width {
    max-width: 400px;
}

/* 하단 플로팅 */
[data-sidebar="right"] {
	display: flex !important;
	justify-content: center;
}

[data-sidebar="right"] > article {
	max-width: 720px;
	width: 100%;
}

[data-sidebar="right"] > aside {
	position: fixed;
	left: 50%;
	bottom: 4vh;
	transform: translateX(-50%);
	z-index: 9999;
	width: 720px;
}