:root {
    --primary: #0A2540;
    --secondary: #C8102E;
    --accent: #00D1FF;
    --background-main: #F8FAFC;
    --background-secondary: #FFFFFF;
    --text-primary-light: #0F172A;
    --text-secondary-light: #475569;
    --border-color: #E2E8F0;
    --status-live: #EF4444;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Source Serif Pro', serif;
    background-color: var(--background-main);
    color: var(--text-primary-light);
    line-height: 1.6;
    margin: 0;
    scroll-behavior: smooth;
}

.text-muted {
    color: #64748b !important;
}

.font-utility {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.live-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--status-live);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

/* ===== header ===== */
.melv-header {
    font-family: 'Inter', sans-serif;
}

.melv-header .js-nav-menu.active {
    display: block;
}

.melv-header .nav-link-active {
    color: #C8102E;
}

@media (max-width: 767px) {
    .melv-header .js-nav-menu {
        z-index: 9999;
    }
}

/* ===== hero ===== */
.hero-block .js-hero-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    font-family: 'Inter', sans-serif;
}

.hero-block .js-hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-block h1,
.hero-block h2 {
    font-family: 'Inter', sans-serif;
}

.hero-block p {
    font-family: 'Source Serif Pro', serif;
}

.hero-block .js-category-badge {
    transition: all 0.3s ease;
}

.hero-block .js-hero-card:hover .js-category-badge {
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.6);
    background-color: #F8FAFC;
}

.hero-block .video-container {
    pointer-events: none;
}

/* ===== latest_news ===== */
.latest-news-block .js-news-card {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-news-block .js-news-card:hover {
    transform: translateY(-4px);
}

.latest-news-block .js-filter-btn.active {
    background-color: #0A2540;
    color: #FFFFFF;
    border-color: #0A2540;
}

.latest-news-block .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-block .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .latest-news-block h2 {
        font-size: 16px;
    }

    .latest-news-block h3 {
        font-size: 14px;
    }

    .latest-news-block .js-news-card h3 {
        font-size: 16px;
    }
}

/* ===== featured_space ===== */
.featured-space-block .featured-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-space-block .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-space-block h2,
.featured-space-block h3 {
    font-family: 'Inter', sans-serif;
}

.featured-space-block p {
    font-family: 'Source Serif Pro', serif;
}

/* ===== featured_nature ===== */
.featured-nature-block .nature-card {
    transition: transform 0.3s ease;
}

.featured-nature-block .nature-card:hover {
    transform: translateY(-4px);
}

.featured-nature-block .nature-card img {
    filter: brightness(0.95);
}

.featured-nature-block .nature-card:hover img {
    filter: brightness(1.05);
}

/* ===== about_brief ===== */
.about-brief-section {
    position: relative;
    overflow: hidden;
}

.about-brief-section .about-brief-btn {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.about-brief-section .about-brief-image img {
    display: block;
}

@media (max-width: 767px) {
    .about-brief-section .about-brief-content {
        text-align: center;
    }

    .about-brief-section .about-brief-actions {
        justify-content: center;
    }

    .about-brief-section .feature-item {
        text-align: left;
    }
}

/* ===== footer ===== */
.melv-footer .container {
    max-width: 1280px;
}

.melv-footer a {
    text-decoration: none;
}

.melv-footer h3 {
    font-family: 'Inter', sans-serif;
}

.melv-footer p {
    font-family: 'Source Serif Pro', serif;
}

.melv-footer .footer-nav a,
.melv-footer .footer-info a,
.melv-footer .legal-links a {
    position: relative;
}

.melv-footer .footer-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #00D1FF;
    transition: width 0.3s ease;
}

.melv-footer .footer-nav a:hover::after {
    width: 100%;
}

.melv-header {
    font-family: 'Inter', sans-serif;
}

.melv-header .js-nav-menu.active {
    display: block;
}

.melv-header .nav-link-active {
    color: #C8102E;
}

@media (max-width: 767px) {
    .melv-header .js-nav-menu {
        z-index: 9999;
    }
}

