/*!
Theme Name: CSGM Ultimate
Theme URI: http://underscores.me/
Author: Caroline Sullivan
Author URI: https://www.carodactyll.com
Description: The standard CSGM starter theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: csgm-ultimate
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,900;1,400;1,900&family=Saira+Extra+Condensed:wght@300&display=swap');

:root {
    --green: #8fc73e;
    --purple: #a254a1;
    --yellow: #fff200;
    --blue: #779ef1;
    --ease: all 200ms ease-in-out;
    --condensed: 'Saira Extra Condensed', sans-serif;
}

/* -----------------------------------------
	Dark & Light Mode
----------------------------------------- */

/*fold*/

body.dark {
    background: black;
    color: white;
}

body.dark .entry-header .entry-title {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

body.dark .entry-header .entry-title a {
    color: white;
    text-decoration: none;
}

body.dark .entry-header .entry-title a:hover {
    color: var(--purple);
    transition: var(--ease);
}

body.light {
    background: whitesmoke;
    color: black;
}

body.light .site-branding img {
    filter: invert(1);
}

body.light .entry-header .entry-title {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

body.light header i,
body.light header svg {
    color: black;
}

body.light .site-footer .site-info a {
    color: black;
}

/*endfold*/

/* -----------------------------------------
	Typography & Links
----------------------------------------- */

/*fold*/

pre {
    color: black;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
    line-height: 1.8;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}


a,
a:visited {
	color: white;
    text-decoration: underline;
    font-weight: 600;
}

a:focus,
a:hover, 
a:active {
	outline: none;
    color: var(--purple);
    transition: var(--ease);
}

article.post a,
article.post a:visited {
    color: var(--purple);
}

article.post a:hover {
    color: var(--green);
}


/*endfold*/

/* -----------------------------------------
	Elements
----------------------------------------- */

/*fold*/

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: black;
	/* Fallback for when there is no custom background color defined. */
    color: white;
    font-family: 'Montserrat', sans-serif;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

p {
    margin: 0 0 1.5em;
}

ul, ol {
    margin-left: 0;
    padding-left: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

.entry-content ul li, .entry-content ol li {
    margin: 0 0 1.5em;
    line-height: 1.8;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

ul.slight li, ol.slight li {
    margin: 0 0 5px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

blockquote {
    font-style: italic;
    border-left: 5px solid var(--purple);
    margin: 20px auto;
    padding: 20px;
    line-height: 2;
}

blockquote cite {
    display: block;
    font-style: normal;
    text-align: right;
}

blockquote cite::before {
    content: '- ';
}

blockquote.has-cite {
    padding: 20px 20px 0 20px;
}


/* toggle switch */

#mode-switch {
    position: absolute;
    right: 0;
    top: 0;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--purple);
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media screen and (max-width: 600px) {
    ul,ol {padding-left: 20px;}
}

/*endfold*/

/* -----------------------------------------
	Useful Classes
----------------------------------------- */

/*fold*/

.page-head {
    border-bottom: 4px white dotted;
    padding-bottom: 20px;
    font-family: 'courier', monospace;
    text-transform: uppercase;
    text-align: center;
}

.page-head p {
    margin: 0;
}

.simple-grid {
    display: grid;
    align-items: center;
}

.simple-grid.half {
    grid-template-columns: 1fr 1fr;
}

.simple-grid.third {
    grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 700px) {
    .simple-grid.half {grid-template-columns: 1fr;}
}

/*endfold*/

/* -----------------------------------------
	Navigation
----------------------------------------- */

/*fold*/

.site-header {
    position: relative;
    display: grid;
    grid-template-columns: 100px auto 100px;
}

#menu-icon {
    background: transparent;
    padding: 0;
    font-size: 30px;
    width: 30px;
    grid-column: 1;
}

#menu-icon:hover {
    cursor: pointer;
    color: var(--purple);
    transition: var(--ease);
}

.logged-in #shiftnav {
    top: 32px;
}

#shiftnav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -300px;
    width: 300px;
    border-right: 1px solid white;
    padding: 30px;
    z-index: 9;
    background: black;
}

#shiftnav ul {
    margin: 0;
    padding: 0;
}

#shiftnav ul li {
    list-style: none;
    position: relative;
}

#shiftnav ul li a {
    line-height: 1;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    margin: 0 0 10px;
    display: block;
    border-bottom: 1px solid #ffffff38;
    font-family: 'courier', monospace;
    letter-spacing: 1px;
    font-weight: 300;
}

#shiftnav .sub-menu {
    padding-left: 14px;
}

#shiftnav .sub-menu li a {
    font-size: 15px;
}

#shiftnav li a:hover {
    color: var(--purple);
    transition: var(--ease);
}

#shiftnav .sub-menu li:before {
    content: '>';
    position: absolute;
    left: -12px;
    font-family: 'courier', monospace;
    bottom: 10px;
    font-size: 10px;
    color: var(--purple);
    font-weight: bold;
}

#shifthelp {
    z-index: 8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    background: transparent;
}



/*endfold*/

/* -----------------------------------------
	Home Page
----------------------------------------- */

/*fold*/

body.home header {
    display: none;
}

body.home footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2;
}

#newhome {
    position: fixed;
    max-width: 1000px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: grid;
    align-items: center;
    text-align: center;
    padding: 0 0 200px;
}

#newhome .images {
    animation: fadeInUp; 
    animation-duration: 2s;
    animation-fill-mode: forwards;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "img";
}

/*
@keyframes flickerOut {
    0% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 1; }
    33% { opacity: 1; }
    35% { opacity: 1; }
    38% { opacity: 0.7; }
    40% { opacity: 1; }
    43% { opacity: 0.4; }
    45% { opacity: 0.8; }
    50% { opacity: 0; }
    55% { opacity: 0.8; }
    56% { opacity: 1; }
    100% { opacity:1; }
}

@keyframes flickerIn {
    0% { opacity: 0; }
    20% { opacity: 0; }
    30% { opacity: 0; }
    33% { opacity: 0; }
    35% { opacity: 0; }
    38% { opacity: 0; }
    40% { opacity: 0; }
    43% { opacity: 0; }
    45% { opacity: 0; }
    50% { opacity: 1; }
    55% { opacity: 0; }
    56% { opacity: 0; }
    100% { opacity:0; }
}
*/

#newhome img {
    max-width: 100%;
    width: 600px;
    margin: auto;
    display: block;
    grid-area: img;
}

#newhome img.main {
/*    opacity: 0;*/
/*
    animation: flickerOut;
    animation-duration: 5s;
    animation-fill-mode: forwards;
*/
}

#newhome img.runic {
    display: none;
/*
    animation: flickerIn;
    animation-duration: 5s;
    animation-fill-mode: forwards;
*/
}

/*
#newhome .images:hover .main {
    display: none;
}

#newhome .images:hover .runic {
    display: block;
}
*/

#begin {
    display: inline-block;
    width: auto;
    margin: auto;
    padding: 15px 40px;
    border-radius: 2px;
    font-style: normal;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid var(--purple);
    animation: fadeIn; 
    animation-duration: 5s;
    --animate-delay: 0.9s;
    cursor: pointer;
    font-family: 'courier', monospace;
    font-weight: 300;
}

#begin[aria-expanded="true"],
#begin:hover {
    letter-spacing: 1px;
    background: var(--purple);
}

#newhome img.mobile {display: none;}

@media screen and (max-width: 600px) {

    #newhome img {width: 80%; animation: none;}
    
    #newhome img.mobile {display: block;}
    #newhome img.main {display: none;}
    
    
    #begin {
        animation: none;
        font-size: 12px;
        padding: 10px 30px;
    }
    
}

/*endfold*/

/* -----------------------------------------
	Site Content
----------------------------------------- */

/*fold*/

.page-template-page-wide #page header,
#page {
    max-width: 800px;
    margin: 20px auto;
}

.page-template-page-wide #page {
    max-width: 100%;
}

.site-branding {
    max-width: 250px;
    margin: auto;
    grid-column: 2;
}

.site-branding a:hover img {
    transform: scale(1.05); 
    transition: var(--ease);
}

