/* BODY */


body {
    margin: 0;
    font-size: 16px;
    background-color: var(--c3-100);
    word-break: break-word;
    -moz-hyphens: auto;
    hyphens: auto;
}

body * {
    box-sizing: border-box;
    max-width: 100%;
}

article {
    color: var(--text-color);
}

a {
    color: var(--c2-100);
}

img {
    vertical-align: middle;
}

.post-title:has(a),
.page-title:has(a) {
    cursor: text;
}

.post-title a,
.page-title a {
    text-decoration: unset;
    pointer-events: none;
}

.wp-block-button {
    margin: 0;
}


.wp-block-button a {
    background-color: var(--c1-100);
    border-radius: unset;
    box-shadow: unset;
    color: #fff;
    transition: var(--transition-fast);
    display: inline-block;
    text-decoration: unset !important;
    padding: .4em 1em;
    font-size: inherit;
}

.wp-block-button a:hover {
    background-color: var(--c1-120);
}


/* ANIMATIONS */

.fadeup-ready {
    opacity: 0;
    transform: translateY(30px);
}

.fadeup {
    animation-name: fadeup;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeup {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* LAYOUT CLASSES */

.box {
    padding: 30px;
}

.small-box {
    padding: 20px;
}

.grey {
    background-color: var(--grey-bg);
}

.dark-grey {
    background-color: var(--dark-grey-bg);
}

.color {
    background-color: var(--c1-100);
}

.negative * {
    color: var(--text-color-light) !important;
}

.negative p a {
    text-decoration: underline;
}

.negative .wp-block-button a {
    background-color: hsla(0, 0%, 100%, 0.2);
}

.negative .wp-block-button a:hover {
    background-color: hsla(0, 0%, 100%, 0.3);
}

.shadow {
    box-shadow: var(--shadow-small);
}

.round {
    border-radius: var(--corner-medium);
}


/* ELEMENTS */

/* Overlay & Link Groups */

.link-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
}

.link-overlay:hover {
    background-color: hsla(0, 0%, 100%, 0.1);
}

.link-group {
    position: relative;
}

/* Breadcrumb */

.breadcrumb {
    margin: 15px auto;
}

.breadcrumb .sep::before {
    font-family: 'dashicons';
    content: '\f345';
    vertical-align: middle;
    margin: 0 0.1em;
    color: var(--text-color-soft);
}

/* Cookie Box */

#cdf-cookie-box {
    position: fixed;
    display: flex;
    gap: 10px;
    bottom: 0px;
    right: 0px;
    background: var(--c0-007);
    color: white;
    padding: 10px 15px;
    border-radius: var(--corner-small);
    z-index: 200;
    flex-wrap: wrap;
    align-items: center;
}

#cdf-cookie-box * {
    margin: 0;
}

#cdf-cookie-box .button {
    padding: .2em .4em;
}

/* Thumbnail Caption */

.caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--c0-002);
    color: #fff;
    padding: 1px 7px;
    font-size: smaller;
}

/* BLOG */

.blog-item {
  margin: 0 0 30px;
}

.blog-item .post-title a,
.blog-item .page-title a {
    text-decoration: revert;
    pointer-events: revert;
}

.blog-item .post-title,
.blog-item .page-title,
.blog-item p {
    margin: 0 0 .3em;
}

.blog-item .more-button {
    padding: .3em 0;
}

.blog-item .more-link {
    font-weight: var(--font-heading-weight);
}

/* Three Column Blog */

.three-column-blog .blog {
    display: flex;
    gap: 20px;
}

.boxed-posts-blog .blog-item {
    background-color: var(--c3-100);
    padding: 20px;
}

/* POST */

.cpt-name {
  color: var(--text-color-soft);
}

.related-posts-title {
    margin: 0 0 15px;
}

.goback.wp-block-button {
    margin: 0 0 15px;
}

/* DEIGN STYLES */

/* Material */

body.style-material .wp-block-button a, 
body.style-material.style-boxed-posts .related-posts,
body.style-material.style-boxed-posts .template-sidebar-left .main,
body.style-material.style-boxed-posts .template-sidebar-right .main,
body.style-material .boxed-posts-blog .blog-item {
    box-shadow: var(--shadow-small);
}

body.style-material .site-header.boxed > .site-width,
body.style-material .main-menu-bar .site-width {
    box-shadow: var(--shadow-medium);
}

/* Round */

body.style-round .wp-block-button a,
body.style-round .main-menu .menu-item a,
body.style-round.style-boxed-posts .related-posts,
body.style-round.style-boxed-posts .template-sidebar-left .main,
body.style-round.style-boxed-posts .template-sidebar-right .main,
body.style-round .boxed-posts-blog .blog-item,
body.style-round .main-menu .menu-item:hover,
body.style-round .main-menu > .menu-item:hover .sub-menu {
    border-radius: var(--corner-medium);
}


/* style-boxed-posts Style */

body.style-boxed-posts .template-sidebar-left,
body.style-boxed-posts .template-sidebar-right {
    background-color: var(--c3-120);
}

body.style-boxed-posts .template-sidebar-left .main,
body.style-boxed-posts .template-sidebar-right .main {
    background-color: var(--c3-100);
    padding: 30px 30px 45px;
}

body.style-boxed-posts .related-posts {
    background-color: var(--c3-100);
    padding: 20px;
}