body {
background: ; /* body_bg_color */
color: #000000; /* body_txt_color */
}

.form-button-group {
background: #a3a3a3; /* login_bg_color */
}

h1, h2, h3, h4 {
color: #ffffff;
}

.appBottomMenu {
background: #0F2033; /* menu_bottom_bg_color */
}

.appBottomMenu .item i.bi, .appBottomMenu .item i.icon, .appBottomMenu .item ion-icon {
color: #ffffff;
}

.wide-block {
background: ; /* body_bg_color */
border: none;
}

/*strona logowania*/
#appCapsule {
max-width: 1000px;
margin: auto;
}

/*obrazek logowania*/
#login-img {
max-width: 800px;
width: 100%;
}

.fi {
font-size: 1.5em;
}


/*ZABAWA KOLORAMI*/



/*Tło log in*/
.bg-light2 {
/*background: rgba(245, 245, 245, 0.5) !important;*/
background: #a3a3a3; /* login_bg_color */
}

/*Belki*/
.bg-primary {
background: #EB2027 !important; /* color1 */
color: #FFF;
}

/*Guziki*/
.btn-primary {
background: #0F2033 !important;
border-color: #0F2033 !important;
color: #EB2027 !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
background: #0F2033 !important;
border-color: #0F2033 !important;
color: #ffffff !important;
} /* btn-primary_css */

/*Hamburger*/
.appHeader.scrolled.bg-primary .headerButton {
color: #ffffff;
}

/*User menu top*/
.profileBox {
background: #EB2027; /* color1 */
}

/*Belka górna po zjechaniu w dół*/
.appHeader.scrolled.bg-primary.is-active {
background: #0F2033 !important; /* menu_top_bg_color */
}



/*chekbox zgody*/
.form-agree .form-check-input {
width: 3em;
height: 1.5em;
display: block;
margin-left: 1em;
}

/*pogrubienie pytań w faq*/
.accordion-button {
font-weight: 500 !important;
}

#countDown {
color: #ffffff;
}

#countDown div span {
color: #ffffff;
}

a {
color: #D3DADE;
}

a:hover {
color: #D3DADE;
text-decoration: underline;
}

.section-title {
color: #ffffff;
}

.accordion-item {
background: #EB2027; /* color1 */
}

.accordion .accordion-header .btn, .accordion .accordion-header .accordion-button {
color: #ffffff;
}

.accordion {
border: none;
background: transparent;
}

/*kreski w faq miedzy pytaniami*/
.accordion .accordion-header .btn.collapsed:before, .accordion .accordion-header .accordion-button.collapsed:before {
background: #E1E1E1;
}

.accordion .accordion-header .accordion-button:after {
background: url("data:image/svg+xml,%0A%3Csvg width='10px' height='16px' viewBox='0 0 10 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg id='Listview' transform='translate(-112.000000, -120.000000)' stroke='%23FFFFFF' stroke-width='2.178'%3E%3Cpolyline id='Path' points='114 122 120 128 114 134'%3E%3C/polyline%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat center center !important;
}

.button.goTop {
background: #017043;
color: #ffffff;
}


.btn-outline-primary {
background: transparent;
border-color: #ffffff;
border-width: 1px !important;
color: #ffffff;
transition: none;
}

.btn-outline-primary:hover, .btn-outline-primary:active {
background: rgba(0, 89, 54, 0.50) !important;
border-color: #ffffff !important;
color: #ffffff !important;
}

.btn-check:checked + .btn-outline-primary {
background: #005936 !important;
border-color: #ffffff !important;
}

#wall {
-webkit-column-count: 4;
-webkit-column-gap: 0.5em;
-moz-column-count: 4;
-moz-column-gap: 0.5em;
column-count: 4;
column-gap: 0.5em;
}

#wall .wall-grid {
width: 100% !important;
height: auto !important;
-webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
page-break-inside: avoid; /* Firefox */
break-inside: avoid; /* IE 10+ */
padding: 0.5em;
background-color: transparent;
margin-bottom: 0.5em;
}

.card.product-card .title {
color: #000000;
}

body.dark-mode-active .card.product-card .title {
color: #ffffff;
}

.card {
background: #ffffff;
}

@media (max-width: 1200px) {
#wall {
-moz-column-count:    4;
-webkit-column-count: 4;
column-count:         4;
}
}
@media (max-width: 1000px) {
#wall {
-moz-column-count:    3;
-webkit-column-count: 3;
column-count:         3;
}
}
@media (max-width: 800px) {
#wall {
-moz-column-count:    2;
-webkit-column-count: 2;
column-count:         2;
}
}
@media (max-width: 400px) {
#wall {
-moz-column-count:    1;
-webkit-column-count: 1;
column-count:         1;
}
}