.entry-header .entry-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 10px 0;
}

@media screen and (max-width: 800px) {
    
    #page {padding: 0 10px;}
    
}

/*endfold*/

/* -----------------------------------------
	Single Posts
----------------------------------------- */

/*fold*/

.entry-meta {
    font-family: 'courier', monospace;
    font-size: 14px;
    color: white;
}

.post .entry-content h3 {
    color: var(--purple);
}

.nav-links a {
    color: white;
    font-family: 'courier', monospace;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--purple);
    transition: var(--ease);
}

.nav-links .nav-previous a::before {
    content: '← ';
}

.nav-links .nav-next a::after {
    content: ' →';
}

p.spell {
    padding: 0 0 0 30px;
    font-style: italic;
    font-family: 'courier', monospace;
}

p.cite {
    font-style: italic;
    font-size: 14px;
}

hr {
    border-top: 1px solid #5b5959;
}

@media screen and (max-width: 600px) {
    p.spell {
        padding: 0 0 0 20px;
        font-size: 14px;
    }
}

/*endfold*/

/* -----------------------------------------
	Footer
----------------------------------------- */

/*fold*/

.site-footer {
    margin: 100px 0 0;
}

.site-footer .site-info {
    padding: 20px 10px;
    text-align: center;
    color: #ffffff47;
}

.site-footer .site-info a {
    color: #ffffff47;
    font-family: 'courier', monospace;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 12px;
}

.site-footer .site-info a:hover {
    color: white;
    transition: var(--ease);
}

/*endfold*/

/* -----------------------------------------
	Forms & Buttons
----------------------------------------- */

/*fold*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 0;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
/*	border-color: #ccc #bbb #aaa;*/
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
/*	border-color: #aaa #bbb #bbb;*/
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	border-radius: 0;
	padding: 10px;
    font-size: 16px;
    line-height: 1;
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
    -webkit-appearance: none;
    border-radius: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1;
    background-image: url(https://carodactyll.com/wp-content/uploads/2023/09/arrows.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    display: block;
    width: 100%;
    background-color: white;
}

textarea {
	width: 100%;
}


input::placeholder {
    font-style: italic;
    font-size: 15px;
    color: #969696;
}

input:focus {
/*
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    padding: 8px 5px;
*/
    transition: var(--ease);
}

input:focus::placeholder {
    color: transparent;
}

button.slim,
input[type="submit"].slim {
    padding: 10px;
}

button,
input[type="submit"] {
    background: var(--purple);
    border: 0;
    width: 100%;
    padding: 20px;
    line-height: 1;
    font-size: 20px;
    color: white;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    text-decoration: none;
}

button:hover,
input[type="submit"]:hover {
    background: var(--green);
    letter-spacing: 1.5px;
    transition: all 300ms ease-in-out;
}

a.csgm-btn {
    font-size: 10px;
    padding: 10px 20px;
    border-radius: 1px;
    text-decoration: none;
    line-height: 1;
    font-family: 'courier', monospace;
    border: 1px solid white;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 2px;
    display: inline-block;
}

a.csgm-btn:hover {
    color: black;
    background: white;
    
}


/*endfold*/

/* -----------------------------------------
	Search Grids
----------------------------------------- */

/*fold*/

.search-grid {
    font-family: 'courier', monospace;
}

.search-grid input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    color: white;
    cursor: text;
}

.search-grid {
    display: grid;
    align-items: center;
    border-bottom: 2px solid #ccc;
    margin: 0 0 10px;
    grid-template-columns: auto 35px;
}

.search-grid button.clear-input,
.search-grid button.clear-input:hover, 
.search-grid button.clear-input:focus, 
.search-grid button.clear-input:focus-within {
    background: transparent;
    padding: 0;
    font-size: 25px;
}

.search-grid .amount {
    line-height: 1;
    text-align: center;
    color: #868686;
    font-size: 20px;
    letter-spacing: -1px;
}

.extra-control, .toggle-btn {
    background: transparent;
    padding: 0;
    font-size: 30px;
    text-align: right;
}

/*endfold*/

/* -----------------------------------------
	Menus / Navigation
----------------------------------------- */

/*fold*/

#primary-menu {
    display: grid;
/*    grid-template-columns: repeat( auto-fit, minmax(100px, 1fr) );*/
    grid-template-columns: repeat( 4, 1fr );
    grid-gap: 10px;
}

#primary-menu li {
    text-align: center;
    
}

#primary-menu li a {
    color: white;
    padding: 10px;
    border: 1px solid white;
    text-transform: uppercase;
    font-size: 16px;
}

#primary-menu li a:hover {
    background: white;
    color: black;
    letter-spacing: 1px;
    transition: all 300ms ease-in-out;
    
}

.main-navigation {
	clear: both;
	display: block;
	width: 100%;
    margin: 30px 0;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

@media screen and (max-width: 600px) {
    .site-branding {max-width: 180px;}
    .main-navigation {margin: 10px auto;}
    #primary-menu li a {font-size: 12px; padding: 5px;}
}


/*endfold*/

/* -----------------------------------------
	Blog Archive
----------------------------------------- */

/*fold*/

.single-blog {
    margin: 40px auto;
    border-bottom: 2px dotted #ffffff54;
    padding: 0 0 40px;
}

.single-blog .grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    grid-gap: 20px;
}

.single-blog .img-link {
    display: block;
    border: 1px solid;
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: 1px;
    overflow: hidden;
}

.single-blog .img-link div {
    width: 100%;
    min-height: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.single-blog .img-link:hover div {
    transform: scale(1.1);
    transition: var(--ease);
}

#archive > .single-blog:nth-child(1n) .img-link,
#archive > .single-blog:nth-child(3n) a:hover h2,
#archive > .single-blog:nth-child(1n) a h2 {
    color: var(--green);
}

#archive > .single-blog:nth-child(2n) .img-link,
#archive > .single-blog:nth-child(1n) a:hover h2,
#archive > .single-blog:nth-child(2n) a h2 {
    color: var(--purple);
}

#archive > .single-blog:nth-child(3n) .img-link,
#archive > .single-blog:nth-child(2n) a:hover h2,
#archive > .single-blog:nth-child(3n) a h2 {
    color: var(--yellow);
}

#archive > .single-blog:nth-child(1n) .csgm-btn:hover {
    background: var(--green);
    border-color: var(--green);
}

#archive > .single-blog:nth-child(2n) .csgm-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

#archive > .single-blog:nth-child(3n) .csgm-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
}

.single-blog a.title-link {
    text-decoration: none;
}

.single-blog a h2 {
    margin: 0;
    transition: var(--ease);
}

.single-blog p.posted {
    margin: 0;
    font-size: 12px;
    font-style: italic;
}

.single-blog p.excerpt {
    font-size: 14px;
    margin: 5px 0 10px;
}

@media screen and (max-width: 600px) {
    .single-blog .grid {grid-template-columns: 1fr;}
}

/*endfold*/

/* -----------------------------------------
	Latin
----------------------------------------- */

/*fold*/

.latin > .item:nth-child(1n) .single p.line {
    color: var(--purple);
}

.latin > .item:nth-child(2n) .single p.line {
    color: var(--green);
}

.latin > .item:nth-child(3n) .single p.line {
    color: var(--yellow);
}

.latin > .item:nth-child(4n) .single p.line {
    color: var(--blue);
}

.latin .item {
    margin: 30px 0;
}

.latin .item h3 {
    color: white;
    margin: 0;
    font-family: 'courier';
    font-weight: normal;
    font-size: 15px;
    font-style: italic;
}

.latin .single {
    margin: 0 0 10px;
}

.latin .single p.line {
    margin: 0;
    font-weight: 600;
}

.latin .single p.trans {
    padding: 0 0 0 20px;
    font-size: 12px;
    margin: 0;
    font-style: italic;
}

/*endfold*/

/* -----------------------------------------
	Apothecary
----------------------------------------- */

/*fold*/

.searchable .single {
    padding: 10px 0;
    border-bottom: 2px dotted #ffffff54;
}

