/* Base styles - matching cue3d */
body {
  font-family: 'Noto Sans', sans-serif;
}

a {
    color: hsl(204, 86%, 53%);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    position: relative;
    color: black;
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
}

video {
    width: 100%;
    height: auto;
}

/* Publication styles - matching cue3d */
.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors a {
    color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
    display: inline-block;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer .icon-link {
    font-size: 25px;
    color: #000;
}

/* Utility classes used by JS templates */
.x-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.x-column {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
}

.x-center-text {
    margin: 16px 32px;
    text-align: center;
}

.x-left-align {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: nowrap;
}

.x-right-align {
    display: flex;
    align-items: center;
    justify-content: right;
    flex-wrap: nowrap;
}

.x-flex-spacer {
    flex: 1;
}

/* Labels */
.x-labels {
    position: absolute;
    top: 8px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: row-reverse;
}

.x-label {
    height: 24px;
    padding: 0px 8px;
    margin: 0px 2px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    background: #363636;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.x-button {
    height: 40px;
    padding: 0px 14px;
    background: #363636;
    color: white;
    border-radius: 50px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.x-button.small {
    height: 32px;
    padding: 0px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.x-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

/* Text styles - clean academic, no gradients */
.x-gradient-font {
    color: #363636;
}

.x-gradient-block {
    color: #3f3f3f;
    background: #f5f5f5;
    border-radius: 10px;
}

/* Section titles */
.x-section-title {
    margin: 24px 0px 12px 0px;
    padding-left: 4px;
    color: #363636;
    font-family: 'Google Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: left;
}

.x-section-title.small {
    margin: 8px 0px 4px 0px;
    padding-left: 4px;
    font-size: 16px;
    font-weight: 700;
}

.x-note {
    color: rgb(96, 96, 96);
    font-size: 14px;
    font-weight: 400;
}

/* Cards */
.x-card {
    position: relative;
    margin: 8px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.x-card.clickable {
    cursor: pointer;
}

.x-card.clickable:hover {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.x-card .caption {
    margin: 20px 0px 8px 0px;
    height: 40px;
    display: flex;
    align-items: start;
    justify-content: center;
}

/* Handwriting/prompt text - using Castoro for a distinctive feel */
.x-handwriting {
    width: 100%;
    font-family: 'Castoro', serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
    text-align: center;
}

/* Image prompt */
.x-image-prompt {
    height: calc(100% - 2px);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.x-image-prompt img {
    max-width: 100%;
    max-height: 100%;
}

/* BibTeX */
.bibtex {
    margin: 32px 96px;
    padding: 0px 24px;
    font-family: consolas, monospace;
    white-space: pre;
    text-wrap: wrap;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}
