/*
	Theme Name: Gdańsk
	Theme URI: https://solmedia.pl
	Description: Custom WordPress Theme
	Version: 1.0
	Author: Andrzej Bolewski
	Author URI: http://solmedia.pl
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
:root {
	--primary:#2e72d2;
	--dark:#23285b;
	
	--blue: #5b8ec4;
    --blue-light: #6fa0d4;
    --orange: #d9593a;
    --orange-dark: #c44e30;
    --white: #ffffff;
    --header-bg-blue: #4a7ab5;
    --header-bg-orange: #c44e30;
    --text: #1a2d4a;
    --row-bg: #f4f8fd;
}
body {
	font-family: 'Raleway', sans-serif;
	font-weight:400;
    overflow-x:hidden;
	font-size: 16px;
	line-height: 1.62;
	color: #000;
}
img {
	max-width: 100%;
	height: auto;
}
iframe {
	max-width: 100%;
}
a {
	color:var(--primary);
    transition:0.3s all ease;
    word-break: break-word;
}
a:hover {
	opacity: .85;
	color: var(--primary);
}
h1,h2,h3,h4 {
    font-family: 'Raleway',sans-serif;
    font-weight: 700;
}
.btn {
	border: 0;
	border-radius:0;
}
.btn-primary,body .kc_button {
	background-color: var(--dark) !important;
	color: #fff !important;
	border: 0;
	border-radius:8px;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.flex {
	display: flex;
}
@media (min-width: 1320px) {
	.container {
		width: 1300px;
	}
}
/*Sekcje*/
section,body:not(.kingcomposer) article {
   padding:60px 0
}
#category,.single main {
	padding:60px 0
}
.odstep {
	padding-top: 78px
}

#header {
	display: block;
    width: 100%;
    position: fixed;
    z-index: 10;
    top:0;
	background: var(--dark);
	padding: 10px 0;
	transition:0.3s all ease;
}
#header.smaller {
	padding: 5px 0;
    box-shadow: 0 0 5px #ccc;
}
#header .row {
	display: flex;
	align-items:center;
}
.admin-bar #header{
	top: 32px;
}
#tlo {
	background: #eee;
	background-size:cover;
	text-align: center;
}
.ramka {
    margin: 0 auto;
    padding: 30px 50px;
    max-width: 610px;
	text-align: center;
}
#stopkaBig {
	background:var(--primary);
	color: #fff;
}
#stopkaBig .menu {
	padding-left: 0;
}
#stopkaBig .menu li {
	display: block;
}
#stopkaBig h3 {
	text-transform: uppercase;
	font-weight: 700;
}
#stopkaBig a {
	color: #fff;
}
#stopkaBig .kc-fb-layout-3 {
	margin-bottom: 10px;
}
#stopkaBig .kc-fb-layout-3 .content-icon{
	min-width: 20px;
	text-align: center;
}
#stopkaBig .kc-fb-layout-3 .content-icon i {
    font-size: 18px;
}
#stopkaBig .content-desc {
	margin-bottom: 0;
	color:#fff;
}
#stopka{
	background:var(--dark);
	padding:10px 0;
	font-size:11px;
	font-weight:300;
	color:#fff;
	clear: both;     
}
#stopka a {
	color: #ddd;
}
/*menu*/
.nav>li>a:focus, .nav>li>a:hover, .nav>li.active>a {
	background-color:inherit;
}
.navbar-toggle .icon-bar {
	background: #8e4a8e;
    width: 30px;
    height: 3px;
}
.navbar-toggle .icon-bar+.icon-bar {
	   margin-top: 6px;
}
.navbar-collapse {
    position: absolute;
    left: 0px;
    width: 100%;
	background: #fff;
    padding: 0 15px;
	top:160px;
	z-index: 9;
}
/*paski*/
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-left: 0px solid #ccc;
}
::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}
/*Misc*/
article p img {
    max-width: 100%;
    height: auto;
}
h4.title {
    font-size: 20px;
    font-weight: 700;
}
.readmore {
	display:inline-block;
	padding-bottom:30px;
}
.date-tags {
	display:flex;
    justify-content: space-between;
}
div.date {
    opacity: 0.6;
    font-size: 13px;
    margin-bottom: 5px;
    font-style: italic;
}
#searchform label {
	display: none;
}
/*Blog*/
#category .flex{
	display: flex;	
    flex-wrap: wrap;
	margin-right: -60px;
}
.flex .hentry {
	width: 350px;
    margin-right: 60px;
	margin-bottom: 30px;
}
#category .wrap-info {
	padding: 15px;
}
h3.title {
	margin-top: 10px;
}
.data-kat .category {
	font-weight: 700;
	text-transform: uppercase;
	padding-right: 10px;
}
.pagination {
	width: 100%;
    display: flex;
    justify-content: center;	
}
.pagination > * {
	margin: 0 5px;
}
/*Editor*/
.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
}

@media (max-width: 991px) {
	#category .post {
	    padding-bottom: 60px;		
	}
	.wrap-img {
		text-align: center;
		float: none;
		margin-right: 0;
		max-width: none;
	}
}

body .content-desc {
	color: inherit;
}
body.kingcomposer section[data-kc-equalheight=true]>.kc-container .kc-wrap-columns {
	margin-left: -15px;
	margin-right: -15px;
	width: auto;
	min-width: 100%;
}
.search-highlight {
	background:yellow
}
#s {
	border-radius:12px 0 0 12px;
}
#searchsubmit {
	border: 1px solid #ffffff47;
    border-radius: 0 8px 8px 0;
}