.searchable .single .name {
    display: grid;
    grid-template-columns: max-content auto;
    align-items: center;
    grid-gap: 5px;
}

.single .toggle {
    cursor: pointer;
}

.toggle-icon {
    color: white;
    font-size: 15px;
}

.searchable .single .short-desc {
    margin: 0;
    font-size: 12px;
    font-style: italic;
    color: #bcbcbc;
    font-weight: 300;
}

.searchable .single h2 {
    font-size: 18px;
    margin: 0;
}

.searchable .single a.toggle {
    color: white;
    font-size: 15px;
}

.color-coded > li:nth-child(1n) strong,
.color-coded > .single:nth-child(1n) h2 {
    color: var(--green);
}

.color-coded > li:nth-child(2n) strong,
.color-coded > .single:nth-child(2n) h2 {
    color: var(--purple);
}

.color-coded > li:nth-child(3n) strong,
.color-coded > .single:nth-child(3n) h2 {
    color: var(--yellow);
}

.searchable .single .grid {
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: auto max-content;
    align-items: center;
}

.searchable .single .side {
    text-align: right;
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
    color: #909090;
    align-self: center;
    justify-self: right;
}

.searchable .single .side > span:not(:last-child) {
    margin-right: 3px;
}

.searchable .single .side > div:not(:last-child) {
    margin-right: 5px;
}

.searchable .single .properties p .icon {
    color: #909090;
    margin-right: 3px;
}

.searchable .single .properties p .remainder {
    display: none;
}

.searchable .single .stats {
    display: none;
    grid-column: 1/3;
    padding: 10px 0;
}

.searchable .single .stats .info {
    display: grid;
    grid-gap: 5px;
}

.searchable .single .stats p {
    font-size: 14px; 
    margin: 0;
}

.searchable .single .stats .properties > p.desc:not(:last-child) {
    margin: 0 0 10px;
    font-size: 14px;
}

.searchable .single .stats .label {
    text-transform: uppercase;
    font-style: normal;
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    background: white;
    color: black;
    line-height: 1;
    padding: 3px 5px;
    font-weight: 600;
    vertical-align: 2px;
}

.color-circle {
    background-color: #fff7d3;
    width: 15px;
    height: 15px;
    border-radius: 100px;
    display: inline-block;
    vertical-align: -2px;
}

@media screen and (max-width: 600px) {
    #apothecary .single .short-desc {
        font-size: 10px;
        line-height: 1;
    }
}

/*endfold*/

/* -----------------------------------------
	Morse Code
----------------------------------------- */

/*fold*/

.searchable .single.morse .name {
    grid-template-columns: 50px auto;
}

.searchable .single.morse h2 {
    font-size: 26px;
}

.searchable .single.space {
    height: 50px;
    border-bottom: 0;
}

:root {
    --unit: 14px;
}

.morse-code {
    display: grid;
    grid-gap: var(--unit);
}

.morse-code .char {
    background: white;
    height: var(--unit);
}

.morse-code .dot {
    width: var(--unit);
    border-radius: 100px;
}

.morse-code .dash {
    width: calc(var(--unit)*3);
    border-radius: 2px;
}

/*endfold*/

/* -----------------------------------------
	Wheel Of The Year
----------------------------------------- */

/*fold*/

#the-wheel {
    display: grid;
    grid-template-areas: "wheel";
}

#the-wheel img {
    grid-area: wheel;
    transform: scale(1.02);
}

.pie {
    width: 350px;
    height: 350px;
    grid-area: wheel;
}

.pie .chart {
    transform: scale(3.5);
}

.pie .rotate {
    transform: rotate(90deg) translate(0%, -25%);
}

#sabbats.searchable .single .stats .info > p:not(:last-child) {
    margin: 0 0 10px;
}

.countdown-grid {
    text-align: center;
}

.countdown-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 10px;
    align-items: center;
}

.countdown-grid h2 {
    margin: 0;
}

.countdown-grid p.aka {
    color: #bcbcbc;
    font-style: italic;
    margin: 0;
}

.countdown-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-columns: repeat(4, 60px);
    max-width: 270px;
    margin: 20px auto;
    grid-gap: 10px;
}

.countdown-section {
    display: grid;
    grid-template-rows: repeat(2, auto);
    position: relative;
}

.countdown-row > .countdown-section:not(:last-child)::after {
    content: ':';
    font-weight: 600;
    position: absolute;
    right: -7px;
    top: 5px;
}

.countdown-amount {
    font-size: 30px;
    line-height: 1;
}

.countdown-period {
    text-transform: lowercase;
    font-size: 12px;
    font-style: italic;
    color: #bcbcbc;
}

@media screen and (max-width: 700px) {
    .countdown-grid {grid-template-columns: 1fr;}
    #the-wheel {max-width: 350px; margin: auto;}
}

/*endfold*/

/* -----------------------------------------
	Moon Calendar
----------------------------------------- */

/*fold*/

#moons .specs {
    grid-template-columns: repeat(4, auto);
}

#the-moon {
    position: relative;
    margin: auto;
    transform: rotate(30deg);
    overflow: hidden;
    border-radius: 100%;
    max-height: 260px;
}

#the-moon.first-quarter,
#the-moon.third-quarter {
    transform: none;
}

#the-moon img.gibbous {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

#the-moon .phase {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000c7;
    border-radius: 100%;
    transform: scale(1.01);
    box-shadow: 1px -2px 8px #e5e5e5;
}

#the-moon.new-moon .phase {
    left: 0;
    right: 0;
}

#the-moon.first-quarter .phase {
    border-radius: 0;
    right: 50%;
}

#the-moon.waning-gibbous img.gibbous {
    transform: rotate(180deg) scale(1.01);
}

#the-moon.waxing-gibbous img.gibbous {
    transform: scale(1.01);
}

#the-moon.waxing-gibbous img.gibbous,
#the-moon.waning-gibbous img.gibbous {
    display: block;
}

#the-moon.waxing-gibbous .phase,
#the-moon.waning-gibbous .phase,
#the-moon.full-moon .phase {
    display: none;
}

#the-moon.waxing-crescent .phase {
    left: -40px;
}

#the-moon.third-quarter .phase {
    border-radius: 0;
    left: 50%;
}

#the-moon.waning-crescent .phase {
    right: -40px;
}

#the-moon img.luna {
    display: block;
}

.waning-crescent,
.first-quarter {
    color: var(--green);
}

.waxing-crescent,
.full-moon {
    color: var(--purple);
}

.waxing-gibbous,
.third-quarter {
    color: var(--yellow);
}

.waning-gibbous,
.new-moon {
    color: var(--blue);
}

.single.moon .name .moon-icon {
    height: 15px;
    width: 15px;
    border-radius: 100px;
    justify-self: end;
}

.single.moon .name .blue-moon {
    background: blue;
}

.single.moon .name .super-moon {
    background: #f8f7d9;
}

.single.moon .name .blood-moon {
    background: #752727;
}

@media screen and (max-width: 700px) {
    #the-moon {max-width: 250px; max-height: 250px;}
    #moons .specs {grid-template-columns: repeat(2, auto);}
}

/*endfold*/

/* -----------------------------------------
	Futhark Runes
----------------------------------------- */

/*fold*/

#rune-reader .wrapper.two {
    grid-template-columns: 80px repeat(4, auto);
}

#rune-reader .pull {
    display: grid;
/*    animation: backInRight; */
    animation: flipInY; 
    animation-duration: 1s;
    margin: 0;
    max-width: 150px;
    grid-template-rows: 150px auto;
    grid-gap: 10px;
    align-items: center;
}

#rune-reader .pull .stone {
    max-width: 100%;
    max-height: 100%;
    width: 100px;
/*    height: 150px;*/
    display: grid;
    align-items: center;
}

#rune-reader .pull .stone img {
    max-height: 130px;
    margin: auto;
}

#rune-reader .pull .meaning {
    font-size: 10px;
    font-family: monospace;
    font-style: italic;
}

#rune-reader .symbol .number {
    display: none;
}

#rune-reader svg line {
    stroke: white;
}

#rune-reader .card-controls .wrapper.one .intent-grid {
    display: block;
}

