:root {
    --camo-900: #132113;
    --camo-800: #1f3520;
    --camo-700: #2e4a2b;
    --camo-600: #4f6b3d;
    --camo-500: #6f8053;
    --ink-dark: #1e2640;
    --line-soft: #d9dfd2;
}

body {
    font-family: 'Lato', sans-serif;
    background: radial-gradient(circle at top right, #eef2e8 0%, #e4eadc 35%, #d8dfcf 100%);
    color: #223;
}

.bg-camo {
    background: linear-gradient(120deg, var(--camo-900), var(--camo-800), var(--camo-700));
}

.hero-discovery {
    background-image: linear-gradient(rgba(16, 26, 16, 0.4), rgba(16, 26, 16, 0.4)), url('https://images.unsplash.com/photo-1473773508845-188df298d2d1?auto=format&fit=crop&w=1800&q=60');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
}

.search-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(16, 34, 24, 0.25);
}

.section-title {
    color: var(--ink-dark);
    letter-spacing: 0.1px;
    font-weight: 400;
}

.card {
    border: 1px solid var(--line-soft);
    box-shadow: 0 4px 18px rgba(19, 33, 19, 0.08);
}

.page-panel {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
}

.fisheries-map {
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
}

.fishery-tile {
    border-radius: 14px;
    overflow: hidden;
}

.fishery-tile-image {
    min-height: 170px;
    background-size: cover;
    background-position: center;
}

.fishery-card {
    overflow: hidden;
    border-radius: 14px;
}

.media-card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
}

.media-card-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--camo-700), var(--camo-500));
}

.media-card-body {
    min-width: 0;
    flex: 1;
}

.fishery-image {
    width: 100%;
    min-height: 180px;
    object-fit: cover;
    background: linear-gradient(145deg, var(--camo-700), var(--camo-500));
}

.region-chip {
    border: 1px solid #cfd9c8;
    border-radius: 10px;
    background: #f8faf5;
    color: #223;
    text-decoration: none;
    padding: 0.65rem 0.75rem;
}

.region-chip:hover {
    border-color: var(--camo-600);
    color: var(--camo-700);
    background: #f2f7ec;
}

.account-card {
    width: 100%;
    text-align: left;
    border: 1px solid #ced8c9;
    border-radius: 12px;
    background: #f8faf5;
    padding: 1rem;
}

.account-card:hover {
    border-color: var(--camo-600);
    background: #f1f6eb;
}

.account-card-active {
    border-color: var(--camo-700);
    box-shadow: 0 0 0 2px rgba(46, 74, 43, 0.15);
    background: #edf4e6;
}

.badge-visibility-public {
    background-color: #2f7a4f;
}

.badge-visibility-private {
    background-color: #6b4d33;
}

.badge-facility-camo {
    background: #edf4e6;
    color: var(--camo-800);
    border: 1px solid #cad8be;
    font-weight: 600;
}

.rating-fish-camo {
    color: var(--camo-700);
}

.rating-fish-camo-muted {
    color: var(--camo-700);
    opacity: 0.25;
}

.link-camo {
    color: var(--camo-700);
    text-decoration: none;
    font-weight: 600;
}

.link-camo:hover,
.link-camo:focus {
    color: var(--camo-800);
    text-decoration: underline;
}

.btn-camo {
    background-color: var(--camo-700);
    color: white;
    border-color: var(--camo-700);
}

.btn-camo:hover {
    background-color: var(--camo-800);
    color: white;
    border-color: var(--camo-800);
}

.navbar .nav-dropdown-btn {
    padding: 0.5rem 0.5rem;
    line-height: 1.5;
    text-decoration: none;
}

.navbar .nav-dropdown-btn:focus,
.navbar .nav-dropdown-btn:hover {
    text-decoration: none;
    box-shadow: none;
}

.dropdown-nojs {
    position: relative;
}

.dropdown-nojs .dropdown-menu {
    display: none;
}

.dropdown-nojs:focus-within .dropdown-menu {
    display: block;
}

.review-count-hover {
    position: relative;
    display: inline-block;
    cursor: help;
}

.review-count-number {
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}

.review-hover-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 2000;
    width: 320px;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #ced8c9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(19, 33, 19, 0.18);
    padding: 0.5rem;
    color: #223;
    font-size: 0.8rem;
}

.review-hover-item {
    padding: 0.45rem 0.35rem;
    border-bottom: 1px solid #ecf0e8;
}

.review-hover-item:last-child {
    border-bottom: 0;
}

.review-count-hover:hover .review-hover-panel,
.review-count-hover:focus-within .review-hover-panel {
    display: block;
}

.page-item.active .page-link {
    background-color: var(--camo-700);
    border-color: var(--camo-700);
}

.partners-strip {
    background: #f5f8f1;
}

.partner-tile {
    border: 1px solid #d7e1cf;
    border-radius: 10px;
    background: #fff;
    padding: 0.55rem;
    gap: 0.35rem;
    min-height: 132px;
}

.partner-logo {
    width: 100%;
    height: 42px;
    object-fit: contain;
}

.partner-logo-lg {
    width: 90px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #d7e1cf;
    border-radius: 8px;
    background: #fff;
    padding: 0.25rem;
}

.partner-carousel-control {
    width: 36px;
}

.partner-carousel-control .carousel-control-prev-icon,
.partner-carousel-control .carousel-control-next-icon {
    border-radius: 50%;
    background-color: rgba(46, 74, 43, 0.85);
    background-size: 55% 55%;
}

@media (max-width: 768px) {
    .fisheries-map {
        min-height: 320px;
    }

    .media-card {
        flex-direction: column;
    }

    .media-card-image {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
}
