/* Custom styles for Drozdik archive */

/* Clean up body */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background: #fff;
}

/* Navbar */
.navbar-default {
    background: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    box-shadow: none;
    margin-bottom: 0;
}
.navbar-default .navbar-brand {
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #222;
    font-weight: 400;
}
.navbar-default .navbar-brand:hover {
    color: #000;
}
.navbar-default .navbar-nav > li > a {
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.navbar-default .navbar-nav > li > a:hover {
    color: #000;
}

/* Search in navbar */
.navbar-form .form-control {
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    font-size: 13px;
    height: 34px;
}
.navbar-form .form-control:focus {
    border-color: #999;
    box-shadow: none;
}
.navbar-form .btn {
    border-radius: 0;
    border: 1px solid #333;
    background: #333;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.navbar-form .btn:hover {
    background: #000;
    border-color: #000;
}

/* Front page hero */
.front-hero {
    max-width: 560px;
    margin: 100px auto 60px;
    text-align: center;
    padding: 0 20px;
}
.front-hero h1 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: #111;
}
.front-hero .subtitle {
    font-size: 14px;
    color: #777;
    letter-spacing: 0.04em;
    margin: 0 0 40px;
}
.front-hero .search-box {
    display: flex;
    gap: 0;
    margin: 0 0 24px;
}
.front-hero .search-box input {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
    font-family: inherit;
}
.front-hero .search-box input:focus {
    border-color: #999;
}
.front-hero .search-box button {
    padding: 12px 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #222;
    color: #fff;
    border: 1px solid #222;
    cursor: pointer;
    font-family: inherit;
}
.front-hero .search-box button:hover {
    background: #000;
    border-color: #000;
}
.front-hero .browse-link {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}
.front-hero .browse-link:hover {
    color: #000;
    border-color: #000;
}

/* Footer */
#footer {
    border-top: 1px solid #eee;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin-top: 60px;
}

/* Detail pages */
#pageArea {
    padding-top: 20px;
}
.detail-title {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
    text-transform: none;
}
.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
}
.detail-table th {
    text-align: left;
    vertical-align: top;
    padding: 8px 16px 8px 0;
    white-space: nowrap;
    color: #888;
    font-weight: normal;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #f0f0f0;
    width: 140px;
}
.detail-table td {
    vertical-align: top;
    padding: 8px 0;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}
.detail-table a {
    color: #222;
    text-decoration: underline;
    text-decoration-color: #ccc;
}
.detail-table a:hover {
    text-decoration-color: #333;
}
.detail-nav-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 13px;
}

/* Browse results — list layout */
.browse-item {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.browse-item:first-child {
    padding-top: 0;
}
.browse-item-img {
    flex: 0 0 160px;
    min-height: 100px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.browse-item-img img {
    max-width: 100%;
    max-height: 200px;
    display: block;
}
.browse-item-placeholder {
    width: 160px;
    height: 100px;
    background: #eee;
}
.browse-item-meta {
    flex: 1;
    min-width: 0;
}
.browse-item-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}
.browse-item-title a {
    color: #111;
    text-decoration: none;
}
.browse-item-title a:hover {
    text-decoration: underline;
}
.browse-item-field {
    font-size: 13px;
    color: #555;
    margin-bottom: 3px;
    line-height: 1.4;
}
.browse-item-label {
    color: #999;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.03em;
}
.browse-item-desc {
    margin-top: 8px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .browse-item {
        flex-direction: column;
        gap: 12px;
    }
    .browse-item-img {
        flex: none;
        width: 100%;
        max-width: 200px;
    }
}
