/* SETUP */

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

*:before, *:after {
	-webkit-box-sizing: inherit;
	   -moz-box-sizing: inherit;
			box-sizing: inherit;
}

body, html {
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

/* reset wp */
:root :where(.is-layout-constrained) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

:root :where(.is-layout-flow) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/*--------------------------------------------------------------
# ADMINBAR
--------------------------------------------------------------*/

:root {
	--adminbar-height: 0 !important;
}


.admin-bar {
	--adminbar-height: 46px !important;
}

#wpadminbar {
	position: fixed !important;
}

.admin-bar .topbar {
	top: 46px !important;
}

@media (min-width: 783px) {
	.admin-bar {
		--adminbar-height: 32px !important;
	}
	.admin-bar .topbar {
		top: 32px !important;
	}
}

.wp-site-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.admin-bar .wp-site-header-fixed {
    top: var(--adminbar-height);
}

.wp-site-blocks {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.text-display-l {
    font-family: Montserrat;
    font-size: clamp(32px, 4vw, 72px);
    font-style: normal;
    font-weight: 600;
    line-height: clamp(40px, 4vw, 96px);
    text-transform: uppercase;
}

.text-headline-l {
    font-family: Montserrat;
    font-size: clamp(24px, 4vw, 40px);
    font-style: normal;
    font-weight: 300;
    line-height: clamp(32px, 4vw, 48px);
}

.text-body-l {
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 16px;
}

.text-button-label {
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.img-contain > img {
    object-fit: contain !important;
}

.capitular-img img {
    float: left;
}

.contact-form {
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.contact-form br {
    display: none;
}

.contact-form .cf-form-control {
    display: flex;
    width: 100%;
    padding: 16px 24px;
    align-items: start;
    gap: 12px;
    border-radius: 28px;
    border: 1px solid #D3D3D3;
    margin-bottom: 12px;
}

.contact-form .cf-form-control.type-textarea {
    height: auto;
}

.contact-form .cf-form-control .slot-label {
    color: #000419;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
    width: 80px;
}

.contact-form .wpcf7-form-control-wrap {
    position: relative;
    flex-shrink: 1;
    width: 90%;
}

.contact-form .wpcf7-form-control-wrap input,
.contact-form .wpcf7-form-control-wrap textarea {
    display: block;
    width: 100%;
}

.contact-form svg {
    display: block;
    flex-shrink: 0;
}

.contact-form .wpcf7-not-valid-tip {
    position: absolute;
    top: -3px;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 16px;
    background-color: #cb004c;
    color: #cb004c;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
    user-select: none;
}

.contact-form .wpcf7-not-valid-tip:before {
    content: '!';
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: #cb004c;
    color: #fff;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    user-select: none;
}

/* acceptance */

/* Containerul principal */
.wpcf7-acceptance > label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    user-select: none;
    position: relative;
  }
  
  /* Ascundem checkbox-ul standard */
  .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #5f6368;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
  }
  
  /* Stare activă (bifat) */
  .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: #1a73e8;
    border-color: #1a73e8;
  }
  
  /* Bifa personalizată (✓) */
  .wpcf7-acceptance input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }
  
  /* Afișează bifa când este selectat */
  .wpcf7-acceptance input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }

  .wpcf7-acceptance .wpcf7-list-item {
    margin-bottom: 12px;
    margin-left: 0;
  }

  .wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    user-select: none;
    margin-bottom: 12px;
  }
  
  /* Stil text */
  .wpcf7-list-item-label {
    color: #202124;
    line-height: 1.4;
  }
  
  /* Link din interior */
  .wpcf7-list-item-label a {
    color: #1a73e8;
    text-decoration: underline;
  }

.wpcf7-submit {
    display: flex;
    width: 306px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #FFF;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
    border-radius: 9999px;
    background: #000419;
  }

@media (min-width: 782px) {

    .sf-text-media.left-img .wp-block-media-text__media img {
        width: 50vw;
        border-radius: 0px 12px 12px 0px !important;
        margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    }
}

.sf-list {
    color: #34353B;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    list-style-image: none;
    list-style-type: none;
}

.sf-list li {
    display: flex;
    align-items: start;
}

.sf-list li img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    margin-top: 1px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    margin-block-end: 16px;
}

.bold {
    font-weight: 600 !important;
}

.text-headline-s {
    font-family: Montserrat;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.text-copyright {
    color: #D3D3D3;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

.height-window {
    height: 70vh;
}

.text-title-m {
    color: #000419 !important;
    font-family: Montserrat !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    text-transform: uppercase !important;
}

.is-layout-constrained {
    --wp--preset--color--secondary: #3A6FF8;
}

.is-layout-constrained p {
    margin-bottom: 16px;
    margin-block-end: 16px;
}

.is-layout-constrained ul {
    margin-bottom: 16px;
    margin-block-end: 16px;
}