.table {
color: #ffffff;
}

.table thead th {
color: #ffffff;
}

.fab-button .fab {
background: #005936;
}

.fab-button .fab:hover, .fab-button .fab:active {
background: #005936;
}

.fab-button .dropdown-menu .dropdown-item {
background: #005936;
}

.fab-button .dropdown-menu .dropdown-item:hover, .fab-button .dropdown-menu .dropdown-item:active {
background: #005936;
}

.custom-file-upload input[type="file"] {
overflow: hidden;
opacity: 0;
position: static ; 
top: 0; 
left: 0; 
width: auto; 
height: auto; 
}


.blog-post .post-header a {
color: #ffffff;
}

.comment-block .item .comment-header .title {
color: #ffffff;
}

.comment-block .item .text {
color: #d8d8d8;
}

.comment-block .item .comment-footer .comment-button {
color: #c9c9c9 !important;
}


.blog-post .post-header {
border-color: #A58C51;
border-top: 4px solid #A58C51;
}

.divider {
background: #A58C51;
}

.form-group.boxed .form-control {
background: #3A3A3A;
border-color: #A58C51;
color: #ffffff;
}

.form-group.boxed .form-control:focus {
border-color: #fff;
}

.form-group .submit-input {
color: #ffffff;
}


#friends .image-listview > li a.item {
color: #ffffff !important;
}

.form-group .form-label {
color: #ffffff;
}



<!--.page {
margin: 1em auto;
max-width: 768px;
height: 100%;
}

.imgContainer {
display: flex;
align-items: flex-start;
flex-wrap: wrap;  
}

.imgPreview {
border-radius: 50%;
margin-left: 20px;
}

.cropper-view-box {
border-radius: 50%;
outline: none; 
}

.cropper-face.cropper-move {
opacity: 0;
}

.ep-slider-bar {
margin-top: 20px;
}-->


 /* getCSS */




/* CSS Z BAZY */

@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume ExtraLight Italic.ttf") format("truetype");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* 300 — Light */
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Light Italic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* 400 — Regular */
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* 500 — Medium */
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Medium Italic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* 600 — SemiBold */
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume SemiBold Italic.ttf") format("truetype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* 700 — Bold */
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Bold Italic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* 800 — ExtraBold */
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume ExtraBold Italic.ttf") format("truetype");
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* 900 — Black */
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zuume";
    src: url("../../event_files/7/fonts/Zuume Black Italic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: "zuume", sans-serif !important;
}


h4.title {
color:#000000 !important;
}

.section-title {
color: #de006e !important;
}

.form-group.boxed .form-control {
background: #ffffff !important;
border-color: #001B33 !important;
color: #001B33 !important;
}

h1, h2, h3, h4 {
color: #43C5F1 !important;
}

a {
color:#EB2027 !important;
}

label.form-label {
color:#555555 !important;
}



textarea::placeholder {color: #ffffff !important; }

.divider {
    background: #de006e !important;
}

.blog-post .post-header {
    border-color: #de006e !important;
    border-top: 4px solid #de006e !important;
}

div.accordion-body
{background: #ffffff;
color:#000000;
}
#friends .image-listview > li a.item {color: #000000 !important;}

.comment-block .item .text {
    color: #333333;
}



.button.goTop {
background: #0F2033 !important;
color: #ffffff;
}







.naglowek2 {
    position: relative;
    background-color: #001b33;
    color: #e20613;
    padding: 0.7em 2.2em;
    overflow: hidden;
    /* tworzymy stacking context */
    z-index: 0;
    /*border: solid white 2px;*/
    border-radius: 20px;
    font-size: 2.35em;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 0.6em;
}

/* oba paski muszą być niżej */
.naglowek2::before,
.naglowek2::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    transform: skewX(-14deg);
    transform-origin: top left;

    /* poniżej tekstu */
    z-index: -1;
}

/* czerwony */
.naglowek2::before {
    left: -50px;
    width: 200px;
    background-color: #e20613;
}

/* biały pasek */
.naglowek2::after {
    left: 80px;
    width: 40%;
    background-color: #fff;

    /* dodajemy przejście na zmianę szerokości */
    transition: width 0.4s ease;
}

/* najechanie na całe .naglowek2 */
.naglowek2:hover::after {
    width: 60%;
}