#rune-reader.card-reader .grid {
    text-align: center;
    grid-template-columns: repeat(auto-fit, minmax(100px, 120px));
    justify-content: center;
    grid-gap: 5px;
}

#runes.deck.reading {
    grid-template-rows: min-content;
}

.deck.reading .rune-1 {grid-row: 1;}
.deck.reading .rune-2 {grid-row: 2;}
.deck.reading .rune-3 {grid-row: 3;}
.deck.reading .rune-4 {grid-row: 4;}
.deck.reading .rune-5 {grid-row: 5;}
.deck.reading .rune-6 {grid-row: 6;}
.deck.reading .rune-7 {grid-row: 7;}
.deck.reading .rune-8 {grid-row: 8;}
.deck.reading .rune-9 {grid-row: 9;}
.deck.reading .rune-10 {grid-row: 10;}
.deck.reading .rune-11 {grid-row: 11;}
.deck.reading .rune-12 {grid-row: 12;}

#runes {
    min-height: 800px;
}

.single.rune .pull {
    display: none;
}

.rune {
    margin: 0 auto 20px;
    width: 100%;
}

.rune .primary {
    display: grid;
    grid-template-columns: 100px auto;
    align-items: center;
    grid-gap: 20px;
    max-width: 600px;
    margin: auto;
}

.rune .specs.grid3 {
    grid-template-columns: repeat(3, auto);
}

.rune .specs.grid4 {
    grid-template-columns: repeat(4, auto);
}

.rune .specs.grid3 .spec.poem {
    grid-column: span 3;
}

.rune .specs.grid4 .spec.poem {
    grid-column: span 4;
}

.rune .symbol {
    position: relative;
}

.rune .symbol .number {
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'courier', monospace;
    color: #818181;
    font-size: 12px;
    line-height: 1;
}

.rune h2 {
    margin: 0;
}

.rune .meaning {
    font-family: 'courier', monospace;
    color: #bcbcbc;
    font-size: 15px;
    font-weight: 400;
    margin-left: 10px;
}

.rune .label {
    color: #bcbcbc;
    font-family: var(--condensed);
    text-transform: uppercase;
    font-size: 15px;
}

.rune .unicode {
    vertical-align: 2px;
}

.rune .details p {
    margin: 0;
}

.rune .symbols {
    text-transform: lowercase;
    font-style: italic;
    margin: 0 0 10px;
}

svg.futhark {
    margin: auto;
}

svg.futhark line {
/*    stroke: white;*/
    stroke-width: 5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.color-coded > .single:nth-child(1n) svg line {
    stroke: var(--green);
}

.color-coded > .single:nth-child(2n) svg line {
    stroke: var(--purple);
}

.color-coded > .single:nth-child(3n) svg line {
    stroke: var(--yellow);
}

svg.futhark g.lines {
    transform: scale(0.8) translate(0px,5px);
}

@media screen and (max-width: 750px) {
    #rune-reader.card-reader .grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 90px));
    }
    #rune-reader .wrapper.two {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: "count intent" "cleanse draw";
    }
    #rune-reader .card-controls .container.discard {display: none;}
    #rune-reader .pull .stone {width: 80px;}
}

@media screen and (max-width: 600px) {
    
    .rune {
        grid-template-columns: 80px auto;
        grid-gap: 5px;
    }
    
    .rune .symbols {
        line-height: 1.3;
        font-size: 15px;
    }
    
    .rune .specs.grid4 .spec.interp {
        grid-column: span 2;
    }
    
}
 
/*endfold*/

/* -----------------------------------------
	Irish Ogham
----------------------------------------- */

/*fold*/

:root {
    --long: 40px;
    --thick: 3px;
}

#ogham .single {
    margin: 20px auto;
}

#ogham .single .grid {
    display: grid;
    grid-template-columns: var(--long) auto;
    align-items: center;
    grid-gap: 5px 20px;
}

.ogham .char {
    width: var(--long);
    display: grid;
    grid-template-columns: 1fr var(--thick) 1fr;
    grid-template-rows: 1fr;
    align-items: center;
}

.ogham .char .group {
    grid-row: 1;
}

.ogham .char.group-1 .group {
    grid-column: 3;
}

.ogham .char.group-2 .group {
    grid-column: 1;
}

.ogham .char.group-3 .group,
.ogham .char.group-4 .group {
    grid-column: 1/4;
    justify-self: center;
}

.ogham .char.group-3 .group .line {
    transform: rotate(20deg);
}

.ogham .char.group-3 .group .line,
.ogham .char.group-4 .group .line {
    width: calc(var(--long) - 10px);
}

.ogham .char .ridge.line {
    width: var(--thick);
    height: var(--long);
    grid-column: 2;
    grid-row: 1;
}

.color-coded > .single:nth-child(1n) .char .line {
    background: var(--green);
}

.color-coded > .single:nth-child(2n) .char .line {
    background: var(--purple);
}

.color-coded > .single:nth-child(3n) .char .line {
    background: var(--yellow);
}

.ogham .char .group {
    display: grid;
    grid-gap: 3px;
}

.ogham .char .group .line {
    height: var(--thick);
    width: var(--width);
}

#ogham .single .triad {
    grid-column: 1 / 3;
}

#ogham .single .triad .content {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, auto);
}

@media screen and (max-width: 600px) {
    #ogham .single .triad .content {
        grid-gap: 10px;
        align-items: center;
    }
    
    #ogham .single .triad .content p.short-desc {
        line-height: 1.1;
    }
}

/*endfold*/

/* -----------------------------------------
	Futhark Shortcodes
----------------------------------------- */

/*fold*/

div.rune-spread {
    display: grid;
    grid-gap: 10px;
    margin: 20px 0;
}

div.rune-spread img {
    max-height: 80px;
}

span.rune-spread {
    display: inline-grid;
    grid-gap: 3px;
    margin-right: 5px;
}

span.rune-spread img {
    max-height: 20px;
}

/*endfold*/

/* -----------------------------------------
	Tarot Cards
----------------------------------------- */

/*fold*/

body.slug-tarot .entry-content {
    margin: 0;
}

.deck.reading {
    display: grid;
    grid-template-rows: repeat(3, auto);
}

.deck.reading .card-1 {grid-row: 1;}
.deck.reading .card-2 {grid-row: 2;}
.deck.reading .card-3 {grid-row: 3;}
.deck.reading .card-4 {grid-row: 4;}
.deck.reading .card-5 {grid-row: 5;}
.deck.reading .card-6 {grid-row: 6;}

#tarot.reading:not(.use-inverted) .single.pulled .inverted,
#tarot.reading.use-inverted .single.pulled:not(.show-inverted) .inverted,
#tarot.reading.use-inverted .single.pulled.show-inverted .upright {
/*    opacity: 0.2;*/
    display: none;
}

#tarot .single {
    padding: 20px 0;
}

#tarot .single .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}

/*
#tarot .single .name {
    grid-column: 1/3;
    grid-row: 1;
}
*/

#tarot .single h2 {
    font-size: 18px;
    margin: 0;
}

#tarot .single h2 span.icon {
    color: #909090;
    font-size: 15px;
}

#tarot .single h2 span.icon.pentacles {
    border: 1px solid #909090;
    border-radius: 100px;
}

#tarot .single .toggle-icon {
    color: white;
    font-size: 15px;
}

#tarot .single .has-album {
    color: gray;
    font-size: 10px;
    vertical-align: 3px;
}

#tarot .single .info {
    text-align: right;
}

#tarot .single .suit {
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
    color: #909090;
    margin: 0;
}

#tarot .single .options {
    grid-column: 1/3;
    min-width: 0;
}

#tarot .single .basic.upright {
    margin: 0 0 5px;
}

#tarot .single .basic p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.deck .single .label {
    text-transform: uppercase;
    font-style: normal;
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    background: white;
    color: black;
    line-height: 1;
    padding: 3px 5px;
    font-weight: 600;
    vertical-align: 2px;
}

#tarot .single .label.arrow {
    font-size: 9px;
    line-height: 0.5;
    border-radius: 100px;
    padding: 1px 3px;
    margin: 0 3px 0 0;
    vertical-align: 1px;
    background: transparent;
    color: #bcbcbc;
    border: 1px solid;
}

