/* DESP Fonts */
@font-face {
    font-family: 'Roboto-Regular';
    src: local("Roboto-Regular"), url(./fonts/Roboto/Roboto-Regular.ttf) format("truetype");
}

@font-face {
    font-family: 'Roboto-Bold';
    src: local("Roboto-Bold"), url(./fonts/Roboto/Roboto-Bold.ttf) format("truetype");
}

.wy-body-for-nav {
    color: white;
    font-family: 'Roboto-Regular', Fallback, sans-serif !important;
    font-display: swap;
}

.wy-body-for-nav h1,
.wy-body-for-nav h2,
.wy-body-for-nav h3,
.wy-body-for-nav h4,
.wy-body-for-nav h5,
.wy-body-for-nav h6 {
    font-family: 'Roboto-Bold', Fallback, sans-serif !important;
}

.wy-body-for-nav {
    background: #0D1527;
}

.wy-nav-side {
    background: #0D1527;
}

.wy-side-nav-search {
    background: #0D1527;
}

.wy-nav-content {
    background: #0D1527;
    max-width: 1920px;
}

div[role="navigation"]:not(.wy-menu) {
    display: none;
}

.reference.external {
    color: #2980b9;
}

table thead {
    color: white !important;
    background-color: #00365d;
}

.rst-content table.docutils:not(.field-list) tr td,
.wy-table-backed,
.wy-table-odd td,
.wy-table-striped tr td {
    background-color: #0D1527;
}

.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td,
.wy-table-backed,
.wy-table-odd td,
.wy-table-striped tr:nth-child(2n-1) td {
    background-color: #0D1527;
}

.toctree-expand {
    color: #999 !important;
}

.admonition {
    background-color: #141f2c !important;
}

.admonition-title {
    background-color: #7b34db !important;
}

/* Data Access Management indicator */
.data-access-indicator {
    display: inline-block;
    background-color: #ec4899;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0 10px 0;
}

/* Tags styling */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.tag-blue {
    background-color: #1a73e8;
    color: white;
}

.tag-dark {
    background-color: #2d3748;
    color: white;
}

/* Intro paragraph - bigger and bold */
.intro-paragraph {
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.6;
    margin: 20px 0 30px 0;
    color: white;
}

/* Operated by / Funded by sections */
.operated-by,
.funded-by {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

.operated-by strong,
.funded-by strong {
    color: white;
}

/* Media carousel */
.media-carousel {
    margin: 30px 0;
    position: relative;
    width: 100%;
}

.media-carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.media-carousel-container::-webkit-scrollbar {
    display: none;
}

.media-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1f2e;
}

.media-item video,
.media-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4a5568;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: white;
}

/* Collapsible sections */
.portfolio-section {
    background-color: #1a1f2e;
    border-radius: 8px;
    margin: 10px 0;
    padding: 0;
}

.portfolio-section summary {
    padding: 15px 20px;
    cursor: pointer;
    list-style: none;
    color: white;
}

.portfolio-section summary::-webkit-details-marker {
    display: none;
}

.portfolio-section summary strong {
    font-size: 1em;
}

.portfolio-content {
    padding: 15px 20px;
    border-top: 1px solid #2d3748;
}

/* Access notice - pink text, no background */
.access-notice {
    color: #ec4899;
    margin: 30px 0;
    font-size: 0.95em;
    line-height: 1.6;
}

.access-notice a {
    color: #ec4899;
    text-decoration: underline;
}

.access-notice a:hover {
    color: #f472b6;
}

/* Horizontal rule styling */
hr {
    border: none;
    border-top: 1px solid #2d3748;
    margin: 30px 0;
}