header.major {
    margin: 0 0 4em 0;
    position: relative;
    text-align: center;
}

header.major:after {
    background: #e44c65;
    content: "";
    display: inline-block;
    height: 0.2em;
    max-width: 20em;
    width: 75%;
}

header.major:after {
    background: linear-gradient(90deg,rgba(0, 27, 51, 1) 10%, rgba(67, 197, 241, 1) 37%, rgba(67, 197, 241, 1) 64%, rgba(226, 6, 19, 1) 90%);
}

.major h2 {
    font-size: 3em;
}

















/* === Inter Cars – Strefa wiedzy (scoped) === */
.ic-knowledge {
  --ic-gap: 1.25rem;
  --ic-gap-sm: 0.75rem;
  --ic-maxw: 1100px;
  --ic-muted: #666;
  --ic-border: #e6e6e6;
  --ic-bg: #fafafa;
  --ic-radius: 12px;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
}

.ic-knowledge h1,
.ic-knowledge h2,
.ic-knowledge h3 {
  line-height: 1.2;
  margin: 0 0 var(--ic-gap);
}

.ic-knowledge h1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.ic-knowledge h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 2rem; }
.ic-knowledge h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin-top: 1.25rem; }

.ic-knowledge p { margin: 0 0 var(--ic-gap-sm); color: #222; }
.ic-knowledge .tagline { color: var(--ic-muted); margin-top: -0.25rem; }

.ic-knowledge ul.agenda {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: grid;
  gap: var(--ic-gap);
}

.ic-knowledge ul.agenda > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--ic-gap);
  align-items: start;
  padding: var(--ic-gap);
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
}

@media (max-width: 700px) {
  .ic-knowledge ul.agenda > li { grid-template-columns: 1fr; }
}

.ic-knowledge .time {
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.ic-knowledge .content > strong {
  display: block;
  margin-bottom: 0.25rem;
}

.ic-knowledge .speakers {
  display: block;
  color: var(--ic-muted);
  margin-bottom: 0.35rem;
}

.ic-knowledge .people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--ic-gap-sm);
  margin-top: var(--ic-gap-sm);
}

.ic-knowledge figure {
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: calc(var(--ic-radius) - 2px);
  overflow: hidden;
}

.ic-knowledge figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ic-knowledge figcaption {
  font-size: 0.9rem;
  padding: 0.5rem 0.6rem;
  color: #222;
}

/* ogólne elementy */
.ic-knowledge a { color: inherit; text-decoration: underline; }
.ic-knowledge a:hover { text-decoration-thickness: 2px; }




















/* === Inter Cars – Strefa Inter Cars (1 kolumna + zdjęcie) === */
.ic-intercars {
  --ic-gap: 1.25rem;
  --ic-gap-sm: .75rem;
  --ic-maxw: 1100px;
  --ic-border: #e6e6e6;
  --ic-bg: #fafafa;
  --ic-radius: 12px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
  color: #111;
}

.ic-intercars h1,
.ic-intercars h2 { line-height: 1.2; margin: 0 0 .8rem; }

.ic-intercars h1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.ic-intercars h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-top: 1.4rem; }

.ic-intercars .time-range { color: var(--ic-muted); margin: -.2rem 0 1rem; }
.ic-intercars p { margin: 0 0 .9rem; }

/* 🔽 układ pionowy zamiast kolumn */
.ic-intercars .ic-grid {
  display: flex;
  flex-direction: column;
  gap: var(--ic-gap);
  margin-bottom: 1.25rem;
}

.ic-intercars .checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}
.ic-intercars .checklist li {
  padding: .6rem .75rem;
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  background: var(--ic-bg);
}

.ic-intercars .tires {
  margin-top: 1.25rem;
  padding-top: .25rem;
  border-top: 1px solid var(--ic-border);
}

/* 📸 sekcja zdjęcia na końcu */
.ic-intercars .photo {
  margin-top: 1.75rem;
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  overflow: hidden;
  background: #fff;
}

.ic-intercars .photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ic-intercars .photo figcaption {
  padding: .6rem .8rem;
  font-size: .95rem;
  color: #222;
  border-top: 1px solid var(--ic-border);
  text-align: center;
}

.ic-intercars a { color: inherit; text-decoration: underline; }
.ic-intercars a:hover { text-decoration-thickness: 2px; }











