﻿.mugshot-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
/*    min-height: 332px;*/
    margin-bottom: 10px;
}

.mugshot-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.mugshot-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* Image container */
.mugshot-image {
    width: 100%;
    aspect-ratio: 3 / 4; /* uniform mugshot ratio */
    overflow: hidden;
    background-color: #f1f1f1;
    border-bottom: 1px solid #e5e5e5;
}

/* Link fills container */
.mugshot-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Actual image */
.mugshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 key fix */
    object-position: center; /* center face */
    display: block;
}


/* Info */
.mugshot-info {
    padding: 8px;
    text-align: center;
}

.mugshot-name, .mugshot-location {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}

.mugshot-name a{
    color: #222;
    text-decoration: none;
}

.mugshot-date {
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.mugshot-views {
    font-size: 12px;
    color: darkred;
    font-weight: bold;
}

.county-notes {
    white-space: pre-line;
}

.fb-follow-btn, .fb-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #1877F2; /* Facebook Blue */
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
   /* margin: 20px 5px 20px 5px;*/
}

.fb-follow-btn svg, .fb-share-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.fb-follow-btn:hover, .fb-share-btn:hover {
    background: #145dbf;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(24, 119, 242, 0.45);
}

.mugshot-details-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fb-follow-wrapper {
    margin-top: auto; /* 👈 pushes it to the bottom */
    padding-top: 15px;
    padding-bottom: 15px;
}

.btn-wanted-flex {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #000;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
    margin: 20px 5px 20px 5px;
}

.btn-wanted-flex:hover,
.btn-wanted-flex:focus-visible {
    background-color: #111;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
    text-decoration: none;
}

.wanted-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-wanted-flex:hover .wanted-icon,
.btn-wanted-flex:focus-visible .wanted-icon {
    transform: scale(1.1);
}

.page-link {
    margin: 0 5px !important;
}

.county-grid-section {
    margin-top: 40px;
}

.county-grid-title {
    /*font-size: 1.5rem;*/
    margin-bottom: 15px;
    font-weight: 600;
}

.county-card {
    display: block;
    padding: 16px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    text-decoration: none;
    color: #222;
    transition: all 0.2s ease;
}

.county-card:hover {
    background: #0cb8b6;
    color: #fff;
    text-decoration: none;
}

.county-name {
    font-weight: 600;
    font-size: 1rem;
}

.county-count {
    font-size: 0.8rem;
    opacity: 0.85;
}

.state-card {
    display: block;
    padding: 16px;
    margin-bottom: 15px;
    background: #666;
    border-radius: 6px;
    text-decoration: none;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
}

.state-card:hover {
    background: #0cb8b6;
    color: #000;
    text-decoration: none;
}

.state-name {
    font-weight: 600;
    font-size: 1rem;
}

.state-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.mugshot-card {
    cursor: pointer;
}

/* ================================
   MOST WANTED COUNTY DIFFERENTIATION
================================ */

.county-page--wanted {
    --wanted-accent: #8b0000;
    --wanted-bg-soft: #fff5f5;
}

/* Header area */
.county-page--wanted .county-intro {
    background: linear-gradient(180deg, var(--wanted-bg-soft), #ffffff);
    border-left: 6px solid var(--wanted-accent);
    padding-left: 18px;
}

/* H1 emphasis */
.county-page--wanted h1 {
    color: var(--wanted-accent);
}

/* Badge above title */
.badge-wanted {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: #8b0000;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 10px 0px;
}

/* Mugshot cards */
.county-page--wanted .mugshot-card {
    border-top: 4px solid var(--wanted-accent);
}

/* Results summary */
.county-page--wanted .results-summary {
    background: var(--wanted-bg-soft);
    border-left: 4px solid var(--wanted-accent);
    padding-left: 12px;
}

/* Breadcrumb subtle alert */
.county-page--wanted .breadcrumb-wrapper {
    background: #fff0f0;
    border-bottom: 1px solid #f2cccc;
}

.mugshot-card--wanted::after {
    content: "WANTED";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #8b0000;
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 3px;
}

/* ================================
   VIEW RECENT ARRESTS BUTTON
================================ */

.btn-arrests {
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-top: 12px;
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-arrests:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    text-decoration: none;
}

/* Icon */
.btn-arrests .arrests-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ================================
   MOST WANTED – SECONDARY NAV
================================ */

.mostwanted-secondary-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.mostwanted-secondary-nav h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.mostwanted-secondary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mostwanted-secondary-nav li {
    display: inline-block;
    margin-right: 16px;
    font-size: 15px;
}

.mostwanted-secondary-nav a {
    text-decoration: none;
    font-weight: 600;
}

.mostwanted-secondary-nav .count {
    color: #666;
    font-weight: 400;
}

.info-note {
    background: #f8f9fa;
    border-left: 4px solid #dee2e6;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.disclaimer-note {
    font-size: 0.9rem;
    color: #555;
    padding-left: 0;
}

/* =========================================
   Most Wanted Detail Image Container
   ========================================= */

.wanted-detail-image {
    width: 100%;
    max-width: 420px; /* desktop limit */
    max-height: 520px; /* prevents giant legacy images */
    margin: 0 auto;
    overflow: hidden;
    background-color: #f8f9fa; /* subtle neutral bg */
    border-radius: 6px;
}

.wanted-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* NEVER crop faces */
}

.wanted-charges ul li {
    list-style-type: none;
}

.lastUpdated {
    font-style: italic;
    display: block;
    text-transform: capitalize;
    font-weight: 600;
    font-size: x-small;
}


