body {
    background-color: #FDFDFD;
    color: #1a1c1c;
    overflow-x: hidden;
    font-family: 'Work Sans', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.ethereal-gradient-bg {
    background: linear-gradient(135deg, rgba(255, 219, 209, 0.4) 0%, rgba(207, 229, 255, 0.4) 50%, rgba(255, 181, 160, 0.4) 100%);
}

.fluid-focus-gradient {
    background: radial-gradient(circle at 20% 30%, rgba(255, 123, 84, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(84, 160, 255, 0.1) 0%, transparent 50%);
    filter: blur(40px);
}

.fluid-focus-gradient-archive {
    background: radial-gradient(circle at 20% 30%, rgba(255, 123, 84, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(84, 160, 255, 0.05) 0%, transparent 50%);
}

.gradient-mesh {
    background: radial-gradient(at 0% 0%, rgba(255, 123, 84, 0.15) 0px, transparent 50%),
                radial-gradient(at 100% 0%, rgba(65, 97, 129, 0.1) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(255, 123, 84, 0.1) 0px, transparent 50%),
                radial-gradient(at 0% 100%, rgba(0, 106, 104, 0.05) 0px, transparent 50%);
}

.mesh-bg-replacement {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Archive Specific */
.archive-card {
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(166, 58, 25, 0.05);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.card-image {
    transition: transform 0.8s ease;
}

.archive-card:hover .card-image {
    transform: scale(1.05);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FDFDFD;
}
::-webkit-scrollbar-thumb {
    background: #dfc0b7;
    border-radius: 3px;
}

/* Detail Specific */
.writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.drop-cap::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    float: left;
    line-height: 1;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    color: #ff7b54; /* Using the primary color defined in tailwind config */
    font-weight: 900;
    font-style: italic;
}

/* Highlight styling for important text within paragraphs */
.highlight-text {
    position: relative;
    display: inline-block;
    font-weight: 500;
    color: #1a1c1c; /* on-surface */
}
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #ffdbd1; /* primary-container */
    opacity: 0.3;
    z-index: -1;
}
