/*

Theme Name: Famke
Theme URI: https://theme.co/pro/
Author: agoeie
Author URI: https://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro

*/

:root {
    --font: 'poppins', sans-serif;
}

/* aspect-ratio */
.vierkant {
    aspect-ratio: 1 / 1;
}

.liggend {
    aspect-ratio: 16 / 9;
}

.liggend-smal {
    aspect-ratio: 16 / 6;
}

.titel-header {
    aspect-ratio: 16 / 7;
}

.staand {
    aspect-ratio: 4 / 5;
}

.header-banner {
    aspect-ratio: 40 / 7;
}

#grad {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}


/* .the-content img {
  width: 100%;
  height: auto;
  display: none;
}
*/

.wp-block-heading {
    line-height:40px;
}


/* homepage looper */
.customloop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.customloop-grid > .customloop-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* Eerste item over 2 kolommen */
.customloop-grid > .customloop-item:first-child {
    grid-column: span 2;
}

/* Overige items over 1 kolom */
.customloop-grid > .customloop-item:not(:first-child) {
    grid-column: span 1;
}

/* Thumbnail */
.customloop-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.customloop-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

/* Content onderaan uitgelijnd */
.customloop-content {
    position: absolute;
    bottom: 1em;
    left: 1em;
    right: 1em;
    color: white;
    z-index: 2;
}

h2, .h2 {
    line-height: 0.7;
}

/* Titel en excerpt */
.customloop-title,
.customloop-excerpt {
    margin: 0;
}

.customloop-title a {
    font-size: 1em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.customloop-item:first-child .customloop-title a {
    font-size: 1em;
    line-height: 1;
}

.customloop-item:not(:first-child) .customloop-title a {
    font-size: 0.5em;
}

.customloop-excerpt {
    font-size: 0.9em;
    display: none;
}

.customloop-title a:hover {
    color: white;
}

.customloop-excerpt {
    font-size: 0.9em;
    margin-top: 0.5em;
}

/* Verberg excerpt standaard */
.customloop-item .customloop-excerpt {
    display: none;
}

/* Toon excerpt alleen op eerste item */
.customloop-item:first-child .customloop-excerpt {
    display: block;
}

.more-link {
    display: none !important;
}

/* paginatie */
.customloop-pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
}

.page-numbers {
    font-family: var(--font);
    font-weight: 400;
    color: #000;
}

.page-numbers .current {
    color: #000 0.5;
}

/* Responsive: 1 kolom op mobiel */
@media (max-width: 768px) {
    .customloop-grid {
        grid-template-columns: 1fr;
    }

    .customloop-grid > .customloop-item:first-child {
        grid-column: span 1;
    }

   .customloop-title a {
     font-size: 14px!important;
     font-weight: bold;
     color: white;
     text-decoration: none;
    }
}

/* comment form */
.comment-form-comment label, .comment-form-author label, .comment-form-email label, .comment-form-url label {
    display: none !important;
}

#comment, #author, #email {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--wp--preset--color--black);

    font-family: var(--font);
    font-size: 1em;
    color: black;
}

.comment-form-cookies-consent {
    font-family: var(--font);
}

.comment-form-url {
    display: none;
}

#entry-comment-submit {
    text-shadow: none;
    box-shadow: none;
    border: none;

    width: 100%;
    font-family: var(--font);
    font-size: 1em;
}

#entry-comment-submit:hover {
    background-color: var(--algemeen);
}

.x-comment-img {
    display: none;
}

article.comment {
    margin: 0 !important;
    background-color: transparent;
    box-shadow: none;

    font-family: var(--font);
}

.m25-1a .x-paginate-inner > .current {
    background-color: transparent !important;
    color: #000 !important;
}

.m25-1a .x-paginate-inner > * {
    min-width: 1em !important;
    min-height: 1em !important;
    background-color: transparent !important;
    color: rgba(0, 0, 0, 0.5) !important;
}

/* comment form */
.comment-form-comment label, .comment-form-author label, .comment-form-email label, .comment-form-url label {
    display: none !important;
}

#comment, #author, #email {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(black);

    font-family: var(--font);
    font-size: 1em;
    color: black;
}

.comment-form-cookies-consent {
    font-family: var(--font);
}

.comment-form-url {
    display: none;
}

#entry-comment-submit {
    text-shadow: none;
    box-shadow: none;
    border: none;

    width: 100%;
    font-family: var(--font);
    font-size: 1em;
}

#entry-comment-submit:hover {
    background-color: black;
}

.x-comment-img {
    display: none;
}