#tarot .single .stats {
    display: none;
    grid-column: 1/3;
    font-size: 14px;
    border-top: 2px dotted #ffffff54;
    padding-top: 10px;
}

.deck .single .stats p {
    font-style: italic;
    line-height: 1.3;
    color: #c3c3c3;
    font-size: 13px;
}

#tarot .single .specs {
    grid-template-columns: repeat(2, auto);
    margin: 0;
    grid-column: span 2;
    width: 100%;
}

.deck.searchable .spec .val {
    font-size: 12px;
    font-family: 'Montserrat';
}

#tarot .single .csgm-notes {
    padding: 0 0 10px;
    border-bottom: 2px dotted #ffffff54;
    margin: 0 0 10px;
/*    text-align: center;*/
}

#tarot .single .csgm-notes > p:not(:last-child) {
    margin: 0 0 3px;
}

/*
#tarot .single .csgm-notes p {
    color: white;
    font-style: normal;
}

#tarot .single .csgm-notes p > span:not(:last-child) {
    margin-right: 10px;
}

#tarot .single .csgm-notes .label {
    padding: 0;
    background: transparent;
    color: white;
    font-size: 15px;
    line-height: 0;
    vertical-align: -2px;
}
*/

#tarot .single .card-text > p:last-child {
    margin: 0;
}

#tarot .single .card-text > p:not(:last-child) {
    margin: 0 0 10px;
}


#tarot .single .details-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-gap: 10px;
    align-items: center;
}

#tarot .single img {
    max-width: 100%;
    display: block;
}

#tarot .single a.toggle-art {
    padding: 0;
    background: transparent;
    text-align: left;
    font-weight: normal;
    font-size: 13px;
    letter-spacing: 0;
    font-style: normal;
    margin: 10px auto -0;
    text-decoration: none;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 100px;
    line-height: 1;
    font-size: 12px;
    transition: var(--ease);
    color: white;
}

#tarot .single a.toggle-art.off {
    background: #80808063;
}

#tarot .single a.toggle-art.on {
    background: #cdcdcd;
    color: black;
    font-style: normal;
}

/* for pulling cards */
#pick-a-card {
    background: transparent;
    padding: 0;
}

.deck .single .pull {
    display: none;
}

.card-controls {
    padding: 20px 0;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #ccc;
}

.card-controls .wrapper.one {
    display: none;
    margin: 0 auto 10px;
}

.card-controls .wrapper.one .intent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
}

.card-controls .wrapper.two {
    display: grid;
    grid-gap: 5px;
}

.tarot-cards .card-controls .wrapper.two {
    grid-template-columns: 80px repeat(6, auto);
}

/*
.toggle-option {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-columns: 30px auto;
    padding: 0;
    align-items: center;
    height: 100%;
    max-width: 140px;
}

.toggle-option i {
    font-size: 16px;
    line-height: 1;
    text-align: right;
}
*/

.toggle-option i {
    padding-right: 2px;
    vertical-align: -0.5px;
}

.toggle-option .value {
    text-align: left;
}

.toggle-option.on i {color: var(--purple);}
.toggle-option.off i {color: white;}

.card-controls label {
    font-size: 12px;
}

.card-controls button {
    padding: 0;
    font-weight: bold;
}

.card-controls label {
    font-family: 'courier', monospace;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
}

.card-controls input,
.card-controls select {
    background: transparent;
    border: none;
    padding: 10px 7px;
    border: 1px solid #575757;
    color: white;
    font-family: 'courier', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
}

.card-controls select:focus-visible,
.card-controls input:focus-visible {
    outline: none;
    background: #a254a170;
    color: white;
}

#card-reader .grid-container {
    display: none;
}

.card-reader .grid-container {
    margin: 0 auto 10px;
}

.card-reader .grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    margin: 0 auto 10px;
}

.card-reader.slim .grid {
    grid-template-columns: repeat(3, 145px);
    justify-content: center;
}

.card-reader .grid[data-cards="4"],
.card-reader .grid[data-cards="5"] {
    grid-template-columns: repeat(4, 1fr);
}

.card-reader.tarot-cards .grid[data-cards="6"] .card-4,
.card-reader.tarot-cards .grid[data-cards="6"] .card-5,
.card-reader.tarot-cards .grid[data-cards="6"] .card-6 {
   grid-row: 2;
}

.card-reader.tarot-cards .grid[data-cards="5"] .card-1 {grid-column: 1/3;}
.card-reader.tarot-cards .grid[data-cards="5"] .card-2 {grid-column: 2/4;}
.card-reader.tarot-cards .grid[data-cards="5"] .card-3 {grid-column: 3/5;}

.card-reader.tarot-cards .grid[data-cards="5"] .card-4 {
    grid-column: 2;
    grid-row: 2;
}

.card-reader.tarot-cards .grid[data-cards="5"] .card-5 {
    grid-column: 3;
    grid-row: 2;
}

@media screen and (min-width: 800px) {
    .card-reader.slim .grid[data-cards="4"],
    .card-reader.slim .grid[data-cards="5"] {
        grid-template-columns: repeat(auto-fit, 145px);
    }
}


#card-reader .card {
    display: none;
}

.card-reader .card {
    text-align: center;
    border: 2px solid;
    border-radius: 5px;
    padding: 10px;
    width: 180px;
    max-width: 100%;
    background: black;
    animation: flipInY; 
    animation-duration: 1s;
}

.card-reader.slim .card {
    width: 145px;
}

.card-reader.tarot-cards .grid > .card:first-child {
    border-color: var(--green);
}

.card-reader.tarot-cards .grid > .card:nth-child(2){
    border-color: var(--yellow);
}

.card-reader.tarot-cards .grid > .card:nth-child(3){
    border-color: var(--purple);
}

.card-reader .grid[data-cards="1"] .card-1 {
    grid-column: 2;
}

.card-reader .grid[data-cards="3"] .card-1 {
    justify-self: end;
}

.card-reader .grid[data-cards="2"] .card-1 {
    justify-self: center;
    grid-column: 1 / 3;
}

.card-reader .grid[data-cards="2"] .card-2 {
    justify-self: center;
    grid-column: 2 / 4;
}

.card-reader .grid[data-cards="3"] .card-3 {
    justify-self: start;
}

/* tarot */
.card-reader .card .wrapper {
    /* for background images */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    padding: 0;
    height: 100%;
}

.card-reader .card {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    padding: 0;
    height: 250px;
    grid-row: 1;
}

.card-reader .use-inverted .card.inverted .wrapper {
    transform: rotate(180deg);
}

.card-reader .card .roman div {
    font-family: courier;
    font-size: 20px;
    line-height: 1;
}

.card-reader .card .icon {
    font-size: 38px;
    padding: 20px 0;
}

.card-reader .card .icon.pentacles div {
    display: inline;
    border: 2px solid white;
    border-radius: 100px;
}

.card-reader .card .title {
    font-size: 14px;
}





/*
.card-reader .card:hover .icon.pentacles div {
    border-color: black;
}

.card-reader.tarot-cards .grid > .card:first-child:hover {
    background: var(--green);
}

.card-reader.tarot-cards .grid > .card:nth-child(2):hover {
    background: var(--yellow);
}

.card-reader.tarot-cards .grid > .card:nth-child(3):hover {
    background: var(--purple);
}
*/

.card-reader .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    margin: 10px auto;
}

button.deck-options {
    background: transparent;
    font-size: 10px;
    font-family: 'courier';
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    margin: auto;
    height: 100%;
}

button.deck-options.standard {
    border: 1px solid #575757;
}

#draw {
    border: 1px solid var(--purple);
}

.container.count {
    position: relative;
}

.container.count .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-family: 'courier', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    z-index: -1;
    display: grid;
    align-items: center;
}

.container.count .overlay .number {
    font-size: 16px;
    vertical-align: -2px;
}

#card-count {
    line-height: 1;
    padding: 0 13px;
    height: 100%;
    text-align: center;
    background: transparent;
    color: transparent;
    text-transform: none;
}