.category-header-block h1 {
    font-family: 'Inter', sans-serif;
}

.category-header-block p {
    font-family: 'Source Serif Pro', serif;
}

.article-grid-block h2,
.article-grid-block h3,
.article-grid-block h4 {
    font-family: 'Inter', sans-serif;
}

.article-grid-block p {
    font-family: 'Source Serif Pro', serif;
}

.article-grid-block .js-article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-grid-block .js-article-card:hover {
    transform: translateY(-4px);
}

.melv-footer {
    font-family: 'Inter', sans-serif;
}

.melv-footer p {
    font-family: 'Source Serif Pro', serif;
}

.melv-footer .footer-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #00D1FF;
    transition: width 0.3s ease;
}

.melv-footer .footer-nav a:hover::after {
    width: 100%;
}


/* ===== PAGE: privacy ===== */
.policy-content-block { padding: 40px 20px; background-color: #F8FAFC; color: #0F172A; } #policy-inner-wrapper { max-width: 900px; margin: 0 auto; background: #FFFFFF; padding: 32px; border-radius: 4px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); border: 1px solid #E2E8F0; } .policy-article { font-family: 'Source Serif Pro', serif; line-height: 1.8; color: #475569; } .policy-header-meta { margin-bottom: 24px; border-bottom: 2px solid #0A2540; padding-bottom: 12px; } .update-date { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; text-transform: uppercase; color: #94A3B8; letter-spacing: 0.05em; } .policy-section-title { font-family: 'Inter', sans-serif; font-weight: 800; color: #0A2540; margin-top: 40px; margin-bottom: 20px; line-height: 1.2; text-transform: none; font-size: 16px; } @media (min-width: 768px) { .policy-section-title { font-size: 26px; } } .policy-text { margin-bottom: 20px; font-size: 16px; } .policy-list { margin-bottom: 24px; padding-left: 20px; list-style-type: none; } .policy-list-item { position: relative; margin-bottom: 12px; padding-left: 25px; font-size: 15px; } .policy-list-item::before { content: '\f111'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; top: 6px; font-size: 8px; color: #C8102E; } .contact-box { background-color: #F1F5F9; padding: 24px; border-left: 4px solid #C8102E; margin-top: 32px; border-radius: 0 4px 4px 0; } .contact-box p { margin-bottom: 8px; font-family: 'Inter', sans-serif; font-size: 14px; color: #0A2540; } .contact-box p:last-child { margin-bottom: 0; } .policy-article strong { color: #0A2540; font-weight: 600; } @media (max-width: 767px) { #policy-inner-wrapper { padding: 20px; } .policy-text { font-size: 14px; } .policy-list-item { font-size: 13px; } }

/* ===== PAGE: terms ===== */
.policy-content-block { background-color: #F8FAFC; padding: 32px 16px; min-height: 80vh; display: flex; align-items: flex-start; justify-content: center; } .policy-content-block #policy-inner-wrapper { width: 100%; max-width: 960px; background-color: #FFFFFF; padding: 24px; border: 1px solid #E2E8F0; border-radius: 4px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); } @media (min-width: 768px) { .policy-content-block { padding: 80px 32px; } .policy-content-block #policy-inner-wrapper { padding: 64px; } } .terms-content-wrapper { font-family: 'Source Serif Pro', serif; line-height: 1.6; } .terms-header h1 { font-family: 'Inter', sans-serif; letter-spacing: -0.025em; } .terms-body h2 { font-family: 'Inter', sans-serif; line-height: 1.2; } .terms-body p { margin-bottom: 1.25rem; color: #475569; } .terms-list i { font-size: 1rem; } .terms-alert { background-color: #F1F5F9; border-right: 4px solid #0A2540; }

/* ===== PAGE: disclaimer ===== */
.policy-content-block {
  font-family: 'Source Serif Pro', serif;
  line-height: 1.6;
  color: #0F172A;
  background-color: #F8FAFC;
}

.policy-content-block h1, 
.policy-content-block h2, 
.policy-content-block h3 {
  font-family: 'Inter', sans-serif;
  color: #0A2540;
  line-height: 1.25;
}

.policy-content-block .prose-section {
  margin-bottom: 2.5rem;
}

.policy-content-block p {
  margin-bottom: 1.25rem;
  text-align: justify;
  hyphens: auto;
}

.policy-content-block ul {
  margin-bottom: 1.5rem;
}

.policy-content-block ul li {
  position: relative;
  margin-bottom: 0.5rem;
}

#policy-inner-wrapper {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

@media (max-width: 767px) {
  .policy-content-block h1 {
    font-size: 18px !important;
  }
  .policy-content-block h2 {
    font-size: 16px !important;
  }
  .policy-content-block h3 {
    font-size: 14px !important;
  }
  .policy-content-block p {
    font-size: 14px;
    text-align: left;
  }
  #policy-inner-wrapper {
    padding: 1.5rem 1rem;
  }
}

/* ===== PAGE: cookies ===== */
.policy-content-block { padding: 64px 24px; background-color: #F8FAFC; font-family: 'Source Serif Pro', serif; } #policy-inner-wrapper { max-width: 900px; margin: 0 auto; } .policy-content-block h2, .policy-content-block h3 { font-family: 'Inter', sans-serif; letter-spacing: -0.025em; } .policy-content-block p { line-height: 1.8; color: #475569; } .policy-content-block .content-section { background: transparent; } .policy-content-block .list-disc li::marker { color: #C8102E; }

/* ===== PAGE: about ===== */
.melv-mission { position: relative; overflow: hidden; }
.melv-mission img { border-bottom: 4px solid #C8102E; }
.melv-team-card { height: 100%; display: flex; flex-direction: column; }
.melv-team-card h3 { color: #0A2540; }
.melv-team-card p { font-family: 'Source Serif Pro', serif; }
.melv-team-card .uppercase { font-family: 'Inter', sans-serif; }

/* ===== PAGE: contact ===== */
.contact-info-section .contact-card { height: 100%; display: flex; flex-direction: column; }.contact-info-section .contact-card__icon-wrapper { border-radius: 4px; }.work-hours-section .work-hours-container { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }.work-hours-section .work-hours-list span { font-family: 'Inter', sans-serif; }.contact-info-section__title, .contact-card__title, .work-hours-section__title { font-family: 'Inter', sans-serif; }.contact-info-section__subtitle, .contact-card__text, .work-hours-section__text { font-family: 'Source Serif Pro', serif; }

.main-comment .avatar {
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.15);
    flex-shrink: 0;
    object-fit: cover;
    width: 48px;
    height: 48px;
}

.main-comment p {
    letter-spacing: 0.01em;
    color: #475569;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-serif {
    font-family: 'Source Serif Pro', serif;
}

.reply-comment .avatar {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    object-fit: cover;
    width: 40px;
    height: 40px;
}

.reply-comment {
    border-radius: 0 4px 4px 0;
    background-color: #F8FAFC;
}


/* ===== PAGE TEMPLATE: space-articles ===== */
.melv-header {
    font-family: 'Inter', sans-serif;
}

.melv-header .js-nav-menu.active {
    display: block;
}

.article-body-text {
    font-family: 'Source Serif Pro', serif;
    line-height: 1.8;
    color: #475569;
}

.article-body-text h1,
.article-body-text h2,
.article-body-text h3 {
    font-family: 'Inter', sans-serif;
    color: #0A2540;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body-text h2 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .article-body-text h2 {
        font-size: 2rem;
    }
}

.article-body-text p {
    margin-bottom: 1.5rem;
}

.article-body-text ul,
.article-body-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body-text li {
    margin-bottom: 0.5rem;
}

.detail-hero h1 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.js-comments-list .avatar {
    flex-shrink: 0;
}

#comment-text::placeholder,
#comment-name::placeholder,
#comment-email::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.melv-footer .container {
    max-width: 1280px;
}

.melv-footer a {
    text-decoration: none;
}

.melv-footer h3 {
    font-family: 'Inter', sans-serif;
}

.melv-footer p {
    font-family: 'Source Serif Pro', serif;
}

.melv-footer .footer-nav a:hover::after {
    width: 100%;
}

/* ===== PAGE TEMPLATE: nature-articles ===== */
.melv-header {
    font-family: 'Inter', sans-serif;
}

.melv-header .js-nav-menu.active {
    display: block;
}

.article-body-text {
    font-family: 'Source Serif Pro', serif;
    line-height: 1.8;
    color: #475569;
}

.article-body-text h1,
.article-body-text h2,
.article-body-text h3 {
    font-family: 'Inter', sans-serif;
    color: #0A2540;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body-text h2 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .article-body-text h2 {
        font-size: 2rem;
    }
}

