/*
Theme Name: CrimeCasebook
Theme URI: https://crimecasebook.com
Author: CrimeCasebook Team
Author URI: https://crimecasebook.com
Description: A custom theme for CrimeCasebook - a crime case management system
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crimecasebook
Tags: crime, case-management, dark-theme, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

CrimeCasebook WordPress Theme, Copyright 2024 CrimeCasebook Team
CrimeCasebook is distributed under the terms of the GNU GPL
*/
:root {
  --cc-blue: #0084E7;
  --cc-blue-2: #b4e7eb;
  --cc-white: #F8F8F8;
  --cc-ink: #121212;
  --cc-bg: #1A1A1A;
  --cc-n700: #2A2A2A;
  --cc-n300: #E6E6E6;
  --cc-green: #2A7C4B;
  --cc-red: #A12A2A;
  --cc-radius: 0px;
}
/*
 * Single Dossier Crime Styles
 * Styles for the single case file view
 */
.case-hero {
  margin-bottom: 72px;
}
@media screen and (max-width: 768px) {
  .case-hero {
    margin-bottom: 56px;
  }
}
.case-hero-image {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  .case-hero-image {
    height: 50vh;
    min-height: 300px;
  }
}
.case-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.3), rgba(18, 18, 18, 0.8));
  display: flex;
  align-items: flex-end;
}
.case-hero-content {
  padding-bottom: 72px;
}
@media screen and (max-width: 768px) {
  .case-hero-content {
    padding-bottom: 56px;
  }
}
.case-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -0.5%;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F8F8F8;
}
.case-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .case-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.case-date {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
}
.case-category {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0px;
  background-color: #0084E7;
  color: #121212;
}
.case-excerpt {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  max-width: 800px;
  color: #F8F8F8;
}
.case-content-section {
  padding: 72px 0;
}
@media screen and (max-width: 768px) {
  .case-content-section {
    padding: 56px 0;
  }
}
.case-content {
  max-width: 800px;
  margin: 0 auto;
}
.case-section {
  margin-bottom: 72px;
  scroll-margin-top: 80px;
}
@media screen and (max-width: 768px) {
  .case-section {
    margin-bottom: 56px;
  }
}
.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.5%;
  font-weight: 700;
  margin-bottom: 24px;
  color: #F8F8F8;
  border-bottom: 2px solid #0084E7;
  padding-bottom: 20px;
}
.section-content {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
}
.section-content p {
  margin-bottom: 26px;
}
.section-content p:last-child {
  margin-bottom: 0;
}
.portraits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .portraits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}
.portrait-card {
  background-color: #2A2A2A;
  padding: 24px;
  text-align: center;
  border-radius: 0px;
  transition: transform 0.2s ease;
}
.portrait-card:hover {
  transform: translateY(-4px);
}
.portrait-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0084E7;
}
.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5%;
  font-weight: 700;
  margin-bottom: 20px / 2;
  color: #F8F8F8;
}
.portrait-role {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
  margin-bottom: 0;
}
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #0084E7;
}
@media screen and (max-width: 768px) {
  .timeline {
    padding-left: 30px;
  }
  .timeline::before {
    left: 10px;
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: #0084E7;
  border-radius: 50%;
  border: 2px solid #1A1A1A;
}
@media screen and (max-width: 768px) {
  .timeline-item::before {
    left: -24px;
  }
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-date {
  margin-bottom: 20px / 2;
}
.event-date {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5%;
  font-weight: 700;
  margin-bottom: 0;
  color: #F8F8F8;
}
.event-time {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
}
.timeline-content {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
}
.timeline-content p {
  margin-bottom: 0;
}
.sources-list {
  list-style: none;
}
.sources-list li {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}
.sources-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #0084E7;
}
.sources-list li:last-child {
  margin-bottom: 0;
}
.related-cases-section {
  background-color: #2A2A2A;
  padding: 72px 0;
}
@media screen and (max-width: 768px) {
  .related-cases-section {
    padding: 56px 0;
  }
}
.related-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .related-cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.related-case-card {
  background-color: #1A1A1A;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0px;
  border: 1px solid #2A2A2A;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.related-case-card:hover {
  transform: translateY(-4px);
}
.related-case-image {
  margin-bottom: 24px;
}
.related-case-image a {
  display: block;
  overflow: hidden;
}
.related-case-image a img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.related-case-image a:hover img {
  transform: scale(1.05);
}
.related-case-content {
  padding: 0 24px 24px;
}
.related-case-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
  margin-bottom: 20px;
}
.related-case-title a {
  color: #F8F8F8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.related-case-title a:hover {
  color: #0084E7;
}
.related-case-date {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
}
@media screen and (max-width: 480px) {
  .case-hero-image {
    height: 40vh;
    min-height: 250px;
  }
  .portraits-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    padding-left: 25px;
  }
  .timeline::before {
    left: 8px;
  }
  .timeline-item::before {
    left: -19px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0%;
  background-color: #1A1A1A;
  color: #F8F8F8;
  line-height: 26px;
}
a {
  color: #0084E7;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:focus-visible {
  outline: 2px solid #b4e7eb;
  outline-offset: 2px;
}
a:hover {
  color: #b4e7eb;
}
h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
}
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
}
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
}
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
  font-size: 16px;
}
p {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
  margin-bottom: 24px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
.site-header {
  background-color: #121212;
  padding: 24px 0;
  border-bottom: 1px solid #2A2A2A;
}
.site-branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
  margin: 0;
}
.site-title a {
  color: #F8F8F8;
  text-decoration: none;
}
.site-description {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
  margin-top: 20px;
}
.main-navigation {
  clear: both;
  margin-top: 24px;
}
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
.main-navigation a {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
  text-decoration: none;
  padding: 20px 0;
}
.main-navigation a:focus-visible {
  outline: 2px solid #b4e7eb;
  outline-offset: 2px;
}
.main-navigation a:hover {
  color: #0084E7;
}
.site-main {
  padding: 72px 0;
  min-height: 60vh;
}
@media screen and (max-width: 768px) {
  .site-main {
    padding: 56px 0;
  }
}
.content-area {
  float: left;
  width: 65%;
  padding-right: 24px;
}
.widget-area {
  float: right;
  width: 35%;
}
article {
  background-color: #1A1A1A;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0px;
  border: 1px solid #2A2A2A;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 72px;
}
.entry-header {
  margin-bottom: 24px;
}
.entry-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
  margin-bottom: 20px;
}
.entry-title a {
  color: #F8F8F8;
  text-decoration: none;
}
.entry-title a:hover {
  color: #0084E7;
}
.entry-meta {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
  margin-bottom: 24px;
}
.entry-content {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
  margin-bottom: 24px;
}
.entry-content p {
  margin-bottom: 26px;
}
.entry-footer {
  border-top: 1px solid #2A2A2A;
  padding-top: 24px;
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
}
.widget {
  background-color: #1A1A1A;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0px;
  border: 1px solid #2A2A2A;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
}
.widget-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5%;
  font-weight: 700;
  margin-bottom: 24px;
  color: #F8F8F8;
}
.widget ul {
  list-style: none;
}
.widget li {
  margin-bottom: 20px;
}
.site-footer {
  background-color: #121212;
  padding: 72px 0;
  border-top: 1px solid #2A2A2A;
  clear: both;
}
.site-info {
  text-align: center;
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
}
input,
textarea,
select {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  background-color: #2A2A2A;
  border: 1px solid #2A2A2A;
  color: #F8F8F8;
  padding: 20px;
  border-radius: 0px;
  width: 100%;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #b4e7eb;
  outline-offset: 2px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #0084E7;
}
button,
.button,
input[type="submit"],
input[type="button"] {
  background-color: #0084E7;
  color: #F8F8F8;
  border: none;
  border-radius: 0px;
  padding: 12px 18px;
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #0090fb;
}
button:focus-visible,
.button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
  outline: 2px solid #b4e7eb;
  outline-offset: 2px;
}
button:active,
.button:active,
input[type="submit"]:active,
input[type="button"]:active {
  background-color: #0078d3;
}
@media screen and (max-width: 768px) {
  button,
  .button,
  input[type="submit"],
  input[type="button"] {
    padding: 10px 14px;
  }
}
.button-secondary {
  background-color: #b4e7eb;
  color: #121212;
  border: none;
  border-radius: 0px;
  padding: 12px 18px;
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.button-secondary:hover {
  background-color: #c4ecef;
}
.button-secondary:focus-visible {
  outline: 2px solid #b4e7eb;
  outline-offset: 2px;
}
.button-secondary:active {
  background-color: #a4e2e7;
}
@media screen and (max-width: 768px) {
  .button-secondary {
    padding: 10px 14px;
  }
}
.comments-area {
  background-color: #1A1A1A;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0px;
  border: 1px solid #2A2A2A;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin-top: 72px;
}
.comment-list {
  list-style: none;
}
.comment {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #2A2A2A;
}
.comment:last-child {
  border-bottom: none;
}
.comment-author {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
  font-weight: 500;
  margin-bottom: 20px;
}
.comment-metadata {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  color: #b4e7eb;
  margin-bottom: 24px;
}
.comment-content {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  color: #F8F8F8;
  margin-bottom: 24px;
}
.case-status {
  font-family: "Inter", "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2%;
  color: #F8F8F8;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 0px;
}
.case-status.resolved {
  background-color: #2A7C4B;
  color: #121212;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0px;
}
.case-status.unresolved {
  background-color: #A12A2A;
  color: #121212;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0px;
}
.case-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5%;
  font-weight: 700;
  color: #F8F8F8;
  color: #b4e7eb;
  margin-bottom: 20px;
}
.case-category {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0px;
  background-color: #0084E7;
  color: #121212;
  display: inline-block;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .content-area {
    float: none;
    width: 100%;
    padding-right: 0;
  }
  .widget-area {
    float: none;
    width: 100%;
    margin-top: 56px;
  }
  .main-navigation ul {
    flex-direction: column;
    gap: 20px;
  }
  .site-branding {
    flex-direction: column;
    text-align: center;
  }
  .site-title {
    font-size: 36px;
    line-height: 40px;
  }
}
.clear {
  clear: both;
}
.aligncenter {
  display: block;
  margin: 0 auto;
}
.alignleft {
  float: left;
  margin-right: 24px;
}
.alignright {
  float: right;
  margin-left: 24px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 20px;
  margin: 20px;
  background-color: #0084E7;
  color: #121212;
  text-decoration: none;
  border-radius: 0px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #b4e7eb;
  outline-offset: 2px;
}
