/*
 Theme Name:     LTMTF
 Description:    Divi Child Theme
 Template:       Divi
 Version:        1.0.0
*/


:root {

    --blue-color: #6DA4FF;
    --green-color: #B1EC6B;
    --yellow-color: #FFE958;
    --pink-color:#D778FF;
    --black-color:#1e1e1e;
}
 
body {
    font-weight:400;
}

.et_pb_row {
    width: 90%;
}

.centra {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.align-left {
    align-items:start;
}


.title-home h1 {
    font-weight:700;
    font-size:90px;
    
}

.title h1 {
    font-weight:700;
    font-size:70px;
    
}

.title h2 {
    font-weight:700;
    font-size:48px;
    line-height:1.1;
}

.title.light h3 {
    font-size:36px;
    font-weight:300;
    line-height:1.2;
}
.tagtext {
    font-size:24px;
}

.btn {
    padding: 8px 58px 8px 26px;
    border-radius: 30px;
    
    border-width: 2px;
    border-style: solid;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all .15s linear;
    margin-right:10px;
    position: relative;
    white-space:nowrap;
}

.btn::after {
    right: 16px;
    width: 24px;
    height: 24px;
    transition: right 0.2s ease-in-out;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: auto;
    transform: translateY(-50%);
    background-size: contain;
    background-position: center;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
}

.btn:hover::after {
    right: 2px;
}

.btn.btn-primary {
    background-color: var(--blue-color);
    border-color: var(--pblue-color);
    color:#ffffff;
}

.btn.btn-primary::after {
   background-image: url(/wp-content/uploads/2025/07/white-arrow.svg);
}

.btn.btn-transparent {
    background-color: transparent;
    border-color: var(--black-color);
    color:var(--black-color);

}

.btn.btn-transparent::after {
   background-image: url(/wp-content/uploads/2025/07/red-arrow.svg);
}

a.link-web,
a.link-phone,
a.link-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--black-color);
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

/* Wspólne style dla pseudo-elementu */
a.link-web::before,
a.link-phone::before,
a.link-email::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.3s ease;
    flex-shrink: 0;
}


a.link-web::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%236DA4FF" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 9h-2.07c-.12-1.83-.52-3.54-1.18-5.03A8.04 8.04 0 0117 11zM12 4c.92 0 1.79.2 2.58.56-.53 1.2-.91 2.62-1.12 4.18H10.5C10.71 6.18 11.09 4.76 11.62 3.56 12.41 3.2 13.28 3 14.2 3zM7 11H4.99a8.04 8.04 0 012.91-5.03C6.52 7.46 6.12 9.17 6 11zM7 13c.12 1.83.52 3.54 1.18 5.03A8.04 8.04 0 014.99 13H7zm5 7c-.92 0-1.79-.2-2.58-.56.53-1.2.91-2.62 1.12-4.18h2.96c.21 1.56.59 2.98 1.12 4.18C13.79 19.8 12.92 20 12 20zm2.42-2.56c.66-1.49 1.06-3.2 1.18-5.03H19a8.04 8.04 0 01-2.91 5.03z"/></svg>');
}

a.link-phone::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%236DA4FF" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.62 10.79a15.053 15.053 0 006.59 6.59l2.2-2.2 c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1v3.5c0 .55-.45 1-1 1C10.07 21 3 13.93 3 5.5 3 4.95 3.45 4.5 4 4.5H7.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.24 1.02l-2.21 2.2z"/></svg>');
}

a.link-email::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%236DA4FF" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}


a.link-web:hover::before,
a.link-phone:hover::before,
a.link-email:hover::before {
    filter: brightness(0) saturate(100%) invert(57%) sepia(98%) saturate(468%) hue-rotate(61deg) brightness(97%) contrast(90%);
}