.article-body-text p {
    margin-bottom: 1.5rem;
}

.article-body-text ul,
.article-body-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body-text li {
    margin-bottom: 0.5rem;
}

.detail-hero h1 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.js-comments-list .avatar {
    flex-shrink: 0;
}

#comment-text::placeholder,
#comment-name::placeholder,
#comment-email::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.melv-footer .container {
    max-width: 1280px;
}

.melv-footer a {
    text-decoration: none;
}

.melv-footer h3 {
    font-family: 'Inter', sans-serif;
}

.melv-footer p {
    font-family: 'Source Serif Pro', serif;
}

.melv-footer .footer-nav a:hover::after {
    width: 100%;
}

/* ===== PAGE TEMPLATE: science-articles ===== */
.melv-header {
    font-family: 'Inter', sans-serif;
}

.melv-header .js-nav-menu.active {
    display: block;
}

.article-body-text {
    font-family: 'Source Serif Pro', serif;
    line-height: 1.8;
    color: #475569;
}

.article-body-text h1,
.article-body-text h2,
.article-body-text h3 {
    font-family: 'Inter', sans-serif;
    color: #0A2540;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body-text h2 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .article-body-text h2 {
        font-size: 2rem;
    }
}

.article-body-text p {
    margin-bottom: 1.5rem;
}