article.comment {
    margin: 0 !important;
    background-color: transparent;
    box-shadow: none;

    font-family: var(--font);
}

.m25-1a .x-paginate-inner > .current {
    background-color: transparent !important;
    color: #000 !important;
}

.m25-1a .x-paginate-inner > * {
    min-width: 1em !important;
    min-height: 1em !important;
    background-color: transparent !important;
    color: rgba(0, 0, 0, 0.5) !important;
}

/* abonneerformulier */
/* pagina 1*/
.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_orange {
    background-color: #000 !important;
}

.gform_wrapper.gravity-theme .gfield_required {
    display: none !important;
}

#gform_wrapper_3 {
    font-family: var(--font);
}

.gform_wrapper.gravity-theme .ginput_total {
    color: #000 !important;
    box-shadow: none;
}

legend {
    border-bottom: none;
}

#input_3_1, #input_3_18, #input_3_19, #input_3_7_3, #input_3_7_6, #input_3_9, #input_3_25, #input_3_26, #input_3_27, #input_3_17, #input_3_17_2 {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    border-bottom: 1px solid #000;
    font-family: var(--font);
}

#input_3_9 {
    width: 100%;
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#gform_next_button_3_10, #gform_next_button_3_20, #gform_next_button_3_12, #gform_submit_button_3 {
    font-family: var(--font);
    text-shadow: none;
    transition: 0.2s ease-in-out;
    width: 100%;
}

#gform_next_button_3_10:hover, #gform_next_button_3_20:hover, #gform_next_button_3_12:hover, #gform_submit_button_3:hover {
    background-color: #000;
    border: 1px solid #000;
    transform: scale(1.05);
}

#gform_previous_button_3_20, #gform_previous_button_3_12, #gform_previous_button_3 {
    font-family: var(--font);
    text-shadow: none;
    transition: 0.2s ease-in-out;
    width: 100%;
}

#gform_previous_button_3_20:hover, #gform_previous_button_3_12:hover, #gform_previous_button_3:hover {
    border: 1px solid white;
    transform: scale(1.05);
}

/* login formulier */
.login-username, .login-password {
    font-family: var(--font);
    font-weight: 700;
}

#user_login, #user_pass {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    border-bottom: 1px solid #000;
    font-family: var(--font);
    width: 100%;
}

.login-remember {
    font-family: var(--font);
}

#wp-submit {
    text-shadow: none;
    font-family: var(--font);
    transition: 0.2s ease-in-out;
    width: 100%;
}

#wp-submit:hover {
    background-color: #000;
    transform: scale(1.05);
}

.custom-login-form {
    font-family: var(--font);
}

/* contactformulier */
.gform-body .gform_body {
    width: 100%;
}

.gform_heading {
    display: none;
}

#gform_1 input[type="text"], #gform_1 textarea, #gform_6 select, #gform_6 input[type="text"], #gform_6 input[type="email"], #gform_6 input[type="tel"], #gform_7 input[type="text"], #gform_7 textarea, #gform_8 input[type="text"], #gform_8 textarea {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    border-bottom: 1px solid #000;
    font-family: var(--font);
}

#input_1_4, #input_1_5, #input_1_6, #input_1_3 {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    font-family: var(--font);
    font: 1em;
    color: #000;
    border-bottom: 1px solid black;
}

#gform_1 input[type="submit"], #gform_6 input[type="submit"], #gform_7 input[type="submit"], #gform_8 input[type="submit"] {
    width: 100%;
    background-color: black;
    box-shadow: none;
    text-shadow: none;
    border: none;
    border-radius: 0;
    font-family: var(--font);
    font-weight: 700;
    font-size: 1em;
    color: white;
}

.custom-btn.active {
    background-color: #28a745; /* blauwe achtergrond */
    color: #fff!important;               /* witte tekst */
    border-color: #28a745;
}

/* Toepassen-knop groen met witte tekst */
#gf_coupon_button {
  background-color: #28a745 !important; /* groen */
  color: #fff !important;               /* witte tekst */
  border: none !important;
  border-radius: 4px;
  padding: 0.6em 1.2em;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

/* Hover effect */
#gf_coupon_button:hover:enabled {
  background-color: #218838 !important; /* donkerder groen */
}

/* Disabled state ook groen houden (maar met lichtere tint en cursor) */
#gf_coupon_button:disabled,
#gf_coupon_button.gf-default-disabled {
  background-color: #6cbd7d !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 0.8;
}


.gform_confirmation_message {
    width: auto;
    text-align: center;
    font-weight: bold;
    color: #000000;
    font-size: 24px;

}