/*
Theme Name: Pagoda Arts
Author: James Sui
Author URI: https://jamessui.com/
*/

/* resets
--------------------------------------------------------------------------
*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; line-height: 1; overflow-y: scroll; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

article, aside, details, div, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { position: relative; display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
progress { vertical-align: baseline; }
[hidden], template { display: none; }

svg:not(:root) { overflow: hidden; }

img, iframe { border: 0; vertical-align: middle; }

strong { font-weight: bolder; }
em { font-style: italic; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

button, input, optgroup, select, textarea { margin: 0; font: inherit; font-size: 100%; line-height: 1; vertical-align: baseline; color: inherit; outline: 0; border-radius: 0; }
button, input, textarea { padding: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
label, button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; }
button, input[type="button"], input[type="reset"], input[type="submit"] { vertical-align: bottom; -webkit-appearance: button; }
button[disabled], input[disabled] { cursor: default; }
button { width: auto; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border: 0; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal { display: none; width: 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }

table { border-collapse: collapse; border-spacing: 0; }
th, td { vertical-align: top; }
th { font-weight: normal; text-align: left; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

ul, ol { list-style: none; }
li { display: list-item; }

hr { box-sizing: content-box; height: 0; overflow: visible; }

a { color: #000; background: transparent; text-decoration: none; cursor: pointer; text-decoration-skip: ink; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }

.hide { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }

a, span, button { transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, text-decoration-color 0.4s ease; }

/* global
--------------------------------------------------------------------------
*/

