/* Studio Newlife - klassieke gastenboekweergave, v1.0.1.
   Alleen pagina 74. Bestaande Enfold-logo/slider/achtergrond blijven intact. */

/* Schrijfknop bovenaan zoals op de oude website */
body#top.page-id-74 .gwolle-gb .snl-gb-toggle-wrap,
body#top.page-id-74 .gwolle-gb .gwolle-gb-write-button {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    text-align: right !important;
    margin: 10px 0 14px !important;
}
body#top.page-id-74 .gwolle-gb .snl-gb-toggle,
body#top.page-id-74 .gwolle-gb .gwolle-gb-write-button input[type="button"] {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    padding: 9px 18px !important;
    margin: 0 !important;
    border: 1px solid #40883d !important;
    border-radius: 4px !important;
    background: linear-gradient(#73cf69, #43a34b) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s ease;
}
body#top.page-id-74 .gwolle-gb .snl-gb-toggle:hover,
body#top.page-id-74 .gwolle-gb .gwolle-gb-write-button input[type="button"]:hover {
    background: #3c963f !important;
}
body#top.page-id-74 .gwolle-gb .snl-gb-toggle:focus-visible,
body#top.page-id-74 .gwolle-gb .gwolle-gb-write-button input[type="button"]:focus-visible {
    outline: 3px solid #607fbc !important;
    outline-offset: 3px;
}
body#top.page-id-74 .gwolle-gb .snl-gb-intro {
    color: #536079;
    font-size: 12px;
    text-align: center;
    margin: 0 0 24px;
}
/* Max-height collapse preserves layout width for the Turnstile widget.
   With JavaScript disabled, the form remains visible and usable. */
body#top.page-id-74 .gwolle-gb form.gwolle-gb-write.snl-gb-collapsed {
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
body#top.page-id-74 .gwolle-gb form.gwolle-gb-write:not(.snl-gb-collapsed) {
    max-height: none;
    opacity: 1;
}
body#top.page-id-74 .gwolle-gb form.gwolle-gb-write {
    background: rgba(255,255,255,.88);
    border: 1px solid #dcdfe5;
    padding: 18px !important;
    box-sizing: border-box;
    margin-bottom: 25px;
}
body#top.page-id-74 .gwolle-gb form.gwolle-gb-write h3 {
    font-size: 17px;
    color: #607fbc;
    margin-bottom: 12px;
}

/* Berichtkaarten - de stijl van het Joomla-gastenboek */
body#top.page-id-74 .gwolle-gb .gwolle-gb-read {
    margin-top: 5px;
}
body#top.page-id-74 .gwolle-gb .gwolle-gb-read .gb-entry {
    margin: 0 0 11px !important;
    padding: 0 !important;
    border: 1px solid #dedede !important;
    background: rgba(255,255,255,.97) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible;
    clear: both;
}
body#top.page-id-74 .gwolle-gb .gb-entry > article {
    padding: 0 !important;
    margin: 0 !important;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-author-info {
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 13px;
    row-gap: 0;
    padding: 7px 10px !important;
    margin: 0 !important;
    min-height: 28px;
    background: #f3f3f3 !important;
    color: #607fbc;
    box-sizing: border-box;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-author-info > br {
    display: none !important;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-author-name {
    padding: 0 !important;
    margin: 0 !important;
    color: #4b78ba !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.45;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-author-name a {
    color: #4b78ba !important;
    text-decoration: none !important;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-datetime {
    display: inline !important;
    font-size: 11px !important;
    color: #6284bf !important;
    line-height: 1.4;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-author-avatar {
    display: none !important;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-entry-content {
    display: block !important;
    margin: 9px 10px 10px !important;
    padding: 11px 13px !important;
    border-left: 5px solid #e7e7e7 !important;
    background: #f9f9f9 !important;
    color: #202020 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
/* Preserve visibility of any admin responses. */
body#top.page-id-74 .gwolle-gb .gb-entry-admin_reply,
body#top.page-id-74 .gwolle-gb .gb-entry-admin-reply {
    background: #f1f5fb;
    margin: 8px 10px 12px !important;
    padding: 10px !important;
    border-left: 4px solid #91a9d5;
}
body#top.page-id-74 .gwolle-gb .gb-entry .gb-metabox-handle {
    right: 4px;
    top: 3px;
    color: #6b7791;
}

/* Paginering: alleen de onderste navigatie zichtbaar.
   Gwolle geeft eerst een .page-navigation, daarna .gwolle-gb-read,
   en daarna opnieuw een .page-navigation. :last-child is hier niet
   betrouwbaar wanneer andere plugins extra elementen toevoegen. */
body#top.page-id-74 .gwolle-gb > .page-navigation {
    display: none !important;
}
body#top.page-id-74 .gwolle-gb > .gwolle-gb-read ~ .page-navigation {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both !important;
    text-align: center !important;
    width: 100% !important;
    margin: 20px auto 24px !important;
    padding: 8px 0 !important;
}
body#top.page-id-74 .gwolle-gb .page-navigation a,
body#top.page-id-74 .gwolle-gb .page-navigation span:not(.screen-reader-text) {
    display: inline-block;
    color: #407bbc !important;
    padding: 2px 6px !important;
    margin: 0 1px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 13px;
    line-height: 1.6;
    box-shadow: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
body#top.page-id-74 .gwolle-gb .page-navigation a:hover,
body#top.page-id-74 .gwolle-gb .page-navigation a:focus-visible {
    color: #264b87 !important;
    text-decoration: underline !important;
}
body#top.page-id-74 .gwolle-gb .page-navigation span.current {
    font-weight: 700;
    color: #355b95 !important;
}

@media (max-width: 767px) {
    body#top.page-id-74 .gwolle-gb .snl-gb-toggle-wrap,
    body#top.page-id-74 .gwolle-gb .gwolle-gb-write-button {
        text-align: center !important;
    }
    body#top.page-id-74 .gwolle-gb .gb-entry .gb-author-info {
        gap: 4px 9px;
    }
    body#top.page-id-74 .gwolle-gb .gb-entry .gb-entry-content {
        font-size: 13px !important;
    }
}
