@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap");

:root
{
  --md-text-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --md-code-font: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --primary-color: #1a56db;       
  --text-heading: #1e293b;       
  --bg-code: #f8fafc;            
  --border-light: #e2e8f0;      
  --radius-md: 12px;
  
  --code-inline-bg: #f3f4f6;      
  --code-inline-text: #db2777;    
  --code-block-bg: #f6f8fa;       
  --code-block-text: #24292f;     
  --code-border: #d0d7de;         
}

p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}

.md-typeset .admonition {
  font-size: 15px;
}

.md-grid {
  max-width: 1280px;
}

.md-typeset {
  line-height: 1.6;
  font-size: 16px;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: black;
  font-weight: bold;
}

.md-typeset h1 {
  margin-bottom: -0.5em;
}

.md-typeset a {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.md-typeset a:hover {
  border-color: var(--primary-color); 
}

.md-typeset .admonition {
  font-size: 15px;
  border-radius: 6px;
  border-left-width: 4px;
}

.md-typeset mark {
  color: #15803d;
  background-color: #f0fdf4; 
  padding: 0.12rem 0.25rem;
  border-radius: 4px;
}

.md-typeset ins {
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  color: #b91c1c;
  background-color: #fef2f2;
  padding: 0.12rem 0.25rem;
  border-radius: 4px;
}

.md-typeset ins.critic {
  color: #6b21a8;             
  background-color: #faf5ff; 
}

.md-footer__title {
  font-size: 14px;
  font-weight: 500;
}

.md-typeset hr {
  border: 0; 
  height: 1px; 
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), #0033a0, rgba(0, 0, 0, 0));
  margin: 0em 0; 
}

.md-typeset ul,
.md-typeset ol {
  line-height: 1.6;
}

.hero {
    display: block;
    width: auto;      
    height: auto;    
    max-width: 100%;  
    border-radius: 15px;
    box-shadow:  0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
}

.banner {
    display: block;
    margin: 0 auto;
    max-width: 100%;  
    border-radius: 15px;
    box-shadow:  0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.md-typeset table:not([class]) {
    width: 100%;
    display: table;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.95em;
    border: 1px solid #eee; 
}

.md-typeset table:not([class]) th {
    padding: 15px;
    background-color: #fff;
    color: #0033a0; 
    font-weight: bold;
    border-bottom: 2px solid #eee;
}

.md-typeset table:not([class]) td {
    padding: 12px 15px;
    color: #555;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease-in-out; 
}

.md-typeset table:not([class]) tr:nth-child(even) td {
    background-color: #f8f9fa; 
}

.md-typeset table:not([class]) tr:hover td {
    background-color: #e9ecef;
}

.figure-environment {
    margin: 1rem auto;
    max-width: 100%;
}
    
.subfigure-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 20px; 
}
    
.subfigure {
    flex: 1 1 45%; 
    margin: 0; 
    text-align: center;
}
    
.subfigure img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
}
    
.sub-caption {
    margin-top: 10px;
    font-size: 0.9em;
    font-style: italic;
    color: #555;
}
    
.main-caption {
    text-align: center;
    font-weight: italic;
    margin-top: -15px; 
    color: #222;
    padding-top: 0;
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 900;
    background: linear-gradient(90deg, #007cf0, #00dfd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-slogan {
    font-size: 1.15rem;
    color: var(--md-default-fg-color--light);
    max-width: 750px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.button-group {
    display: flex;
    justify-content: flex-start; 
    max-width: 750px;
    margin: 0 0 3rem 0; 
}

.hero-title a {
    color: inherit;
    text-decoration: none;
}

.stats-num {
    font-size: 2.2rem; 
    font-weight: 900;
    display: block;
    text-align: center;
}

.stats-text {
    text-align: center;
    color: var(--md-default-fg-color--light);
    margin: 0;
}