/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

#toolset {
    display: block;
}

a:active {
    opacity: 0.7;
}

.page a.active {
    color: rgba(0, 0, 0, 0.75);
}

i, em {
    font-style: italic;
}

b, strong {
    font-weight: bolder;
}

sub, sup {
    position: relative;
    vertical-align: baseline;
}

sub {
    top: 0.3em;
}

sup {
    top: -0.4em;
}

s {
    text-decoration: line-through;
}

img {
    border: 0;
    padding: 0;
}

ul, ol {
    margin: 0;
    padding: 0 0 0 2.5em;
}

blockquote {
    margin: 0;
    padding: 0 0 0 1em;
}

hr {
    background: rgba(0, 0, 0, 0.6);
    border: 0;
    height: 2px;
    display: block;
    margin-top: 1.0rem;
    margin-bottom: 1.0rem;
}

/* Content Styles */
.content img {
    float: none;
    margin-bottom: 0;
    vertical-align: bottom;
}

[image-gallery="slideshow"] {
    margin-bottom: 2rem;
}

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
    font-family: Diatype, Icons;
    font-style: normal;
    line-height: 1.2;
}

/* Loading Animation */
.loading[data-loading] {
    position: fixed;
    bottom: 8px;
    left: 8px;
}

/* Editor Styles */
[data-predefined-style="true"] bodycopy {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.75);
    font-family: "proxima-nova", sans-serif;
    font-style: normal;
    line-height: 1.2;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] bodycopy a {
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {
    color: rgba(241, 0, 80, 1);
    font-family: "Whitman";
    font-size: 1.25rem;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
    border-bottom: 0;
    padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
    font-family: "itc-giovanni", serif;
    font-style: normal;
    font-weight: 200;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.70);
}

[data-predefined-style="true"] h1 a {
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
}

[data-predefined-style="true"] h1 a:hover {
    color: rgba(241, 0, 80, 1);
    font-family: "lato", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 1.1rem;
}

h1 a.image-link,
h1 a.icon-link,
h1 a.image-link:hover,
h1 a.icon-link:hover {
    border-bottom: 0;
    padding-bottom: 0;
}

[data-predefined-style="true"] h2 {
    font-family: "lato", sans-serif;
    font-style: normal;
    font-weight: 300;
    padding: 0;
    margin: 0;
    color: rgba(0, 0, 0, 0.75);
    font-size: 1.2rem;
    line-height: 1.2;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] h2 a {
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
}

[data-predefined-style="true"] h2 a:hover {
    color: rgba(241, 0, 80, 1);
    font-family: "Whitman";
    font-size: 1.25rem;
}

h2 a.image-link,
h2 a.icon-link,
h2 a.image-link:hover,
h2 a.icon-link:hover {
    border-bottom: 0;
    padding-bottom: 0;
}

[data-predefined-style="true"] small {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    font-variation-settings: 'slnt' 0, 'MONO' 0.15;
}

[data-predefined-style="true"] small a {
    color: rgba(0, 0, 0, 0.6);
    border-bottom-width: 0em;
}
[data-predefined-style="true"] small a:hover {
    color: rgba(241, 0, 80, 1);
    font-family: "Whitman";
    font-size: 1.25rem;
}
/* Breakpoints */
[data-css-preset] .page {
    background-color: initial;
}

.mobile .page,
[data-css-preset].mobile .page {
    position: relative;
    max-width: 100%;
    width: 100%;
    background-color: transparent;
}

[data-css-preset] .container {
    margin-left: auto /*!content_center*/;
    margin-right: auto /*!content_center*/;
    text-align: left /*!text_left*/;
}

[data-css-preset] body {
    background-color: rgb(249, 249, 249)/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
    width: 47%/*!content_center*/;
}

[data-css-preset] .content_padding {
    padding-top: 10rem /*!main_margin*/;
    padding-bottom: 10rem /*!main_margin*/;
    padding-left: 10rem /*!main_margin*/;
    padding-right: 10rem /*!main_margin*/;
}

/* Thumbnails */
div[thumbnails] {
    justify-content: flex-start;
}

[data-css-preset] .thumbnails {
    background-color: transparent;
}

[data-css-preset] .thumbnails_width {
    width: 60%;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.75rem;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -1.5rem;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.5rem;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem;
}

.thumbnails .thumb_image {
    outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: 1.0rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    font-family: Diatype, Icons;
    font-style: normal;
    line-height: 1.3;
}

.thumbnails .tags {
    margin-top: .8rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    font-family: "Monument Grotesk Mono", Icons;
    font-style: normal;
    line-height: 1.2;
}

.thumbnails .tags a {
    border-bottom: 0;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.thumbnails .has_title .tags {
    margin-top: -1.8rem;
}

/* Site Menu */
#site_menu {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    background: rgba(20, 20, 20, 0.95);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    padding: 20px 30px 90px 30px;
    max-width: 400px;
    min-width: 300px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

body.mobile #site_menu {
    width: 100%;
}

#site_menu .page-link a {
    color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: bold;
}

#site_menu a:active {
    opacity: .7;
}

.page a.active {
    color: rgba(241, 0, 80, 1);
}

#site_menu .set-link.active > a {
    color: rgba(241, 0, 80, 1);
}

#site_menu a:hover,
#site_menu .page-link.active a,
#site_menu .set-link.active a,
#site_menu .page-link:hover a,
#site_menu .set-link:hover > a {
    color: rgba(241, 0, 80, 1);
    text-decoration: none;
}

/* Grid layout and general styles */
[grid-row] {
    display: flex;
    justify-content: space-between;
}

[grid-col] {
    flex: 1;
    text-align: center;
    position: relative;  /* Essential for absolute positioning of submenu */
}

h1 {
    margin: 10px 0;
}

/* Submenu default styles (hidden) */
.submenu {
    list-style: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.58); /* Slightly transparent white */
    left: 50%; /* Start from the center of the parent */
    transform: translateX(-50%); /* Center submenu relative to its own width */
    top: 80%; /* Positioned right below the trigger element */
    display: none; /* Hidden by default */
    box-shadow: 0 4px 4px rgba(210, 64, 151, 0.1); /* Subtle shadow for depth */
    padding: 5px 10px; /* Padding to give some space inside the submenu */
    margin: 0px; /* Remove margin */
    border-radius: 4px; /* Rounded corners */
    white-space: nowrap; /* Ensures all menu items stay in a single line */
}




.submenu li a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 10px;  /* Adequate padding for touch targets */
}

/* Displaying the submenu when hovering over the parent column */
.hover-trigger:hover .submenu {
    display: block;
}

/* Optional: Adding a hover effect on submenu items */
.submenu li a:hover {
    background-color: #f0f0f0;  /* Light grey background on hover */
}

@keyframes blink {
    0%, 100% { opacity: 1; } /* Fully visible at the start and end of the animation */
    50% { opacity: 0; } /* Completely invisible in the middle */
}

.blink {
    animation: blink 2s linear infinite; /* Adjust timing as needed */
}
