/* Forsiden – ekstra finpuss */

.hero {
    background: radial-gradient(circle at top left, #e1e8ff 0, #f5f7fb 45%, #fdfaf5 100%);
    border-bottom: 1px solid var(--border);
}

.post-preview h3 a {
    color: var(--text);
    text-decoration: none;
}

.post-preview h3 a:hover {
    text-decoration: underline;
}

/* Mer luft og tydeligere logo */
.site-header {
    padding: 2.5rem 1.5rem;   /* mer rom rundt hele header */
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 2.8rem;              /* større avstand mellom logo og tittel */
    padding: 0.5rem 0;        /* ekstra luft over og under */
}

.logo {
    height: 72px;             /* større logo */
    width: auto;
}

/* Sørger for at tittel-gruppen ikke klemmes */
.site-title-group h1 {
    margin: 0 0 0.3rem 0;
}

.site-title-group .tagline {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.9;
}



.post-tools {
    margin-bottom: 1.5rem;
}

.archive-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.archive-button:hover {
    opacity: 0.85;
}

.archive-search {
    margin-top: 1rem;
    padding: 1rem;
    background: #f7f7fa;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.archive-search input {
    width: 100%;
    padding: 0.6rem;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.archive-search ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-search li {
    margin-bottom: 0.4rem;
}

.archive-search a {
    text-decoration: none;
    color: var(--text);
}

.archive-search a:hover {
    text-decoration: underline;
}

/* helper class */
.hidden {
    display: none;
}

details {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
}

details summary {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

details summary::marker {
    display: none;
}

details[open] {
    background: var(--primary-soft);
}