@media (min-width: 992px) {
	.odstepy-poziom :is(.kc_column,.kc_column_inner,.col-md-6):first-child {
		padding-right: 45px;
	}
	.odstepy-poziom :is(.kc_column,.kc_column_inner,.col-md-6):last-child {
		padding-left: 45px;
	}
}
.wrap-img, .kc_single_image img, .wp-post-image, iframe, .size-large, .gallery-item img,.kc-image-link img,.fancybox-image {
    border-radius: 12px;
    overflow: hidden;
}
body .kc_single_image {
	line-height: inherit;
}
.scapt {
	font-size: 14px;
	font-style: italic;
	padding-top: 1px;
	text-align: center;
}
.bg-gray {
	background: #f5f5f5;
}
#hero {
	padding: 0;
	background-color:var(--primary);
	color: #fff;
}
#hero-tlo {
	background: url(../../uploads/2026/03/hero.jpg) center 70%;
	background-size: cover;
}
#hero .kc_column  {
	min-height: 550px;
}

/*program tabela*/

  .table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(74, 122, 181, 0.18);
  }

  #program table {
    border-collapse: collapse;
    width: 100%;
    min-width: 900px;
    table-layout: fixed;
  }

  /* HEADER ROW */
  #program th {
    padding: 14px 10px;
    text-align: center;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  thead th.blue  { background: var(--header-bg-blue); }
  thead th.orange { background: var(--header-bg-orange); }

  /* BODY CELLS */
  #program td {
    vertical-align: top;
    padding: 14px 12px;
    line-height: 1.55;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
  }

  tbody td.blue   { background: var(--blue); }
  tbody td.orange { background: var(--orange); }

  /* Time labels */
  .time {
    font-weight: 700;
    display: block;
    margin-bottom: 1px;
  }

  /* Event blocks inside a cell */
  .event {
    margin-bottom: 14px;
  }
  .event:last-child { margin-bottom: 0; }

  /* Bold highlight (Opening Ceremony) */
  .highlight {
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* Divider between events */
  .divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin: 10px 0;
  }
  
  h3.kc_title {
	background: var(--primary);
	color: #fff;
	padding: 10px 50px;
	border-radius: 0 10px 10px 0;
	margin-left: -30px;
	max-width: 620px;
  }
  body .kc-fb-layout-1 .content-icon i {
	color: var(--dark);
  }
 body .kc-fb-layout-1 .content-desc p {
	color: inherit;
 }
 body .kc-fb-layout-1.text-left .content-desc {
	text-align: left;
 }
 .active a.mega-menu-link {
	border-bottom: 2px solid var(--primary) !important;
}
#program .kc-container{
	background: #ffffff88;
	padding: 15px;
	border-radius:10px;
}
#tour {
	background: #166600;
	color: #fff;
}
#tour a {
	color: #ddd;
}
#sign-up {
	background: #f5f5f5;
}
.wpcf7 :is(.input-text, input[type=email], input[type=date], input[type=tel],input[type=number], input[type=password], input[type=search], input[type=text], input[type=url], textarea, select) {
    padding: .6180469716em;
    background-color: #fff;
    color: #43454b;
    outline: 0;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
	max-width: 400px;
	width: 100%;
}
.wpcf7 label{
	display: block;
}
.wpcf7-submit {
	width: 100%;
	max-width: 600px;
	margin-top: 15px;
}
.wpcf7 input[name="kwota"] {
	background: none;  
  box-shadow: none;
  font-weight: 700;
  font-size: 32px;
}
.table-scroll {
	overflow-x:auto
}
body .kc-icon-wrapper i {
	font-size: 32px;
	color: var(--dark);
}
.maw400 {
	max-width: 430px;
}
.workshops {
	font-size: 14px;
}
#location .kc-fb-layout-2 {
	height: 100%;
	background: #fff;
	padding-top: 25px;
}
body .content-button a {
	background: var(--dark) !important;
	color: #fff;
	border-radius:12px;
}
:is(#workshops,#demonstrations) td {
	text-transform: uppercase;
}
#masters-presentation .kc-col-inner-container {
	display: flex;
	flex-wrap:wrap;
}

/* GRID */
#masters-presentation .kc_wrapper.kc-col-inner-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

/* KARTA */
.kc-team {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.kc-team:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

/* OBRAZEK – KLUCZOWE */
.kc-team .content-image {
    width: 100%;
    aspect-ratio: 3 / 4; /* spójne proporcje */
    overflow: hidden;
    background: #f3f3f3;
}

.kc-team .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* przycina zamiast rozciągać */
    object-position: center;
    display: block;
}

/* TYTUŁ */
.kc-team .content-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 10px 5px;
    color: inherit;
	text-transform: none;
}

/* PODTYTUŁ */
.kc-team .content-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

/* LINKI */
.kc-team .content-desc {
    margin-top: 10px;
}

.kc-team .content-desc a {
    display: inline-block;
    margin: 5px 6px;
    padding: 6px 12px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 20px;
    background: #f0f0f0;
    color: #333;
    transition: all 0.2s ease;
}

.kc-team .content-desc a:hover {
    background: #000;
    color: #fff;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 600px) {
    .kc_wrapper.kc-col-inner-container {
        gap: 20px;
    }
}
.kc-team .content-desc a {
    font-size: 0; /* ukrywamy tekst "link" */
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kc-team .content-desc a::before {
    content: "🔗";
    font-size: 16px;
}