/**
 * Theme Name: CTRL+S
 * Description: Tema do Observatório da Literatura Digital Brasileira
 * Author: wetah
 * Template: blocksy
 * Text Domain: ctrl-s
 */


/* Color and size variables used across site */
@import "./css/variables.css";

/* Tainacan-related Styles */
@import "./css/tainacan.css";

/* Custom Block Styles */
@import "./css/block-styles.css";

/* Glossary tooltips customization */
@import "./css/glossary.css";

/* Header presa de um z-index maior por causa dos tooltips do Glossary */
#header.ct-header {
    z-index: 999;
}
[data-header*="type-1"] .ct-header [data-sticky*="yes"] [data-row="middle"] {
    background-color: transparent;
}

/* Títulos tem uma linha por baixo */
.page-title {
    position: relative;
    display: inline-block;
}
.page-title::before {
    content: "";
    background-color: var(--palette-color-14, #ffd299);
    width: 108%;
    height: 28%;
    display: inline-block;
    position: absolute;
    bottom: 14%;
    z-index: -1;
    left: -12px;
}
.entry-header {
    align-items: baseline;
}

/* Links possuem uma linha azul por baixo */
[data-link="type-3"] .entry-content p > a,
[data-link="type-3"] .entry-content h1 > a,
[data-link="type-3"] .entry-content h2 > a,
[data-link="type-3"] .entry-content h3 > a,
[data-link="type-3"] .entry-content h4 > a,
[data-link="type-3"] .entry-content h5 > a,
[data-link="type-3"] .entry-content h6 > a,
[data-link="type-3"] .entry-content em > a,
[data-link="type-3"] .entry-content strong > a,
[data-link="type-3"] .entry-content > ul a,
[data-link="type-3"] .entry-content > ol a,
[data-link="type-3"] .wp-block-column > ul a,
[data-link="type-3"] .wp-block-column > ol a,
[data-link="type-3"] [class*="_inner-container"] > ul a,
[data-link="type-3"] [class*="_inner-container"] > ol a,
[data-link="type-3"] .gdpr-confirm-policy a {
    background-image: var(--has-link-decoration, linear-gradient(#9bd1dc, #9bd1dc));
    background-size: var(--has-link-decoration, 101% 30%);
    transition: background ease 0.3s;
}
[data-link="type-3"] .entry-content p > a:hover,
[data-link="type-3"] .entry-content h1 > a:hover,
[data-link="type-3"] .entry-content h2 > a:hover,
[data-link="type-3"] .entry-content h3 > a:hover,
[data-link="type-3"] .entry-content h4 > a:hover,
[data-link="type-3"] .entry-content h5 > a:hover,
[data-link="type-3"] .entry-content h6 > a:hover,
[data-link="type-3"] .entry-content em > a:hover,
[data-link="type-3"] .entry-content strong > a:hover,
[data-link="type-3"] .entry-content > ul a:hover,
[data-link="type-3"] .entry-content > ol a:hover,
[data-link="type-3"] .wp-block-column > ul a:hover,
[data-link="type-3"] .wp-block-column > ol a:hover,
[data-link="type-3"] [class*="_inner-container"] > ul a:hover,
[data-link="type-3"] [class*="_inner-container"] > ol a:hover,
[data-link="type-3"] .gdpr-confirm-policy a:hover {
    background-size: var(--has-link-decoration, 101% 102%);
}

/* Hides swiper lazy loading */
.swiper-lazy-preloader {
    animation: none;
    transform: none;
    display: none;
    visibility: hidden;
}

/* Home has no space above blocks */
.home .entry-content {
    --contentSpacing: 0px;
}
.home .wp-block-getwid-section__foreground {
    clip-path: circle(0% at 70% 50%);
    transition: clip-path 0.1s ease;
}

.home .ct-sticky-container div[data-transparent-row="yes"] {
    opacity: 0;
    visibility: hidden;
}