.article-body-text ul,
.article-body-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body-text li {
    margin-bottom: 0.5rem;
}

.detail-hero h1 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.js-comments-list .avatar {
    flex-shrink: 0;
}

#comment-text::placeholder,
#comment-name::placeholder,
#comment-email::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.melv-footer .container {
    max-width: 1280px;
}

.melv-footer a {
    text-decoration: none;
}

.melv-footer h3 {
    font-family: 'Inter', sans-serif;
}

.melv-footer p {
    font-family: 'Source Serif Pro', serif;
}

.melv-footer .footer-nav a:hover::after {
    width: 100%;
}

/* ===== PAGE TEMPLATE: expeditions-articles ===== */
.melv-header {
    font-family: 'Inter', sans-serif;
}

.melv-header .js-nav-menu.active {
    display: block;
}

.article-body-text {
    font-family: 'Source Serif Pro', serif;
    line-height: 1.8;
    color: #475569;
}

.article-body-text h1,
.article-body-text h2,
.article-body-text h3 {
    font-family: 'Inter', sans-serif;
    color: #0A2540;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body-text h2 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .article-body-text h2 {
        font-size: 2rem;
    }
}

.article-body-text p {
    margin-bottom: 1.5rem;
}

.article-body-text ul,
.article-body-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body-text li {
    margin-bottom: 0.5rem;
}

.detail-hero h1 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.js-comments-list .avatar {
    flex-shrink: 0;
}

#comment-text::placeholder,
#comment-name::placeholder,
#comment-email::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.melv-footer .container {
    max-width: 1280px;
}

.melv-footer a {
    text-decoration: none;
}

.melv-footer h3 {
    font-family: 'Inter', sans-serif;
}

.melv-footer p {
    font-family: 'Source Serif Pro', serif;
}

.melv-footer .footer-nav a:hover::after {
    width: 100%;
}