/*
Theme Name:     Beaux Child
Theme URI: 		https://dtbeaux.wpengine.com/
Author: 		the DesignThemes team
Author URI: 	http://themeforest.net/user/designthemes
Description:    Child theme for the Beaux theme powered by DesignThemes
Template:       beaux
Version:        1.0
*/
h1, h2, h3, h4, h5, h6, p, a {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}
p {
  margin-bottom: 0 !important;
}
.blog-section .blog-entry .entry-button a.dt-sc-button {
	color: #E60070 !important;
}

.blog-section .blog-entry .entry-button a.dt-sc-button:before, .blog-section .blog-entry .entry-button a.dt-sc-button:after {
	bottom: -7px !important;
	height: 3px !important;
}

.fullwidth-video-bg:before {
	background-color: unset !important;
	background: linear-gradient(
		to bottom,
		rgba(253, 245, 248, 0.8) 0%,
		rgba(255, 227, 237, 0.8) 100%
	);

}

/* =========================
   Contact Form 7 — styl wg screena
   ========================= */
.form--contact{
  --brand: #e05a8a;         /* różowy obrys pól */
  --focus: #3b82f6;         /* niebieski ring przy focusie */
  --text:  #2b2b2b;
  --muted: #8c8f95;
}

/* Kontener i odstępy pól (CF7 zwykle owija pola w <p>) */
.form--contact .wpcf7-form{
  max-width: 980px;
  margin: 0 auto;
}
.form--contact .wpcf7-form > p{
  margin: 0 0 22px 0;
}

/* Tytuł (jeśli chcesz podpiąć do h2 w tej sekcji) */
.form--contact h2,
.form--contact .form-title{
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
  margin: 0 0 26px 0;
}
.wpcf7-form-control-wrap:hover:before, .wpcf7-form-control-wrap:before {
  width: unset;
  content: none;
}
/* Pola tekstowe */
.form--contact input[type="text"],
.form--contact input[type="email"],
.form--contact input[type="tel"],
.form--contact input[type="url"],
.form--contact input[type="number"],
.form--contact textarea{
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--brand);
  border-radius: 0;               /* prostokąt jak na screenie */
  padding: 12px 14px;
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Placeholder = uppercase, szary */
.form--contact ::placeholder{
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9a9a9a;
  opacity: 1;
}

/* Focus — niebieski ring + zmiana koloru obramowania */
.form--contact input:focus,
.form--contact textarea:focus{
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(59,130,246,.35);
}

/* Wiadomość (trochę wyższe min-height) */
.form--contact textarea{ min-height: 180px; resize: vertical; }

/* ===== Checkbox (RODO) ===== */
.form--contact .wpcf7-list-item{ margin: 0; }  /* CF7 domyślnie dodaje odstęp */
.form--contact .wpcf7-list-item label{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #454545;
  cursor: pointer;
  user-select: none;
}

/* Custom checkbox */
.form--contact input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--brand);
  border-radius: 3px;
  background: #fff;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background-color .15s ease, border-color .15s ease;
}
.form--contact input[type="checkbox"]:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}
.form--contact input[type="checkbox"]:checked{
  background: var(--brand);
  border-color: var(--brand);
}
.form--contact input[type="checkbox"]:checked::after{
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 12px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* ===== Przyciski ===== */
.form--contact .wpcf7-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
  width: 195px;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background-color .2s ease;
}
.form--contact .wpcf7-submit:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.form--contact .wpcf7-submit:active{ transform: translateY(0); filter: brightness(.97); }

/* Wyślij na środku */
.form--contact .wpcf7 form .wpcf7-submit{
  margin: 14px auto 0 auto;
}
.form--contact .wpcf7-spinner{ margin-left: 10px; }

/* ===== Komunikaty CF7 ===== */
.form--contact .wpcf7-response-output{
  margin-top: 18px;
  border-radius: 6px;
  font-size: 14px;
  padding: 12px 14px;
}
.form--contact .wpcf7 form.invalid .wpcf7-response-output{
  border: 1px solid #e03131; background:#fff5f5; color:#7d2121;
}
.form--contact .wpcf7 form.sent .wpcf7-response-output{
  border: 1px solid #2b8a3e; background:#f1fff4; color:#1b5e2b;
}

/* ===== Błędy pól ===== */
.form--contact .wpcf7-not-valid{ border-color:#e03131 !important; }
.form--contact .wpcf7-not-valid-tip{
  margin-top: 6px; font-size: 12px; color: #e03131;
}

/* ===== RWD drobiazgi ===== */
@media (max-width: 480px){
  .form--contact input[type="text"],
  .form--contact input[type="email"],
  .form--contact input[type="tel"],
  .form--contact input[type="url"],
  .form--contact input[type="number"],
  .form--contact textarea{
    padding: 18px 20px;
    font-size: 16px;
  }
  .form--contact .wpcf7-submit{ width: 100%; }
}

body.single #primary {
  padding-bottom: 0;
}

.home #primary.content-full-width {
  margin-top: 0 !important;
}

.single-case_study .entry-post-navigation,
.single-case_study .entry-meta-group {
    display: none !important;
}

#slider {
  margin-top: 100px;
}
.wr-unified-single {
  margin: 100px 0;
}

body #toTop {
  background: url('./assets/arrow-full.png') no-repeat;
}

#footer .dt-sc-dark-bg .footer-links li a {
    padding-top: 0;
    padding-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 0;
}

#footer .dt-sc-dark-bg .footer-links li a:hover {
  color: #E60070
}
@media (max-width: 1540px) {
  #video {
    height: 400px;
    width: 100%;
  }
  #video * {
    height: 100%;
    width: 100%;
  }
}
body.page-with-slider #header-wrapper.header-top-absolute #header {
  position: inherit;
}
/* Desktop i większe (>1024px) – wymuś zachowanie jak cover
   tylko dla fullheight image layer w RevSlider */

@media (min-width: 1025px) {

  /* Rodzic ma ucinać nadmiar */
  rs-module rs-layer[data-type="image"][data-basealign="slide"] {
    overflow: hidden !important;
  }

  /* Obraz zachowuje się jak background-size: cover */
  rs-module rs-layer[data-type="image"] > img[data-c="fullheight"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
  }

}
#primary.content-full-width {
  margin-top: 0 !important;
}

body.single.single-post #main {
  margin-top: 100px;  
}

#footer .elementor-button,
#footer .elementor-button .elementor-button-text {
  font-size: 12px !important;
}
@media only screen and (max-width: 479px) and (min-width: 320px) {
    #header-wrapper {
        margin: 0 !important;
    }
}