@media (max-width: 1140px) {
    .title h1 {
        font-size: 60px;
    }

    .title-home h1 {
        font-size:60px;
    
    }

    .title h2 {
        font-size: 36px;
    }

    .title.light h3 {
        font-size: 24px;
    }

    .tagtext {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .title h1 {
        font-size: 40px;
    }

     .title-home h1 {
        font-size:40px;
    
    }

    .title h2 {
        font-size: 26px;
    }

    .title.light h3 {
        font-size: 18px;
        line-height:1.3;
    }

    .tagtext {
        font-size: 16px;
    }

    .btn {
    padding: 8px 48px 8px 20px;
   font-size:14px;
   line-height:1.5;
}

a.link-web,
a.link-phone,
a.link-email {
    
    font-size: 16px;
   
}

}


/* menu */

#main-header {
    box-shadow: none;
}

#top-menu li a {
    font-size:16px;
    font-weight:400;
    color:var(--black-color);
}

.et_pb_svg_logo #logo { 
    height:80px;
    max-height:80px;
}

.container {
    width:90%;
}

@media (max-width: 1140px) {
    #top-menu li a {
    font-size:14px;
   
}
}
/* end menu */

/* home */

#organizatorzy .et_pb_column {
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap:10%;
}

#organizatorzy .et_pb_column .et_pb_image .et_pb_image_wrap {
    max-height:80px;
}

#partnerzy .et_pb_column {
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap:2%;
}

#partnerzy .et_pb_column .et_pb_image img {
    max-height:120px;
    width:auto;
    padding:10px;
}

@media (max-width:600px) {
    #organizatorzy .et_pb_column .et_pb_image {
    width:48%;
}

#organizatorzy .et_pb_column {
    flex-wrap: wrap;
    gap:2%;
}

 #partnerzy .et_pb_column .et_pb_image {
    width:45%;
}

 #partnerzy .et_pb_column .et_pb_image.marsz {
    width:100%;
    text-align: center;
}

#partnerzy .et_pb_column {
    flex-wrap: wrap;
    gap:20px;
}

#partnerzy .et_pb_column .et_pb_image .et_pb_image_wrap {
    max-height:60px;
}

}
/* end home */

/* wydarzenia */

#wydarzenia .et_pb_blog_grid .et_pb_post  {
    background:#ffffff;
    border-radius:24px;
    border:0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding:24px;
}

#wydarzenia .et_pb_blog_grid .et_pb_post .et_pb_image_container {
    margin:-10px -10px 10px -10px;
}

#wydarzenia .et_pb_blog_grid .et_pb_post .et_pb_image_container img {
    border-radius:16px;
}

#wydarzenia .et_pb_blog_grid .et_pb_post .entry-title {
    font-size:28px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:10px;
}

#wydarzenia .et_pb_blog_grid .et_pb_post .entry-title span {
    white-space: nowrap;
    color:var(--blue-color);
    font-weight:400;
    padding-top:10px;
    font-size:22px;
}

#wydarzenia .et_pb_blog_grid .et_pb_post .post-content p {
    font-size:15px;
    line-height:1.5;
}

.more-link {
    padding-right:50px;;
    border:0;
    border-style: solid;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all .15s linear;
    margin-right:10px;
    position: relative;
    white-space:nowrap;
    color:var(--black-color);
    margin-top:20px;
    float:right;
}

.more-link::after {
    right: 16px;
    width: 24px;
    height: 24px;
    transition: right 0.2s ease-in-out;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: auto;
    transform: translateY(-50%);
    background-size: contain;
    background-position: center;
    background-image: url(/wp-content/uploads/2025/07/red-arrow.svg);
}

.more-link:hover::after {
    right: 2px;
}

@media (max-width: 1140px) {
    #wydarzenia .et_pb_blog_grid .et_pb_post .entry-title {
        font-size:24px;
    }

    #wydarzenia .et_pb_blog_grid .et_pb_post .entry-title span {
        font-size:18px;
    }

    #wydarzenia .et_pb_blog_grid .et_pb_post .post-content p {
        font-size:14px;
    }

    .more-link {
        font-size:14px;
    }
}
/* end wydarzenia */


/* mapa klubow */

#mapa-klubow {
    width: 100%;
    height: 600px !important; 
    border-radius:24px;
}

.leaflet-popup-content img {
    border-radius: 6px;
}





.popup-btn {
    display: block;
    
}



.leaflet-control-geocoder-form input {
    width: 180px !important;
    font-size: 14px;
    padding: 4px 8px;
}

