/**
Theme Name: Hello Elementor - Child Theme
Author: Waldemar Syc, WebSyc
Author URI: https://www.websyc.pl
Description: Motyw Potomny Hello Elementor
Version: 1.0.16
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child-theme
Template: hello-elementor
*/

/* variables */
html:root{
  --color-primary: #05162A;
  --color-secondary:  #C99349;
  --color-text: #05162A;
  --color-accent: #C99349;
}
html{
  font-size: 16px;
}
@media (max-width: 1199px) {
  html{
    font-size: 85%;
  }
}
@media (max-width: 768px) {
  html{
    font-size: 75%;
  }
}
/* Typo */
.comments-area a, .page-content a {
  text-decoration: none;
}
/* Offer */
.section__offer{
  display: flex;
  gap: 10px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
.section__offer.slick-initialized {
  display: block;
  gap: 0;
}
.section__offer .slick-list {
  margin-inline: -5px;
}
.section__offer .slick-slide {
  margin-inline: 5px;
}
.section__offer .slick-dots{
  bottom: -50px;
}
.section__offer .slick-prev,
.section__offer .slick-next {
  position: absolute;
  top: 28%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 5px;
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(3, 29, 90, 0.25);
  font-size: 0;
  line-height: 0;
}
.section__offer .slick-prev {
  left: 8px;
}
.section__offer .slick-next {
  right: 8px;
}
.section__offer .slick-prev:before,
.section__offer .slick-next:before {
  content: none;
}
.section__offer .slick-prev svg,
.section__offer .slick-next svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}
.section__offer .slick-prev:hover,
.section__offer .slick-next:hover,
.section__offer .slick-prev:focus,
.section__offer .slick-next:focus {
  background: var(--color-text);
  color: #fff;
}
@media (max-width: 768px) {
  .section__offer .slick-prev,
  .section__offer .slick-next {
    top: 22%;
    width: 36px;
    height: 36px;
  }
  .section__offer .slick-prev {
    left: 4px;
  }
  .section__offer .slick-next {
    right: 4px;
  }
}
.section__offer .slick-dots li button:hover,
.section__offer .slick-dots li button:focus{
  background-color: var(--color-primary);
  border-radius: 50%;
}
.single__offer{
  border-radius: 5px;
  border: 1px solid #f5f5f5;
  padding: 15px;
}
.single__offer img{
  border-radius: 5px;
  height: auto;
  max-width: 100%;
  box-shadow: none;
}
.single__offer .item__text--heading a{
  font-family: "Libre Baskerville", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 28px;
  text-align: left;
}
.single__offer .item__text--btn{
  text-align: center;
  margin-top: 25px;
}
.single__offer .item__text--btn a{
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  color: #fff;
  background-color: var(--color-secondary);
  border-radius: 5px 5px 5px 5px;
  padding: 20px 40px 20px 40px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: all .3s;
}
.single__offer .item__text--btn a::after{
  content: "\00BB";
  display: block;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: .75;
}
.single__offer .item__text--btn a:hover{
  background-color: var(--color-text);
}
.single__offer .item__text--heading{
  text-align: center;
  margin-top: 1rem;
}
@media (min-width:768px){
  .single__offer{
    width: 33.333%;
  }
}
@media (max-width:768px){
  .section__offer{
    flex-wrap: wrap;
  }
}
/* Buttons */
button.to-top-btn {
  position: fixed;
  inset: auto 25px 25px auto;
  z-index: 999;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-secondary);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px hsla(0,0%,100%,.3);
  transition: background .3s, box-shadow .3s;
  appearance: none;
  line-height: 0;
}
button.to-top-btn .elementor-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  fill: #fff;
  color: #fff;
  border-color: #fff;
  line-height: 0;
}
button.to-top-btn:hover,
button.to-top-btn:focus-visible {
  cursor: pointer;
  background: var(--color-accent);
  box-shadow: none;
}
button.to-top-btn:focus-visible {
  outline: 3px solid rgba(42, 171, 228, 0.35);
  outline-offset: 3px;
}
button.to-top-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
}
@media (max-width: 768px) {
  button.to-top-btn {
    inset: auto 15px 15px auto;
  }
}
/* Oferta single */
body.single-oferta .site-main,
body.single-post .site-main {
  max-width: none !important;
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
}
.oferta-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 130px 20px;
  background-color: var(--color-text);
  background-image: url("./img/page-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}
.oferta-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 29, 90, 0.35) 0%,
    rgba(3, 29, 90, 0.60) 100%
  );
}
.oferta-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}
.oferta-hero__title {
  margin: 0;
  color: #fff;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 16px rgba(0, 0, 0, 0.55);
}
.oferta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 50px 20px 70px;
}
.oferta-content {
  min-width: 0;
}
.oferta-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1.3rem;
}
.article-layout--single-column {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}
.article-content {
  color: var(--e-global-color-text, var(--color-text));
  font-size: 1rem;
  line-height: 1.75;
}
.article-featured-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
  border-radius: 10px;
}
.article-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}
.article-content blockquote {
  margin: 2rem 0;
  padding: 18px 22px;
  border-left: 4px solid var(--e-global-color-accent, var(--color-accent));
  background: #f6f8fb;
  font-style: italic;
}
.article-tags {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(3, 29, 90, 0.12);
}
.article-tags__label {
  font-weight: 700;
}
.oferta-sidebar {
  align-self: start;
  padding: 24px;
  border: 1px solid #f5f5f5;
  border-radius: 15px;
  background: var(--e-global-color-text);
  color: #fff;
}
.oferta-sidebar__heading {
  margin: 0 0 16px;
  color: #fff!important;
  font-size: 1.25rem;
}
.oferta-sidebar .oferta-sidebar__nav ul li a {
  color: #fff;
}
.oferta-sidebar .oferta-sidebar__nav ul li a:hover {
  color: var(--color-secondary);
}
@media (max-width: 991px) {
  .oferta-layout {
    grid-template-columns: 1fr;
    padding-top: 35px;
  }
}
/* Sidebar */
.sidebar-offer h2.rounded{
  display: none!important;
}
.sidebar-offer ul{
  padding-left: 0;
}
.sidebar-offer ul li{
  list-style: none;
}
.sidebar-offer ul li::before{
  font-family: 'elementskit'!important;
  content: "\e9f2";
  margin-right: 5px;
  vertical-align: middle;
}
.sidebar-offer ul li a{
  text-decoration: none;
}
.sidebar-offer ul li a:hover{
  color: var(--color-secondary);
}
/* Contact Form 7 */
.wpcf7 {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(3, 29, 90, 0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(3, 29, 90, 0.08);
}
.wpcf7 form > p {
  margin: 0 0 20px;
}
.wpcf7 form > p:last-of-type {
  margin-bottom: 0;
}
.wpcf7 label {
  display: block;
  color: var(--e-global-color-text, var(--color-text));
  font-weight: 600;
  line-height: 1.4;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select,
.wpcf7 textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(3, 29, 90, 0.22);
  border-radius: 5px;
  background: #fff;
  color: var(--e-global-color-text, var(--color-text));
  font: inherit;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #737b8c;
  opacity: 1;
}
.wpcf7 input:not([type="submit"]):focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: 0;
  border-color: var(--e-global-color-accent, var(--color-accent));
  box-shadow: 0 0 0 3px rgba(42, 171, 228, 0.18);
}
.wpcf7 .wpcf7-not-valid {
  border-color: #c62828;
}
.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: .875rem;
}
.wpcf7 .wpcf7-list-item {
  margin: 0;
}
.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
}
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--e-global-color-accent, var(--color-accent));
}
.wpcf7 .wpcf7-submit {
  min-height: 50px;
  padding: 14px 32px;
  border: 0;
  border-radius: 5px;
  background: var(--e-global-color-accent, var(--color-secondary));
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus-visible {
  background: var(--e-global-color-text, var(--color-text));
  box-shadow: 0 6px 16px rgba(3, 29, 90, 0.2);
  transform: translateY(-1px);
}
.wpcf7 .wpcf7-submit:focus-visible {
  outline: 3px solid rgba(42, 171, 228, 0.3);
  outline-offset: 2px;
}
.wpcf7 .wpcf7-submit:disabled {
  opacity: .65;
}
.wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 12px 15px;
  border-width: 0 0 0 4px;
  border-radius: 5px;
  background: #f6f8fb;
  color: var(--e-global-color-text, var(--color-text));
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #edf9f1;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #fff8e6;
}
.wpcf7 .wpcf7-spinner {
  margin: 0 0 0 12px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .wpcf7 {
    padding: 22px 18px;
  }
  .wpcf7 .wpcf7-submit {
    width: 100%;
  }
}
/* Footer */
#footer #logo-footer img{
  width: 150px;
}
/* Header */
@media (max-width: 768px){
  #top-contact-list li{
    margin-bottom: 5px;
  }
}
@media (max-width: 768px) {
  .ws-mobile-image{
    min-height: 300px;
    margin-bottom: 25px;
  }
}