/* === Inter Cars – Strefa partnerów (zdjęcia jedno pod drugim) === */
.ic-partners {
  --ic-gap: 1.25rem;
  --ic-gap-sm: .75rem;
  --ic-maxw: 1100px;
  --ic-border: #e6e6e6;
  --ic-bg: #fafafa;
  --ic-radius: 12px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
  color: #111;
}

.ic-partners h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 .6rem;
}

.ic-partners .time-range {
  color: var(--ic-muted);
  margin: -.1rem 0 1rem;
}

.ic-partners p { margin: 0 0 1rem; }

/* 🔽 zdjęcia w pionie */
.ic-partners figure {
  margin: 0 0 var(--ic-gap);
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  overflow: hidden;
}

.ic-partners figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.ic-partners figcaption {
  font-size: .92rem;
  padding: .6rem .8rem;
  color: #222;
  border-top: 1px solid var(--ic-border);
  text-align: center;
}

.ic-partners a { color: inherit; text-decoration: underline; }
.ic-partners a:hover { text-decoration-thickness: 2px; }

@media (max-width: 480px) {
  .ic-partners figure img { aspect-ratio: 16/9; object-fit: contain; }
}











/* === Inter Cars – Strefa Biznesu Kobiet (scoped) === */
.ic-women {
  --ic-gap: 1.25rem;
  --ic-gap-sm: .75rem;
  --ic-maxw: 1100px;
  --ic-border: #e7e7e7;
  --ic-bg: #fafafa;
  --ic-radius: 14px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
  color: #111;
}

.ic-women h1 { 
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 .6rem;
}

.ic-women .time-range { color: var(--ic-muted); margin: -.1rem 0 1rem; }
.ic-women p { margin: 0 0 1rem; }

.ic-women .cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--ic-gap);
  margin-top: .5rem;
}

.ic-women figure {
  margin: 0;
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ic-women figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.ic-women figcaption {
  padding: .9rem 1rem 1rem;
}

.ic-women figcaption h3 {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  margin: 0 0 .4rem;
}

.ic-women .role { 
  margin: 0 0 .4rem; 
  color: #222; 
  font-size: .95rem; 
}

.ic-women .details { 
  margin: 0 0 .5rem; 
  color: #333; 
  font-weight: 600; 
}

.ic-women .quote { 
  margin: 0; 
  font-style: italic; 
  color: #111; 
}

.ic-women a { color: inherit; text-decoration: underline; }
.ic-women a:hover { text-decoration-thickness: 2px; }










/* === Inter Cars – Gala wieczorna i koncert (scoped) === */
.ic-gala {
  --ic-gap: 1.25rem;
  --ic-gap-sm: .75rem;
  --ic-maxw: 1100px;
  --ic-border: #e6e6e6;
  --ic-bg: #fafafa;
  --ic-radius: 12px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
  color: #111;
}

.ic-gala .hero {
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: var(--ic-gap);
  margin-bottom: .4rem;
}
.ic-gala .hero img { width: 72px; height: auto; display: block; }
.ic-gala h1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.2; margin: 0; }

.ic-gala .time-range { color: var(--ic-muted); margin: .25rem 0 1rem; }
.ic-gala p { margin: 0 0 1rem; }

.ic-gala h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 1.4rem 0 .7rem; line-height: 1.2; }
.ic-gala h3 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin: 1rem 0 .5rem; }

.ic-gala .agenda-wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--ic-gap);
  align-items: start;
}
@media (max-width: 900px) { .ic-gala .agenda-wrap { grid-template-columns: 1fr; } }

.ic-gala .agenda {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}
.ic-gala .agenda li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: .8rem;
  align-items: start;
  padding: .75rem .9rem;
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
}
@media (max-width: 560px) { .ic-gala .agenda li { grid-template-columns: 1fr; } }
.ic-gala .agenda .time { font-weight: 700; white-space: nowrap; }
.ic-gala .agenda .what em { font-style: normal; font-weight: 700; }

.ic-gala .agenda-ill {
  margin: 0;
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  overflow: hidden;
  background: #fff;
}
.ic-gala .agenda-ill img { display: block; width: 100%; height: auto; }

.ic-gala .gala-video {
  width: 100%;
  max-width: 100%;
  border: 1px dashed var(--ic-border);
  border-radius: var(--ic-radius);
  background: #fff;
  display: block;
  margin-bottom: .75rem;
}

.ic-gala a { color: inherit; text-decoration: underline; }
.ic-gala a:hover { text-decoration-thickness: 2px; }

















