* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    background: #c17563;
    font-family: 'Inter', sans-serif;
    color: #3e2f2a;
}

a {
    color: inherit;
    text-decoration: none
}

header {
    background: #de8773;
    padding: 2rem;
    text-align: center;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
}

header p {
    color: #fff;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.navbar {
    background: #ffe6e1;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.navbar a:hover {
    background: #de8773;
    color: #fff;
}

/* Alert boxjes */
.alert {
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #e1fbe1;
    color: #2f462f;
    border-left: 4px solid #71946c;
}

.alert-error {
    background: #ffc9c9;
    color: #5e2f2f;
    border-left: 4px solid #c46352;
}

.main-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card {
    background: #ffe6e1;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card h2 {
    margin-bottom: 1rem;
    color: #c46352;
    font-size: 1.7rem;
}

/* Form */
.card form input[type="email"],
.card form input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-group input[type="checkbox"] {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: #fff;
    border: 2px solid #de8773;
    border-radius: 0.25rem;
    cursor: pointer;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}

.form-group input[type="checkbox"]:checked {
    background: #de8773;
    border-color: #de8773;
}

.form-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 3px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-group label {
    cursor: pointer;
}

.card form button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #de8773;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.card form button:hover {
    background: #c46352;
}

/* Form links */
.form-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.form-links a {
    color: #de8773;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: text-decoration 0.2s;
}

.form-links a:hover {
    text-decoration: underline;
}

.form-links .divider {
    color: #3e2f2a;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: #fbe3dd;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04);
}

.widget h3 {
    color: #c46352;
    margin-bottom: 0.5rem;
}

/* Archief structuur */
.archive,
.archive ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Zorg dat nested pas zichtbaar wordt als active */
.archive .nested {
    display: none;
}

.archive .nested.active {
    display: block;
}

/* Caret styling */
.caret {
    display: inline-block;
    width: .75rem;
    height: .75rem;
    margin-right: .5rem;
    border-right: 2px solid #3e2f2a;
    border-bottom: 2px solid #3e2f2a;
    transform: rotate(-45deg);
    transition: transform 0.2s;
    cursor: pointer;
}

.caret.rotated {
    transform: rotate(45deg);
}

/* Indent op niveau */
.archive li.level-0 {
    padding-left: 0;
}

.archive li.level-1 {
    padding-left: 1.2rem;
}

.archive li.level-2 {
    padding-left: 2.4rem;
}

/* Volgers */
.followers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.followers img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #de8773;
    object-fit: cover;
}

.follow-sidebar {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #de8773;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.follow-sidebar:hover {
    background-color: #c46352;
}

/* Footer */
.site-footer {
    background: #de8773;
    color: #fff;
    margin-top: 2rem;
}

.footer-top {
    text-align: center;
    padding: 1.5rem 1rem 0.5rem;
}

.footer-top h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin: 0;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.footer-column,
.footer-social {
    flex: 1 1 200px;
    margin: 0.5rem;
}

.footer-column h3,
.footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    position: relative;
    padding-left: 1.2rem;
    margin: 0.3rem 0;
}

.footer-column li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #ffe6e1;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
    transition: color 0.2s;
}

.social-icons a:hover .icon {
    color: #3e2f2a;
}

.follow-button {
    display: inline-block;
    margin: 0.5rem 0 1rem;
    padding: .5rem 1.2rem;
    background: #3e2f2a;
    color: #fff;
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.follow-button:hover {
    background: #2a231f;
}

.footer-bottom {
    text-align: center;
    background: #c17563;
    padding: .75rem 1rem;
    font-size: .85rem;
    opacity: .9;
}