body { font: 62.5%/1 'Helvetica Neue', Arial, Helvetica, sans-serif; background: #fff; color: #000; }

body > .menu { width: 100%; height: 100%; padding: 80px 20px; position: fixed; top: 0; left: 0; color: #FFFFFF; background: #444444; overflow: auto; transform: translateX(100%); transition: transform 0.4s ease-in-out; z-index: 10; }
html.menu body > .menu { transform: translateX(0); }
body > .menu > ul { position: absolute; top: 10px; right: 10px; }
body > .menu > ul li button { font-size: 25px; background: none; border: 0; -webkit-appearance: none; appearance: none; }
body > .menu nav a { color: #FFFFFF; }
body > .menu nav > ul { display: flex; flex-direction: column; gap: 10px; }
body > .menu nav > ul > li { position: relative; }
body > .menu nav > ul > li > a { font-weight: 700; font-size: 18px; }
body > .menu nav > ul > li > span { font-size: 14px; position: absolute; top: 0; right: 0; transition: transform 0.4s ease; }
body > .menu nav > ul > li.open > span { transform: rotate(180deg); }
body > .menu nav > ul > li > ul { padding: 10px 10px 20px; display: flex; flex-direction: column; gap: 5px; display: none; }
body > .menu nav > ul > li > ul > li a { font-size: 14px; line-height: 1.4; }

@media only screen and (min-width: 980px) {
	body > .menu { display: none; }
}

body > .bar { padding: 10px; color: #FFFFFF; background: #444444; z-index: 9; }
body > .bar ul { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
body > .bar ul li.donate { margin: 0 auto 0 0; }
body > .bar ul li.donate a { font-weight: 700; font-size: 12px; padding: 0.5em 1em; color: #FFFFFF; background: #cd2027; border-radius: 0.75em; display: inline-flex; }
body > .bar ul li.donate a:hover { background: #000; }
body > .bar ul li button { font-size: 20px; background: none; border: 0; -webkit-appearance: none; appearance: none; }
body > .bar ul li button:hover { color: #cd2027; }

@media only screen and (min-width: 980px) {
	body > .bar { padding: 10px 40px; }
	body > .bar ul li.donate a { font-size: 14px; }
	body > .bar ul li.menu { display: none; }
}

body > header { padding: 10px; background: #F0F0F0; z-index: 9; }
body > header h1 img { width: auto; height: 40px; }
body > header nav { display: none; }
body > header nav > ul { display: flex; gap: 20px; display: none; }
body > header nav > ul > li { padding: 15px 0; position: relative; }
body > header nav > ul > li > a { font-size: 14px; }
body > header nav > ul > li.on > a { font-weight: 700; color: #cd2027; }
body > header nav > ul > li > a:hover { color: #cd2027; }
body > header nav > ul > li > ul { padding: 5px 0; background: #222222; border-radius: 10px; position: absolute; top: 100%; left: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
body > header nav > ul > li:hover > ul { opacity: 1; pointer-events: auto; }
body > header nav > ul > li > ul li a { padding: 5px 10px; font-size: 12px; color: #FFFFFF; white-space: nowrap; display: block; }
body > header nav > ul > li > ul li a:hover { color: #cd2027; }

body.holding > header { text-align: center; }

@media only screen and (min-width: 980px) {
	body > header { padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; }
	body > header h1 img { height: 40px; }
	body > header nav { display: block; }
	body > header nav > ul { display: flex; gap: 10px; }
	body > header nav > ul > li { padding: 15px 0; position: relative; }
	body > header nav > ul > li > a { font-size: 12px; }
	body > header nav > ul > li.on > a { font-weight: 700; color: #cd2027; }
	body > header nav > ul > li:hover > a { color: #cd2027; }
	body > header nav > ul > li > ul { padding: 5px 0; background: #222222; border-radius: 10px; position: absolute; top: 100%; left: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
	body > header nav > ul > li:hover > ul { opacity: 1; pointer-events: auto; }
	body > header nav > ul > li > ul li a { padding: 5px 10px; font-size: 12px; color: #FFFFFF; white-space: nowrap; display: block; }
	body > header nav > ul > li > ul li a:hover { color: #cd2027; }

	body.holding > header { justify-content: center; }
}

@media only screen and (min-width: 1400px) {
	body > header h1 img { height: 60px; }
	body > header nav > ul { gap: 20px; }
	body > header nav > ul > li > a { font-size: 16px; }
	body > header nav > ul > li > ul { padding: 10px 0; }
	body > header nav > ul > li > ul li a { padding: 10px 20px; font-size: 14px; }
}

body.holding main { text-align: center; }

main { width: 980px; max-width: calc( 100% - 20px ); margin: 0 auto; padding: 10px 0; }
main img { width: 100%; height: auto; }
main a { color: #cd2027; text-decoration: underline; }
main a:hover { text-decoration-color: #FFFFFF; }
main h1 { margin: 1.4em 0 0; font-weight: 700; font-size: 30px; line-height: 1.4; color: #cd2027; }
main h1:first-child { margin: 0; }
main h2 { margin: 1.4em 0 0; font-weight: 700; font-size: 20px; line-height: 1.4; }
main h3,
main h4 { margin: 1.4em 0 0; font-weight: 700; font-size: 14px; line-height: 1.4; }
main p,
main ul,
main ol { margin: 1.4em 0 0; font-size: 14px; line-height: 1.4; }
main ul { margin-left: 2em; list-style: disc; }
main ol { margin-left: 2em; list-style: decimal; }
main ul.buttons { margin-left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 1em; }
main ul.buttons li a { font-weight: 700; padding: 0.5em 1em; color: #FFFFFF; background: #cd2027; text-decoration: none; border-radius: 0.5em; transition: transform 0.2s ease-in-out; display: inline-flex; }
main ul.buttons li a:hover { transform: scale(1.1); }
main ul.gallery { margin-left: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
main ul.gallery li a { position: relative; overflow: hidden; display: block; }
main ul.gallery li a img { transition: transform 0.2s ease-in-out; }
main ul.gallery li a:hover img { transform: scale(1.1); }
main figure { max-width: 600px; margin: 20px auto; }
main figure div { height: 0; padding: 0 0 56.25%; }
main figure div iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
main figure figcaption { padding: 1em; font-size: 14px; line-height: 1.4; background: #F0F0F0; }
main blockquote { max-width: 600px; margin: 20px auto; }
main blockquote q { padding: 0 0 0 2em; font-size: 20px; line-height: 1.4; position: relative; display: block; quotes: none; }
main blockquote q::before { font-size: 4em; position: absolute; top: -0.3em; left: 0; color: #cd2027; content: "“"; display: block; }
main blockquote cite { margin: 1em 0 0; padding: 0 0 0 40px; font-size: 14px; line-height: 1.4; display: block; }
main blockquote cite strong { font-weight: 700; display: block; }
main blockquote cite span { opacity: 0.5; display: block; }
main .testimonials { max-width: 600px; margin: 20px auto; padding: 40px 0 0; }
main .testimonials .slick-arrow { font-size: 20px; position: absolute; top: 0; right: 0; background: none; border: 0; }
main .testimonials .slick-prev { right: 25px; }
main .testimonials .slick-arrow:hover { color: #cd2027; }
main .testimonials .twitter-tweet { margin-left: auto; margin-right: auto; }
main .testimonials blockquote { margin: 0; }
main .listing { margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 10px; }
main .listing .col figure { margin: 0; }
main .listing .col h2 { margin: 0.5em 0 0; font-size: 18px; }
main .listing .col p { font-size: 12px; }
main .listing .col h2 + p { margin-top: 0.5em; }

@media only screen and (min-width: 980px) {
	main { max-width: calc( 100% - 80px ); padding: 40px 0; }
	main h1 { font-size: 40px; }
	main h2 { font-size: 28px; }
	main h3,
	main h4 { font-size: 16px; }
	main p,
	main ul,
	main ol { font-size: 16px; }
	main ul.gallery { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 20px; }
	main figure { margin: 40px auto; }
	main blockquote { margin: 40px auto; }
	main blockquote q { font-size: 30px; }
	main blockquote cite { padding: 0 0 0 60px; font-size: 16px; }
	main .testimonials { margin: 40px auto; }
	main .testimonials blockquote { margin: 0; }
	main .listing { margin: 40px 0; grid-template-columns: 1fr 1fr 1fr; gap: 40px 20px; }
	main .listing .col h2 { font-size: 20px; }
	main .listing .col p { font-size: 14px; }
}

body > footer .cols { padding: 10px 10px 40px; color: #FFFFFF; background: #000000; }
body > footer .cols a { color: #cd2027; }
body > footer .cols a:hover { color: #FFFFFF; }
body > footer .cols .grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 20px; }
body > footer .cols .grid .col h2 { font-weight: 700; font-size: 20px; line-height: 1.4; color: #cd2027; }
body > footer .cols .grid .col h2 img { width: auto; height: 40px; }
body > footer .cols .grid .col p { margin: 1.4em 0 0; font-size: 12px; line-height: 1.4; }
body > footer .cols .grid .col ul.follow { margin: 0.5em 0 0; font-size: 30px; display: flex; gap: 0.5em; }

@media only screen and (min-width: 980px) {
	body > footer .cols { padding: 20px 40px; }
	body > footer .cols .grid { grid-template-columns: 1fr 1fr 1fr; }
	body > footer .cols .grid .col:last-child { justify-self: end; }
	body > footer .cols .grid .col h2 { font-size: 20px; }
	body > footer .cols .grid .col h2 img { height: 60px; }
	body > footer .cols .grid .col p { font-size: 14px; }
	body > footer .cols .grid .col ul.follow { font-size: 40px; }
}

body > footer .logos { padding: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
body > footer .logos .logo img { width: auto; height: 40px; }

@media only screen and (min-width: 980px) {
	body > footer .logos { max-width: 1020px; margin: 0 auto; padding: 20px; gap: 40px; }
	body > footer .logos .logo img { height: 60px; }
}

body > footer .copyright { padding: 10px; color: #FFFFFF; background: #cd2027; text-align: center; }
body > footer .copyright p { font-weight: 700; font-size: 11px; line-height: 1.4; }

@media only screen and (min-width: 980px) {
	body > footer .copyright { padding: 20px 40px; }
	body > footer .copyright p { font-size: 12px; }
}

/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}