.leaflet-control-custom:hover {
    background-color: #f0f0f0;
}

.popup-img {
    max-height:80px;
    margin-bottom:15px;
}

.popup-anim h4 {
    font-size:24px;
    font-weight:600;
    line-height:1.1;
}


@media (max-width:767px) {
    #mapa-home #mapa-klubow {
       
        height: 440px !important; 
       
}

.leaflet-popup-content {
    max-width:200px;
}

.popup-anim h4 {
    font-size:20px;
   
}
}

/* end mapa klubow */


/* wydarzenia */



.wydarzenia-home-container, .kalendarz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 20px 0;
}


.wydarzenie-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.wydarzenie-date {
    font-size: 14px;
    text-transform: uppercase;
    position: absolute;
    background-color: white;
    padding: 0 15px 29px 0;
    border-radius: 0 0 14px 0;
    line-height: 3;
    font-weight: 600;
    letter-spacing: 1px;
}

.wydarzenie-image img {
    width: 100%;
    object-fit: cover;
    height: 260px;
    border-radius: 14px;
    margin-bottom: 10px;
}

.wydarzenie-title {
    font-size: 24px;
    margin: 10px 0;
    font-weight:600;
    text-align: left;
}


.wydarzenie-content {
    margin-bottom: 15px;
    flex-grow:1;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    text-align: left;
    font-size:15px;
    line-height:1.5;
    font-weight:400;
}

/* Przycisk
.wydarzenie-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background .3s;
}
.wydarzenie-button:hover {
    background: #005c87;
} */

/* Responsywność */
@media (max-width: 980px) {
    .wydarzenia-home-container, .kalendarz-grid {
        grid-template-columns: 1fr;
    }
}



.filter-years {
    padding-bottom:10px;
    margin-bottom:20px;
    border-bottom:1px solid #ddd;
}

.filters .filter-year {
    font-size:30px;
    font-weight:600;
    font-family: 'Bai Jamjuree', Helvetica, Arial, Lucida, sans-serif;
    background-color: transparent;
    opacity:.4;
    line-height:1;
    cursor: pointer;
    margin:5px;
    border:0;
}

.filter-year.active {
    opacity:1;
}


#events-container {
    transition: opacity .5s ease-in-out;
}
.filter-month {
    margin: 5px;
    padding: 8px 20px;
    background: #eee;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.filter-month.active {
    background: var(--blue-color);
    color:#ffffff;
}

.filter-month:hover {
    background: var(--blue-color);
    color:#ffffff;
}



/* end wydarzenia */

/* formularz */
.wclub-form {
    font-size:14px;
    line-height:1.5;
}

.wclub-form p {
    padding-bottom:10px;
}

.wclub-form .form-row {
  margin-bottom: 15px;
  display: block;

}

.wclub-form .two-col {
  display: flex;
  gap: 15px;
}

.wclub-form .two-col > div {
  flex: 1;
}

.wclub-form input[type="text"],
.wclub-form input[type="email"],
.wclub-form input[type="tel"],
.wclub-form input[type="url"],
.wclub-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  font-size: 16px;
  border-radius: 24px; 
  box-sizing: border-box;
}

.wclub-form textarea {
  border-radius: 24px; /* textarea z zaokrągleniem 24px */
  resize: vertical;
  min-height: 120px;
}

.wclub-form input[type="submit"] {
  background: var(--blue-color);
  color: #fff;
  padding: 14px 26px;
  border: none;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}






.wclub-form input[type="submit"]:hover {
  background: #005bb5;
}

.wclub-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size:14px;
  margin-left:15px;
}

.wpcf7 br {
    display: none;
}

/* ✅ Wersja mobilna */
@media (max-width: 768px) {
  .wclub-form .two-col {
    flex-direction: column; /* Zmiana z 2 kolumn na 1 kolumnę */
    gap: 10px;
  }

  .wclub-form input[type="submit"] {
    width: 100%; /* przycisk pełnej szerokości na mobile */
    border-radius: 24px; /* lekko zaokrąglony na mobile */
  }
}

/* end formularz */