label[for="card-count"] {
    display: none;
}

#select-intent {
    background-image: url(https://mysticmarkup.com/wp-content/uploads/2024/03/arrows-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    text-align: center;
}

#select-intent.disabled {
    color: #6f6f6f;
}

.card-controls select option[disabled] {
    font-style: italic;
}

#none-found {
    text-align: center;
    display: none;
}

#none-found .card {
    height: 350px;
    width: 200px;
    margin: 20px auto;
    animation: flipInY; 
    animation-duration: 1s;
}

#none-found .card .wrapper {
    height: 100%;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* all the hover effects */
@media screen and (min-width: 750px) {
    #pick-a-card:hover {
        color: var(--purple);
        cursor: pointer;
        transform: scale(1.1);
        transition: var(--ease);
    }
    .toggle-option.off:hover i {
        color: var(--purple);
    }
/*
    .card-reader .card:hover {
        cursor: pointer;
        transition: var(--ease);
        filter: grayscale();
        transform: none;
    }
*/
    button.deck-options.standard:hover {
        transition: var(--ease);
        background: white;
        color: black;
        border-color: white;
    } 
    #draw:hover {
        background: var(--purple);
        border-color: var(--purple);
        transition: var(--ease);
        color: white;
    }
    .container.count:hover .overlay {
        color: black;
        background: white;
        transition: var(--ease);
        cursor: pointer;
    }
    .container.count:hover #card-count {
        transition: var(--ease);
        border-color: white;
    }
    .card-reader .buttons button:hover {
        border-color: white;
        cursor: pointer;
        transition: var(--ease);
    }
}

@media screen and (max-width: 800px) {
    .card-reader.playing-cards .grid[data-cards="5"] {
        grid-template-rows: repeat(2, 1fr);
    }
    .card-reader.playing-cards .grid[data-cards="5"] .card-4 {
        justify-self: center;
        grid-column: 1 / 3;
    }
    .card-reader .grid[data-cards="5"] .card-5 {
        justify-self: center;
        grid-column: 2 / 4;
    }
    .card-reader.playing-cards .grid[data-cards="5"] .card-4 {grid-row: 2;}
    .card-reader.playing-cards .grid[data-cards="5"] .card-3 {justify-self: start;}
    .card-reader.playing-cards .grid[data-cards="5"] .card-5 {grid-row: 2;}
    
    .card-reader.playing-cards .card {height: 200px;}
    
    .cards.playing.searchable .single .name {
        grid-template-columns: 1fr;
    }
    
    .cards.playing.searchable .single .short-desc {text-align: right;}
    
}

@media screen and (max-width:750px) {
    #card-reader {display: none;}
    
    .card-controls .wrapper.one .intent-grid {
        grid-template-columns: 1fr;
    }
    
/*
    .card-controls .wrapper.two {
        grid-template-columns: 1.2fr 2fr 2fr;
        grid-template-areas: "intent cleanse draw" "count inverse albums";
    }
*/
    
    .tarot-cards .card-controls .wrapper.two {
        grid-template-columns: auto repeat(6, 1fr);
        grid-template-areas: 
            "intent cleanse cleanse cleanse draw draw draw"
            "count inverse inverse albums albums discard discard";
    }

    .card-controls .container.count {grid-area: count;}
    .card-controls .container.intent {grid-area: intent;}
    .card-controls .container.inverse {grid-area: inverse;}
    .card-controls .container.albums {grid-area: albums;}
    .card-controls .container.cleanse {grid-area: cleanse;}
    .card-controls .container.draw {grid-area: draw;}
    .card-controls .container.discard {grid-area: discard;}

    .toggle-option {
/*        grid-template-columns: 0.7fr 1.5fr 1fr;*/
        grid-gap: 3px;
        width: 100%;
        margin: 0;
        max-width: 100%;
    }
    
    button.deck-options {font-weight: normal;}
    #intent span {display: none;}
    
    .card-controls .dbl-item.amount {margin: 0;}
    .card-reader button.deck-options {
        padding: 15px 0;
        font-size: 12px;
    }
    
    .card-reader.slim .grid {grid-template-columns: repeat(3, 1fr);}
    .card-reader.slim .grid[data-cards="4"] {grid-template-columns: repeat(4, 1fr);}

}

@media screen and (max-width:600px) {

    #tarot .single {padding:0 0 10px;border-bottom:none;}
    
    #tarot > .single:not(:first-child) .name {
        border-top: 1px solid;
        border-top-color: #f5f5f54d;
    }
    
    #tarot > .single:not(:first-child) .name[aria-expanded="true"] {
        border-top-color: transparent;
    }
    
    #tarot .single .grid {grid-gap: 0;}
    #tarot .single .options {padding:3px 0;}
    #tarot .single .basic p {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        max-width: 100%;
        text-overflow: ellipsis;
    }
    
    #tarot .single .name[aria-expanded="true"] {
        background: linear-gradient(323deg, #444444, #303030);
/*        box-shadow: inset 0 0 7px -1px black;*/
    }
    
    #tarot .single .name {
        padding: 10px 5px;
        margin: 0 -10px;
    }

    #tarot .single h2 .card-title {font-size: 20px;}

    #tarot .single .stats,
    #tarot .single .options {grid-column: 1;}
    #tarot .single .grid {grid-template-columns: 1fr;}
    #tarot .single .info {display: none;}
    #tarot .single a.toggle {margin-left: 5px;}
    
    #tarot .single .specs {display: block;}
/*    #tarot .single .img-container {float: right;}*/
    
    #tarot .single .card-notes.album-art .label {display: none;}
    #tarot .single .card-notes.biddy {grid-column: span 2;}
    #tarot .single .csgm-notes {
        border-bottom: 0;
        margin: 0;
        padding: 0;
    }
    
    #tarot .single .csgm-notes > p:not(:last-child) {
        margin: 0 0 5px;
    }

    #tarot .single a.toggle-art {
        display: inline-block;
        padding: 6px 10px;
        margin-top: 3px;
        text-align: center;
        border-radius: 3px;
    }
    
    #tarot .single .csgm-notes p > .point:not(:last-child) {
        margin: 0 0 3px;
    }
    
    #tarot .single .csgm-notes p br {display: none;}
    
    #tarot .single .short-desc {text-align: right;}
    
    #tarot .single .side {display: none;}
    
    .card-reader .grid {grid-gap: 5px;}
    .card-reader.slim .card,
    .card-reader .card {width: 100%;}
    .card-reader .card .title {font-size: 12px;}
    .card-reader .card .icon {line-height: 1;}
    
    .card-reader .grid[data-cards="2"] .card-1 {margin-right: 20px;}
    .card-reader .grid[data-cards="2"] .card-2 {margin-left: 20px;}
    .card-reader .grid[data-cards="4"] .card {height: 180px;}
    
    .card-reader.playing-cards .grid[data-cards="5"] .card-4 {margin-right: 10px;}
    .card-reader.playing-cards .grid[data-cards="5"] .card-5 {margin-left: 10px;}
    
    .card-reader.tarot-cards .grid[data-cards="5"] {grid-template-columns: repeat(3, 1fr);}
    .card-reader.tarot-cards .grid[data-cards="5"] .card {
        max-width: 130px;
        max-height: 230px;
    }
    
    .card-reader.tarot-cards .grid[data-cards="5"] .card-1 {grid-column: 1;}
    .card-reader.tarot-cards .grid[data-cards="5"] .card-2 {grid-column: 2;}
    .card-reader.tarot-cards .grid[data-cards="5"] .card-3 {grid-column: 3;}
    .card-reader.tarot-cards .grid[data-cards="5"] .card-4 {grid-column: 1 / 3;}
    .card-reader.tarot-cards .grid[data-cards="5"] .card-5 {grid-column: 2 / 4;}

    
}


/* PRINT */

body.page-id-265 {
    background: white;
    color:black;
}

body.page-id-265 .entry-content {
    margin: 0;
}

#tarot.print > .single:first-child {
    padding-top: 0;
}

