/* Custom CSS overrides for Cayman theme */

/* Import Linux Libertine font */
@import url('https://fonts.googleapis.com/css2?family=Linux+Libertine:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
  /* font-family: "Linux Libertine", "Liberation Serif", serif; */
  color: #5d5f6e;
}

/* Use Linux Libertine for body text */
p, li, div, span {
  /* font-family: "Linux Libertine", "Liberation Serif", serif; */
  color: #5d5f6e;
}

/* Smaller font size for tables */
table, td, th {
  /* font-family: "Linux Libertine", "Liberation Serif", serif; */
  color: #5d5f6e;
  font-size: 0.9em;
}

/* Use Open Sans for all headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
}

/* Color for headings in main-content */
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
  color: #4f6081;
}

.page-header {
    background-image: linear-gradient(120deg, #1E3D58, #1E3D58)
}

/* Text box style */
.text-box {
    border: 1px solid #d3dce7;
    border-radius: 6px;
    background: #f7f9fc;
    padding: 16px 20px;
    margin: 1.5em 0;
    color: #393a3f;
}

.text-box strong {
    color: #4f6081;
}

/* Link box/card style */
.link-box {
    border: 1px solid #d3dce7;
    border-radius: 6px;
    background: #f7f9fc;
    padding: 20px 24px;
    margin: 1em 0;
    color: #4f6081;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.link-box:hover {
    background: #eef2f9;
    border-color: #1E3D58;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(79, 96, 129, 0.15);
    text-decoration: none;
}

.link-box h3 {
    margin: 0 0 8px 0;
    color: #1E3D58;
    font-family: "Open Sans", sans-serif;
}

.link-box p {
    margin: 0;
    color: #393a3f;
}

.link-box.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.link-box.coming-soon:hover {
    transform: none;
    box-shadow: none;
}


.site-footer-credits {
    display: none;
}

.site-footer-owner {
    display: none;
}

.site-footer {
    text-align: center;
    color: #8a8d95;
    margin-top: 3em;
    padding: 1em 0;
}

/* TL;DR style */
.tldr {
    border-left: 4px solid #1E3D58;
    background: #f0f4f8;
    padding: 16px 20px;
    margin: 1.5em 0;
    border-radius: 4px;
    color: #393a3f;
}

.tldr::before {
    content: "TL;DR: ";
    font-weight: 700;
    color: #1E3D58;
    font-family: "Open Sans", sans-serif;
}

/* Disclaimer/note style with bars */
.disclaimer {
    font-style: italic;
    color: #8a8d95;
    margin: 1.5em 0;
    padding: 12px 0;
    position: relative;
    text-align: center;
}

.disclaimer::before,
.disclaimer::after {
    content: "";
    display: block;
    height: 1px;
    background: #d3dce7;
    width: 60px;
    margin: 0 auto;
}

.disclaimer::before {
    margin-bottom: 12px;
}

.disclaimer::after {
    margin-top: 12px;
}