/* ================================================
   Sleuth Kit Site — Custom Styles
   ================================================ */

/* --- Brand Palette --- */
:root {
    --sk-blue:       #3b6fc4;
    --sk-blue-light: #5b8fd4;
    --sk-dark:       #1c2130;
    --sk-heading:    #1a1f2e;
    --sk-muted:      #6b7a99;
    --sk-muted-lt:   #8a9bb8;
    --sk-border:     #e8edf5;
    --sk-bg-light:   #f7f9fc;
}

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

/* ------------------------------------------------
   Section Layouts
   ------------------------------------------------ */
.section-hero {
    background: var(--sk-dark);
    color: #fff;
    padding: 72px 0 60px;
}

.section-light {
    background: var(--sk-bg-light);
    padding: 64px 0;
    border-top: 1px solid var(--sk-border);
}

.section-white {
    background: #fff;
    padding: 64px 0;
    border-top: 1px solid var(--sk-border);
}

/* ------------------------------------------------
   Section Eyebrow Labels
   ------------------------------------------------ */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sk-blue);
    margin-bottom: 0.4rem;
}

/* On dark/hero backgrounds */
.section-label-light {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sk-blue-light);
    margin-bottom: 0.75rem;
}

/* ------------------------------------------------
   Headings
   ------------------------------------------------ */
.hero-heading {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #fff;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sk-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.section-heading-sm {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sk-heading);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: none;
}

/* ------------------------------------------------
   Body Paragraphs
   ------------------------------------------------ */
.hero-lead {
    font-size: 1.05rem;
    color: var(--sk-muted-lt);
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* Lead paragraph below a section heading */
.section-lead {
    color: var(--sk-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

/* General body text in a section */
.section-body {
    color: var(--sk-muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

/* ------------------------------------------------
   Inline Links
   ------------------------------------------------ */
.site-link {
    color: var(--sk-blue);
    text-decoration: none;
    font-weight: 500;
}

.site-link:hover {
    color: #2d5aad;
    text-decoration: underline;
}

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */
.btn {
    --bs-btn-focus-box-shadow: none;
    box-shadow: none !important;
    text-shadow: none !important;
}

.btn-primary {
    background-color: var(--sk-blue);
    border-color: var(--sk-blue);
    font-weight: 600;
}


.btn-primary:hover,
.btn-primary:focus {
    background-color: #2d5aad;
    border-color: #2d5aad;
}

/* Secondary/ghost button (dark hero bg) */
.btn-ghost {
    border: 1px solid #3a4560;
    color: var(--sk-muted-lt);
    font-weight: 600;
}

.btn-outline-primary {
    border-color: var(--sk-blue);
    color: var(--sk-blue);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--sk-blue);
    border-color: var(--sk-blue);
    color: #fff;
}

/* ------------------------------------------------
   Tool Cards
   ------------------------------------------------ */
.tool-card {
    background: #fff;
    border: 1px solid #dde4f0;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.2s;
}

.tool-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #eaf0fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.tool-card-image {
    text-align: center;
    margin-bottom: 1rem;
}

.tool-card-image img {
    max-height: 140px;
    border-radius: 6px;
}

.tool-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sk-heading);
    margin-bottom: 0.6rem;
    text-shadow: none;
}

.tool-card-desc {
    color: var(--sk-muted);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

/* ------------------------------------------------
   Feature Block (single tool, image right)
   ------------------------------------------------ */
.tool-feature {
    background: #fff;
    border: 1px solid #dde4f0;
    border-radius: 12px;
    padding: 2.5rem;
}

.tool-feature-img {
    text-align: center;
}

.tool-feature-img img {
    max-width: 100%;
    max-height: 260px;
    border-radius: 8px;
    object-fit: contain;
}

/* ------------------------------------------------
   News / Release Items
   ------------------------------------------------ */
.news-item {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e4eaf5;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    text-align: center;
    background: var(--sk-dark);
    border-radius: 8px;
    padding: 5px 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.news-date .date-top {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.news-date .year {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sk-muted-lt);
    letter-spacing: 0.04em;
}

.news-item-title {
    display: block;
    font-weight: 600;
    color: var(--sk-heading);
    text-decoration: none;
    font-size: 0.97rem;
}

.news-item-title:hover {
    color: var(--sk-blue);
}

.news-item-desc {
    margin: 0.15rem 0 0;
    color: #8a96b0;
    font-size: 0.87rem;
}

/* ------------------------------------------------
   Inner Page Content Body
   ------------------------------------------------ */
.content-body {
    max-width: 820px;
    padding: 8px 0 40px;
}

.content-body h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--sk-heading);
    letter-spacing: -0.02em;
    margin: 2rem 0 0.6rem;
    text-shadow: none;
}

.content-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sk-heading);
    margin: 1.6rem 0 0.45rem;
    text-shadow: none;
}

.content-body p {
    color: var(--sk-muted);
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.content-body ul,
.content-body ol {
    color: var(--sk-muted);
    line-height: 1.7;
    padding-left: 1.4rem;
    margin-bottom: 0.9rem;
}

.content-body li {
    margin-bottom: 0.25rem;
}

.content-body a {
    color: var(--sk-blue);
    text-decoration: none;
}

.content-body a:hover {
    color: #2d5aad;
    text-decoration: underline;
}

.content-body tt,
.content-body code {
    font-size: 0.9em;
    color: var(--sk-heading);
    background: #edf1f9;
    padding: 1px 5px;
    border-radius: 3px;
}

/* ------------------------------------------------
   Misc
   ------------------------------------------------ */
.book-thumb {
    max-width: 180px;
    border-radius: 6px;
}