/* === Inter Cars – Hotele i transfery (scoped) === */
.ic-hotels {
  --ic-gap: 1.25rem;
  --ic-gap-sm: .7rem;
  --ic-maxw: 1100px;
  --ic-border: #e6e6e6;
  --ic-bg: #fafafa;
  --ic-radius: 12px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.6;
  color: #111;
}

.ic-hotels h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 .8rem;
}
.ic-hotels h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.2;
  margin: .3rem 0 .6rem;
}

.ic-hotels p { margin: 0 0 1rem; }

.ic-hotels .features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .5rem;
}
.ic-hotels .features li {
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  padding: .6rem .8rem;
}

.ic-hotels .schedule {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .8rem;
}
.ic-hotels .schedule > li {
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  padding: .75rem .9rem;
}
.ic-hotels .schedule > li > strong {
  display: block;
  margin-bottom: .4rem;
}
.ic-hotels .schedule ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .3rem;
}

.ic-hotels .notice {
  margin: .4rem 0 1rem;
  color: #b00020;
}

.ic-hotels .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--ic-gap);
}

.ic-hotels figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ic-hotels figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.ic-hotels figcaption {
  padding: .6rem .8rem;
  border-top: 1px solid var(--ic-border);
  font-size: .95rem;
  text-align: center;
  color: #222;
}

.ic-hotels a { color: inherit; text-decoration: underline; }
.ic-hotels a:hover { text-decoration-thickness: 2px; }









/* === Inter Cars – Partnerzy (scoped) === */
.ic-suppliers {
  --ic-gap: 1.25rem;
  --ic-maxw: 1100px;
  --ic-border: #e6e6e6;
  --ic-radius: 12px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
  color: #111;
}

.ic-suppliers h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 .8rem;
}

.ic-suppliers .logos {
  margin: 0;
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  overflow: hidden;
  background: #fff;
}

.ic-suppliers .logos img {
  display: block;
  width: 100%;
  height: auto;
}

/* podpis pod grafiką (opcjonalnie) */
.ic-suppliers .logos figcaption {
  font-size: .92rem;
  color: var(--ic-muted);
  padding: .6rem .8rem;
  border-top: 1px solid var(--ic-border);
  text-align: center;
}

/* linki pozostają neutralne w obrębie sekcji */
.ic-suppliers a { color: inherit; text-decoration: underline; }
.ic-suppliers a:hover { text-decoration-thickness: 2px; }














/* === Inter Cars – Agenda (scoped) === */
.ic-agenda {
  --ic-gap: 1.25rem;
  --ic-gap-sm: .65rem;
  --ic-maxw: 1100px;
  --ic-border: #e6e6e6;
  --ic-bg: #fafafa;
  --ic-radius: 12px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.6;
  color: #111;
}

.ic-agenda h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 .8rem;
}

.ic-agenda h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
  margin: 1.2rem 0 .6rem;
}

.ic-agenda .day { margin-top: .25rem; }

.ic-agenda .list {
  list-style: none;
  padding: 0;
  margin: 0 0 .9rem;
  display: grid;
  gap: .6rem;
}

.ic-agenda .list > li {
  padding: .7rem .85rem;
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
}

.ic-agenda .time {
  display: inline-block;
  min-width: 130px;
  font-weight: 700;
  margin-right: .5rem;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .ic-agenda .time { display: block; min-width: 0; margin: 0 0 .25rem; }
}

.ic-agenda .sub {
  list-style: disc inside;
  margin: .35rem 0 0 .2rem;
  padding-left: 0;
  display: grid;
  gap: .25rem;
  color: #222;
}

.ic-agenda .dresscode {
  margin-top: 1.25rem;
  padding-top: .5rem;
  border-top: 1px solid var(--ic-border);
}
.ic-agenda .dresscode h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  margin: 0 0 .5rem;
  line-height: 1.25;
}
.ic-agenda .dc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}
.ic-agenda .dc-list li {
  padding: .6rem .8rem;
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
}

.ic-agenda a { color: inherit; text-decoration: underline; }
.ic-agenda a:hover { text-decoration-thickness: 2px; }










/* === Inter Cars – PIT STOP INSPIRACJI (scoped) === */
.ic-pitstop {
  --ic-gap: 1.25rem;
  --ic-gap-sm: .75rem;
  --ic-maxw: 1100px;
  --ic-border: #e6e6e6;
  --ic-bg: #fafafa;
  --ic-radius: 12px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
  color: #111;
}