#tarot.print .single .grid {
    grid-gap: 10px 20px;
    grid-template-columns: 1.5fr 1fr 1fr;
}

body.page-id-265 header,
#tarot.print .single a.toggle-art i ,
#tarot.print  .single .side ,
#tarot.print .single .toggle-icon, 
#tarot.print .single .has-album {
    display: none;
}

#tarot.print .single h2 {
    color: black ;
    font-size: 25px;
}

#tarot.print .single .stats {
    display: block;
    grid-column: 1 / 4;
}

#tarot.print .single .options {
    grid-column: 2 / 4;
    align-self: start;
}

#tarot.print .single .img-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row: 1 / 3;
    grid-gap: 10px;
}

#tarot.print .single .details-grid {
    display: block;
}

#tarot.print .single .short-desc {
    align-self: end;
    text-align: right;
}

#tarot.print .single .details-grid p {
    margin: 0 0 5px;
}

#tarot.print .single .name {
    align-self: end;
    grid-column: 2 / 4;
}


#tarot.print .single a.toggle-art,
#tarot.print .single h2 span.icon,
#tarot.print  .single .label.arrow,
#tarot.print .single .short-desc {
    color: black;
}

#tarot.print .single a.toggle-art {
    background: transparent;
    padding: 0;
}


#tarot.print .single .label {
    border: 1px solid black !important;
}

#tarot.print .single .stats p {
    color: black;
}

#tarot.print .single .csgm-notes p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

#tarot.print .single .basic.inverted {
    margin: 0 0 10px;
}

#tarot.print .single .stats p {
    line-height: 1.5;
}

#tarot.print .specs {
    margin-top: 10px;
}

#tarot.print .specs .spec {
    display: grid;
    grid-template-columns: repeat(2, auto);
}

#tarot.print .spec .lab,
#tarot.print .spec .val {
    display: inline-block;
}

#tarot.print .spec .lab {
    color:white;
}

/*endfold*/

/* -----------------------------------------
	Tarot As Albums
----------------------------------------- */

/*fold*/

#tarot-as-albums {
    margin: 0 0 200px;
}

#tarot-as-albums .searching .grid {
    grid-template-columns: 1fr;
}

#tarot-as-albums h2.title {
    text-align: center;
}

#tarot-as-albums .searching h2.title,
#tarot-as-albums .searching hr {
    display: none;
}

/*
#tarot-as-albums .section {
    margin: 0 auto 40px;
}
*/

#tarot-as-albums .section.major-arcana h2.title,
#tarot-as-albums .section.pentacles h2.title,
#tarot-as-albums .section.major-arcana p.card-name,
#tarot-as-albums .section.pentacles p.card-name {color: var(--yellow);}

#tarot-as-albums .section.cups h2.title,
#tarot-as-albums .section.cups p.card-name {color: var(--blue);}

#tarot-as-albums .section.wands h2.title,
#tarot-as-albums .section.wands p.card-name {color: var(--purple);}

#tarot-as-albums .section.swords h2.title,
#tarot-as-albums .section.swords p.card-name {color: var(--green);}


#tarot-as-albums .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px 20px;
}

#tarot-as-albums .two-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "card1 card2" "text text";
}

#tarot-as-albums .searching .two-cards {
    margin: 0 auto 20px;
}

#tarot-as-albums .one-col .two-cards {
    display: grid;
    grid-template-columns: 1fr 200px 200px 1fr;
    grid-template-areas:
        "space1 card1 card2 space2"
        "text text text text";
}

#tarot-as-albums .two-cards .card.standard {
    grid-area: card1;
}

#tarot-as-albums .two-cards .card.album {
    grid-area: card2;
}

#tarot-as-albums .two-cards .caption {
    grid-column: 1 / 3;
    text-align: center;
    padding: 10px 0;
    grid-area: text;
}

#tarot-as-albums .two-cards p.album-name {
    margin: 0;
    line-height: 1.2;
    font-size: 14px;
}

#tarot-as-albums .two-cards p.card-name {
    text-transform: uppercase;
    font-family: monospace;
    margin: 0;
    font-size: 10px;
}

@media screen and (max-width: 800px) {
    #tarot-as-albums .grid {
/*        grid-template-columns: repeat(2, 1fr);*/
        grid-template-columns: 1fr;
        grid-gap: 30px 10px;
    }
    #tarot-as-albums .two-cards,
    #tarot-as-albums .one-col .two-cards {
        grid-template-columns: 1fr 180px 180px 1fr;
        grid-template-areas:
            "space1 card1 card2 space2"
            "text text text text";
    }
}


/*endfold*/

/* -----------------------------------------
	Playing Cards
----------------------------------------- */

/*fold*/

.subtext {
    font-size: 12px;
    color: #6b6b6b;
}

.subtext a {
    color: #6b6b6b;
}

#cards {
    margin: 0 auto 300px;
}

#cards .single .grid {
    grid-template-columns: repeat(2, auto);
}

#cards .single .desc {
    text-align: right;
}

#cards .single .specs {
    grid-template-columns: repeat(4, auto);
}

#cards .single .specs .full {
    grid-column: span 4;
}

#cards .single .spec {
    display: grid;
}

.playing-cards .card-controls .wrapper.two {
    grid-template-columns: 100px repeat(4, auto);
}

.card-reader.playing-cards {
    padding: 0 0 20px;
}

.card-reader .card .suit {
    font-size: 18px;
}

.card-reader .card .suit.first {justify-self: start;}
.card-reader .card .suit.last {justify-self: end;}

#card-reader.playing-cards .grid-container, 
#card-reader.playing-cards .grid {
    margin: 0;
}

.card-reader .card .suit > div {
    display: grid;
    width: 20px;
    text-align: center;
    line-height: 1;
    grid-gap: 2px;
}

.single .playing-card {
    transform: scale(0.5);
}

.card.playing-card {
    height: auto;
}

.card.playing-card p.meaning {
    margin: 10px 0 0;
    color: white;
    font-size: 12px;
    font-style: italic;
}