.ic-pitstop h1,
.ic-pitstop h2 { line-height: 1.2; margin: 0 0 .8rem; }
.ic-pitstop h1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.ic-pitstop h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-top: 1.25rem; }

.ic-pitstop .time-range { color: var(--ic-muted); margin: -.2rem 0 1rem; }
.ic-pitstop p { margin: 0 0 .85rem; }

.ic-pitstop .agenda {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0 0;
  display: grid;
  gap: var(--ic-gap);
}

.ic-pitstop .agenda > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--ic-gap);
  align-items: start;
  padding: var(--ic-gap);
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
}

@media (max-width: 700px) {
  .ic-pitstop .agenda > li { grid-template-columns: 1fr; }
}

.ic-pitstop .agenda .time {
  font-weight: 700;
  white-space: nowrap;
}

.ic-pitstop .agenda .content > strong {
  display: inline-block;
  margin-bottom: .25rem;
}

.ic-pitstop .people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--ic-gap-sm);
  margin-top: var(--ic-gap-sm);
}

.ic-pitstop figure {
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: calc(var(--ic-radius) - 2px);
  overflow: hidden;
}

.ic-pitstop figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ic-pitstop figcaption {
  font-size: .92rem;
  padding: .5rem .6rem;
  color: #222;
}

.ic-pitstop a { color: inherit; text-decoration: underline; }
.ic-pitstop a:hover { text-decoration-thickness: 2px; }






/* === Inter Cars – Gwiazdy (scoped) === */
.ic-stars {
  --ic-gap: 1.25rem;
  --ic-gap-sm: 0.75rem;
  --ic-maxw: 1200px;
  --ic-border: #e7e7e7;
  --ic-bg: #fafafa;
  --ic-radius: 14px;
  --ic-muted: #666;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin-inline: auto;
  padding: var(--ic-gap);
  max-width: var(--ic-maxw);
  line-height: 1.55;
}

.ic-stars h1,
.ic-stars h2 {
  line-height: 1.2;
  margin: 0 0 .8rem 0;
}

.ic-stars h1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.ic-stars h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 2rem; }
.ic-stars .tagline { color: var(--ic-muted); margin: -.25rem 0 1rem; }

.ic-stars .cards {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(220px, 1fr) );
  gap: var(--ic-gap);
}

.ic-stars figure {
  margin: 0;
  background: var(--ic-bg);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ic-stars figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.ic-stars figcaption {
  padding: .9rem 1rem 1rem;
}

.ic-stars figcaption h3 {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  margin: 0 0 .35rem 0;
}

.ic-stars figcaption p {
  margin: 0;
  color: #222;
  font-size: .95rem;
}

.ic-stars a { color: inherit; text-decoration: underline; }
.ic-stars a:hover { text-decoration-thickness: 2px; }
















/* === Modal powiększania zdjęcia – wersja z poprawnym pinch-to-zoom === */

/* mini styl samego bloku ze zdjęciem na stronie */
.photo {
  max-width: 900px;
  margin: 1rem auto;
  cursor: zoom-in;
}
.photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* okno modalne */
.photo-modal {
  display: none;               /* ukryty na start */
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 1rem;
  /* ważne dla mobilnych inercji/odbicia */
  overscroll-behavior: contain;
}

.photo-modal.active {
  display: flex;
}

/* obszar roboczy dla obrazka – tu łapiemy gesty */
.photo-modal .modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 95vw;
  max-height: 95vh;
  margin: auto;
  background: transparent;
  overflow: hidden;            /* kadrowanie po przybliżeniu */
  touch-action: none;          /* wszystkie gesty przechwytujemy w JS */
  border-radius: 12px;
}

/* właściwy obrazek do zoomu/panowania */
.photo-modal .modal-content img {
  position: absolute;          /* sterujemy translate (tx,ty) */
  top: 0;
  left: 0;
  width: auto;                 /* rozmiar liczymy sami */
  height: auto;
  max-width: none;             /* wyłącz limity, bo my skalujemy */
  max-height: none;
  border-radius: 12px;
  object-fit: contain;

  -webkit-user-drag: none;     /* iOS Safari */
  -webkit-touch-callout: none; /* iOS Safari (długie przytrzymanie) */
  user-select: none;
  will-change: transform;
  transform-origin: 0 0;       /* bazujemy na (0,0) dla poprawnych obliczeń */
  transform: translate3d(0,0,0) scale(1);
}

/* przycisk zamykania */
.close-modal {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  line-height: 1;
}

@media (min-width: 768px) {
  .close-modal { font-size: 2.25rem; }
}