.card.playing-card .wrapper {
    display: grid;
    grid-template-rows: 1fr 2fr 1fr;
    align-items: center;
    grid-gap: 0;
    grid-template-columns: min-content 1fr min-content;
    grid-template-rows: 50px 1fr 40px;
    grid-template-areas: "top1 center top2" ". center ." "end1 center end2";
    height: 100%;
    border: 1px solid white;
    padding: 5px;
    background-image: url(https://mysticmarkup.com/wp-content/uploads/2024/08/paper-1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    height: 250px;
    width: 180px;
    max-width: 100%;
}

.card.playing-card .wrapper .top1 {
    grid-area: top1;
}

.card.playing-card .wrapper .top2 {
    grid-area: top2;
}

.card.playing-card .wrapper .end1 {
    grid-area: end1;
}

.card.playing-card .wrapper .end2 {
    grid-area: end2;
}

.card.playing-card .last > div {
    transform: rotate(180deg);
}

.playing-card .center {
    display: grid;
    height: 100%;
    align-items: center;
    font-size: 40px;
    line-height: 1;
    padding: 15px 0;
    text-align: center;
}

.playing-card .center.face-card {
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "f1 ." ". f2";
}

.playing-card .center.face-card .center-suit {
    padding: 7px 3px;
}

.playing-card .center.face-card .f1 {
    grid-area: f1;
    align-self: start;
    justify-self: start;   
}

.playing-card .center.face-card .f2 {
    grid-area: f2;
    align-self: end;
    justify-self: end;
}

.playing-card .center.jack {
    background-image: url(https://mysticmarkup.com/wp-content/cards/jack.WEBP);
}

.playing-card .center.queen {
    background-image: url(https://mysticmarkup.com/wp-content/cards/queen.WEBP);
}

.playing-card .center.king {
    background-image: url(https://mysticmarkup.com/wp-content/cards/king.WEBP);
}

/* REVERSE */
.playing-card .count-2 .s2,
.playing-card .count-3 .s3,
.playing-card .count-4 .s3,
.playing-card .count-4 .s4,
.playing-card.hearts .count-6 .s3,
.playing-card.hearts .count-6 .s4,
.playing-card .count-6 .s5,
.playing-card .count-6 .s6,
.playing-card.clubs .count-8 .s4,
.playing-card.clubs .count-8 .s5,
.playing-card .count-8 .s6,
.playing-card .count-8 .s7,
.playing-card .count-8 .s8,
.playing-card .count-9 .s5,
.playing-card .count-9 .s6,
.playing-card .count-9 .s7,
.playing-card .count-9 .s8,
.playing-card.spades .count-9 .s9,
.playing-card.clubs .count-9 .s9,
.playing-card .count-10 .s5,
.playing-card .count-10 .s6,
.playing-card .count-10 .s7,
.playing-card .count-10 .s8,
.playing-card .count-10 .s10 {
    transform: rotate(180deg);
}

/* ALIGN START */
.playing-card .count-2 .s1,
.playing-card .count-3 .s1,
.playing-card .count-4 .s1,
.playing-card .count-4 .s2,
.playing-card .count-5 .s1,
.playing-card .count-5 .s2,
.playing-card .count-6 .s1,
.playing-card .count-6 .s2 {
    align-self: start;
}

/* ALIGN END */
.playing-card .count-2 .s2,
.playing-card .count-3 .s3,
.playing-card .count-4 .s3,
.playing-card .count-4 .s4,
.playing-card .count-5 .s3,
.playing-card .count-5 .s4,
.playing-card .count-6 .s5,
.playing-card .count-6 .s6 {
    align-self: end;
}

/* FOUR */
.playing-card .count-4 {
    grid-template-columns: 1fr 1fr;
}

/* FIVE */
.playing-card .count-5 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.playing-card .count-5 .s5 {
    grid-column: 2;
    grid-row: 1 / 4;
}

.playing-card .count-5 .s3,
.playing-card .count-5 .s4 {
    grid-row: 3;
}

/* SIX */
.playing-card .count-6 {
    grid-template-columns: repeat(2, 1fr);
}


/* SEVEN */
.playing-card .count-7 {
    grid-template-rows: repeat(5, auto);
    grid-template-columns: repeat(3, 1fr);
    padding: 5px 0 0;
}

.playing-card .count-7 .s3 {
    grid-column: 2;
    grid-row: 1 / 4;
}

.playing-card .count-7 .s4 {
    grid-row: 3;
}

.playing-card .count-7 .s5 {
    grid-row: 3;
    grid-column: 3;
}

.playing-card .count-7 .s6 {
    grid-row: 5;
    grid-column: 1;
}

.playing-card .count-7 .s7 {
    grid-row: 5;
    grid-column: 3;
}

/* EIGHT */
.playing-card .count-8 {
    grid-template-rows: repeat(5, auto);
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: 
        "s1 . s2"
        ". s3 ."
        "s4 . s5"
        ". s6 ."
        "s7 . s8";
}

.playing-card .count-8 .s1 {grid-area: s1;}
.playing-card .count-8 .s2 {grid-area: s2;}
.playing-card .count-8 .s3 {grid-area: s3;}
.playing-card .count-8 .s4 {grid-area: s4;}
.playing-card .count-8 .s5 {grid-area: s5;}
.playing-card .count-8 .s6 {grid-area: s6;}
.playing-card .count-8 .s7 {grid-area: s7;}
.playing-card .count-8 .s8 {grid-area: s8;}

/* NINE */
.playing-card .count-9 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
}

.playing-card .count-9 .s9 {
    grid-column: 2;
    grid-row: 1 / 5;
}

/* TEN */
.playing-card .count-10 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 5px 0;
}

.playing-card .count-10 .s9 {
    grid-row: 1 / 3;
    grid-column: 2;
}

.playing-card .count-10 .s10 {
    grid-row: 3 / 5;
    grid-column: 2;
}

/* END NUMBERS */

.playing-card .wrapper .center {
    grid-area: center;
}

.pattern .pieces .h,
.pattern .pieces .d,
.pattern .pieces .r,
.card-reader.playing-cards .red,
#cards .red  {
    color: #cc3b3b;
}

.card-reader.playing-cards .black {
    color: black;
}

.pattern .pieces .s,
.pattern .pieces .c,
.pattern .pieces .b,
#cards .black {
    color: #606060;
}

.pattern .pieces {
    font-weight: 500;
}

#patterns {
    display: none;
}

#pattern-reader {
    margin: 10px auto 15px;
    text-align: center;
}

#pattern-reader p {
    margin: 0;
    font-size: 14px;
}

#pattern-reader p.pattern .pieces > .bit:not(:last-child) { 
    margin-right: 5px;
}

/* card poem */

#poem {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
}

#poem .esc {
    background: none;
    color: black;
    padding: 0;
    font-size: 30px;
    line-height: 1;
    position: absolute;
    right: 10px;
    top: 10px;
    text-align: right; 
}

#poem .content {
    display: grid;
    grid-template-areas: "content";
    height: 100%;
    align-items: center;
}

#poem .content .stanzas {
    grid-area: content;
    z-index: 2;
    width: 750px;
    max-height: 700px;
    margin: auto;
    position: relative;
    padding: 30px;
    text-align: center;
    background-image: url(https://mysticmarkup.com/wp-content/uploads/2024/08/parchment.webp);
    background-position: center;
    box-shadow: inset 0 0 1em .5em #40000054,0 0 3em .5em #00000054;
    color: black;
    overflow: auto;
    border-radius: 2px;
}

#poem .content .stanzas div > p:last-child {
    margin: 0;
}

#poem .helper {
    background: #00000091;
    grid-area: content;
    width: 100%;
    height: 100%;
}

#poem p {
    font-size: 15px;
    font-family: courier;
    line-height: 1.3;
}

#poem p.credit {
    font-size: 12px;
    margin: 20px 0;
}

#poem p.credit a {
    color: black;
}

@media screen and (max-width: 750px) {
    .playing-cards .card-controls .wrapper.two {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:  "intent cleanse" "count draw";
    }
    
    #card-reader.playing-cards .card {height: auto;}
    #cards .single .grid {grid-template-columns: 1fr;}
    
    #pattern-reader p {line-height: 1.2}
    #pattern-reader > div:not(:last-child) {margin: 0 0 10px;}
    
    #cards .single .desc {display: none;}
    #cards .single .short-desc {text-align: right;}
    #cards .single .stats {grid-column: 1;}
    #cards .single .specs {grid-template-columns: repeat(2, auto);}
    #cards .single .specs .full {grid-column: span 2;}
    
    .card-reader.playing-cards .card .wrapper {
        grid-gap: 0;
        height: 200px;
        width: auto;
    }
    
    .card-reader.playing-cards .card .center {font-size: 20px;}
    .playing-card .center.face-card .center-suit {display: none;}
    
    #poem .content .stanzas {
        width: 95%;
        height: 80%;
    }
    
    #poem p .sep {display: block;}
    
}

/*endfold*/

/* -----------------------------------------
	Crystals
----------------------------------------- */

/*fold*/

#crystals {
    margin: 0 auto 40px;
    min-height: 1000px;
}

#crystals .single h2 .type {
    font-family: var(--condensed);
    color: #bcbcbc;
    font-size: 13px;
}

#crystals .single .short-desc {
    margin: 0 0 -5px 5px;
}

.searchable .specs {
    display: grid;
}

#crystals .specs {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-template-columns: repeat(5, auto);
}

.searchable .spec {
    border: 1px solid #5a5a5a;
}

.searchable .spec .lab {
    line-height: 1;
    font-size: 13px;
    padding: 5px;
    text-transform: uppercase;
    font-family: var(--condensed);
    letter-spacing: 0.5px;
    background: #2c343d;
}

.searchable .spec .val {
    padding: 5px;
    font-size: 13px;
    font-family: courier;
}

p.mohs {
    margin: 0;
}

@media screen and (max-width: 600px) {
    #crystals .specs {grid-template-columns: repeat(6, auto);}
    .specs .fam,
    .specs .hard,
    .specs .chem {grid-column: span 2;}
    .specs .ref,
    .specs .grav {grid-column: span 3;}
}

/*endfold*/

::selection {
    background-color: purple;
    color: white;
}