/*
Theme Name: Creative Drip Conference Theme
Author: Creative Drip Adam Szczypczyk
Version: 1.1
Text Domain: conference-theme
Domain Path: /languages
*/

@import url(css/mobile-menu.css);

/* ============================================================
   ZMIENNE
   ============================================================ */
:root {
--primary-color: #1B2A59;
    --secondary-color: #8B1E59;
    --primary-dark: #1E1B4B;
    --white-color: #FFFFFF;
    --grey-color: rgb(244, 244, 244);
    --dark-grey-color: #e2e2e2;
}


/* ============================================================
   RESET
   ============================================================ */
*, html, body {
    margin: 0;
    padding: 0;
    text-decoration: none;
}
html {
    scroll-behavior: smooth; 
    font-size: 16px;
}
body {
    font-family: "Poppins", sans-serif;
}
img {
    max-width: 100%;
    height: auto;
}


/* ============================================================
   TYPOGRAFIA
   ============================================================ */
h2 {
    font-family: "Poppins";
    font-weight: 500;
}
.section-title h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-color);
}


/* ============================================================
   LAYOUT – OGÓLNE
   ============================================================ */
.container {
    max-width: 80vw;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}
.container-narrow{
    max-width: 760px;
    margin: 40px auto;
    padding: 0 20px 60px;
}
.page-wrapper {
    position: relative;
}
@media (max-width: 1024px){
    .container{
        max-width: 90vw;
    }
}

/* ============================================================
   SCROLL OFFSET (sticky nav)
   ============================================================ */
#zaproszenie, #comittee, #abstract, #program, #fee, #place {
    scroll-margin-top: 155px;
}
@media (max-width: 1024px) {
    #zaproszenie, #comittee {
        scroll-margin-top: 100px;
    }
}


/* ============================================================
   NAGŁÓWEK
   ============================================================ */
.top, .top-alt {
    margin: 0 auto;
    position: fixed;
    top: 20px;
    z-index: 100;
    width: 100%;
}
.top .container {
    display: flex;
    justify-content: space-between;
}
.top-alt .container {
    display: flex;
    justify-content: flex-end;
}
.top .logo {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    background-color: color-mix(in srgb, var(--primary-color) 65%, transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
    padding: 20px;
}
.top .logo img {
    max-height: 60px;
}
.top .nav,
.top-alt .nav {
    background-color: color-mix(in srgb, var(--primary-color) 65%, transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
    padding: 20px;
    align-content: center;
}
.top-alt .nav {
    border-radius: 14px;
}

@media (max-width: 1024px) {
    .top, .top-alt {
        padding: 0;
        margin-top: 0;
        top: 0;
        height: 100px;
    }
    .top-alt .nav {
        padding: 0;
    }
    .top .container,
    .top-alt .container {
        padding: 10px 0;
    }
    .top .logo {
        height: 80px;
    }
    .logo img {
        object-fit: cover;
        object-position: left;
        width: auto;
        height: 75px;
    }
    .top .logo .logo_usdk,
    .top .logo .logo_ucrp {
        width: 90px;
    }
    .menu-toggle {
        background-color: color-mix(in srgb, var(--primary-color) 65%, transparent);
        backdrop-filter: blur(10px);
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
        text-align: center;
        border-radius: 14px;
    }
    .menu-toggle.active {
        background-color: color-mix(in srgb, var(--white-color) 0%, transparent);
    }
}


/* ============================================================
   NAWIGACJA 
   ============================================================ */
.nav ul{
    display: flex;
    list-style: none;
}
.footer-nav ul{
    display: flex;
    flex-direction: column;
    list-style: none;
}
.nav ul li {
    position: relative;
}
.nav ul li a, .footer-nav ul li a {
    font-size: 1.2em;
    padding: 5px 10px;
    display: block;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    position: relative;
}

@media (max-width: 1024px) {
    .nav ul li a, .footer-nav ul li a {
        font-size: 1.6em;
    }
}

@media (min-width: 1024px) {
    .nav ul li a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: #FFFFFF;
        transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    }
    .nav ul li a:hover::after {
        width: 100%;
        left: 0;
    }
}


/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    width: 100%;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--grey-color);
    min-height: 400px;
    aspect-ratio: 16/9;
    /*filter: drop-shadow(0px 4px 10px #d3d3d3);*/
}
.hero-section .container {
    height: 2vh;
}
.hero-image::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(112, 30, 85, 0.6);
    clip-path: inherit;
}
.hero-text {
    max-width: 40%;
    color: rgb(112, 30, 85);
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: normal;
    position: relative;
    top: calc(95vw * -0.3);
}
.hero-text h1 {
    font-size: 5rem;
    margin-bottom: 10px;
}
.hero-text p {
    font-size: 2rem;
    line-height: 1.4;
}
.hero-scroll-arrow {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    width: 48px;
    height: 48px;
    animation: bounce 2s infinite;
}
.hero-scroll-arrow svg {
    width: 100%;
    height: 100%;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 1024px) {
    .hero-section .container {
        height: 0;
        padding: 0;
    }
    .hero-text {
        max-width: 100%;
        top: calc(95vw * -0.7);
    }
    .hero-text h1 {
        font-size: 3.5em;
    }
    .hero-text h1,
    .hero-text p {
        color: #FFFFFF;
    }
    .hero-section {
        width: 100%;
        background-image: var(--hero-bg-mobile);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--grey-color);
        min-height: 400px;
        aspect-ratio: 3/4;
        filter: drop-shadow(0px 4px 10px #d3d3d3);
    }
    .hero-image {
        height: 800px;
        clip-path: none;
    }
}


/* ============================================================
   ZAPROSZENIE
   ============================================================ */
.invitation-section {
    background-color: var(--primary-color);
    color: #FFF;
}
.invitation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.invitation-content {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.5em;
    font-weight: 300;
}
.invitation-content p {
    padding: 5px 0;
}
.invitation-image img {
    max-width: 450px;
    height: auto;
    border-radius: 10px;
}
.przewodniczacy {
    display: flex;
    flex-direction: column;
}
.image-caption {
    text-align: center;
}
.date-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.date-wrapper .date {
    font-family: 'Poppins';
    font-size: 2em;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .invitation-image,
    .image-caption {
        display: none;
    }
    .invitation-content{
        line-height: 1.5em;
    }
}


/* ============================================================
   AKORDEON
   ============================================================ */
.accordion {
    width: 100%;
    margin: 0 auto;
}
.accordion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1.4em;
    font-weight: 500;
    background: #FFF;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.accordion-header:hover {
    background: #e0e0e0;
}
.accordion-content {
    display: none;
    padding: 15px;
    background: white;
    border-top: 1px solid #ccc;
}


/* ============================================================
   ODLICZANIE
   ============================================================ */
.countdown-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.countdown-txt {
    font-size: 2.5rem;
    font-family: "Poppins";
    padding-right: 100px;
}
.countdown {
    display: flex;
    gap: 20px;
    text-align: center;
    font-size: 2rem;
    padding: 40px;
}
.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 14px;
    width: 100px;
}
.countdown span {
    font-size: 1.5rem;
    margin-top: 5px;
}

@media (max-width: 1024px) {
    .countdown-section .container {
        flex-direction: column;
        padding: 30px 0;
    }
    .countdown {
        gap: 10px;
        padding: 20px 0;
    }
    .countdown-txt {
        padding-right: 0;
    }
    .countdown div {
        width: 80px;
    }
    .countdown span {
        font-size: 1.25rem;
    }
}
@media (max-width: 600px){
    .countdown .seconds{
        display: none;
    }
}


/* ============================================================
   KOMITET
   ============================================================ */
.committees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.committee__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.committee__member {
  padding: 0.4rem 0;
}

/* ============================================================
   ABSTRAKTY
   ============================================================ */
.abstract-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: rgb(112, 30, 85);
}
.abstract-section .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 0;
}
.abstract-section .grafika {
    max-width: 20%;
}
.abstract-section .grafika p {
    text-align: center;
}

@media (max-width: 1024px) {
    .abstract-section .row {
        flex-direction: column;
        align-items: center;
    }
    .abstract-section .grafika {
        max-width: 70%;
    }
}


/* ============================================================
   PRZYCISK
   ============================================================ */
.button {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 1.5rem;
    background-color: rgb(112, 30, 85);
}
.button a {
    color: #FFF;
    display: block;
    padding: 15px 30px;
}
.button a:visited {
    color: #FFF;
}


/* ============================================================
   MIEJSCE
   ============================================================ */
.place-section {
    background: var(--primary-color);
}
.place-section .section-title h2 {
    color: #FFF;
}
.place-section img {
    max-width: 550px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
}
.place-section .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 0;
    align-items: center;
    gap: 30px;
}
.place-section .txt h2 {
    font-size: 2rem;
    color: #FFF;
    
}
.place-section .txt h3 {
    font-size: 1.5rem;
    color: #FFF;
    padding-top: 2rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .place-section .row {
        flex-direction: column-reverse;
    }
    .place-section img {
        margin-top: 30px;
        max-width: 100%;
    }
    .place-section .txt {
        text-align: center;
    }
}


/* ============================================================
   PROGRAM
   ============================================================ */
.program-section .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.program-section .container table td {
    padding: 10px 15px 10px 0;
    min-width: 100px;
}
.page-header img{
    max-width: 350px;
}

/* ============================================================
   NOCLEGI
   ============================================================ */

/* Sekcja główna */
.accommodation__intro {
  margin: 2rem 0;
  line-height: 1.5em;
}

/* Grid – desktop: dwie kolumny, mobile: jedna */
.accommodation__hotels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .accommodation__hotels {
    grid-template-columns: 1fr;
  }
}

/* Karta hotelu */
.accommodation__hotel {
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.accommodation__hotel h3 {
  margin: 0 0 0.25rem;
}

.accommodation__hotel > p {
  margin: 0 0 1rem;
  color: #666;
  font-size: 0.9rem;
}

/* Cennik */
.hotel__prices {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.hotel__prices li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.hotel__prices li:last-child {
  border-bottom: none;
}

/* Kontakt */
.hotel__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.hotel__contact a {
  text-decoration: none;
  color: inherit;
}

.hotel__contact a:hover {
  text-decoration: underline;
}
/* Przycisk rezerwacji (opcjonalny link zewnętrzny per hotel) */
.hotel__book-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 22px;
  background: var(--primary-color);
  color: var(--white-color);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: background .3s ease-in-out;
}

.hotel__book-btn:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}
/* ============================================================
   OPŁATY
   ============================================================ */
.fee-section {
    background: url('img/dynamic_waves_light.png') no-repeat 60% 40%;
}
.fee-section .container .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    color: white;
    padding: 10px 0;
}
.fee-section .row .column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fee-section .price {
    font-size: 3rem;
    font-weight: 600;
    color: #FFF;
}
.fee-section h3,
.fee-section .column h2,
.fee-section p {
    color: #FFF;
}
.fee-section .column h2 {
    font-size: 1.5rem;
    padding: 5px 0;
}
.fee-section p {
    padding: 5px 0;
}

@media (max-width: 1024px) {
    .fee-section .container .row {
        flex-direction: column;
        gap: 20px;
    }
}


/* ============================================================
   REJESTRACJA
   ============================================================ */
.register-section p {
    text-align: center;
}
.register-section .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 0;
}
.register-section .button {
    margin: 50px 0;
}


/* ============================================================
   TRIATHLONICUS — KONKURS ROBOTYCZNY
   ============================================================ */
.triathlonicus-section .container {
    text-align: center;
}
.triathlonicus-content {
    max-width: 760px;
    margin: 0 auto 24px;
    line-height: 1.5em;
    text-align: center;
}
.triathlonicus-content p {
    padding: 5px 0;
}
.btn-register {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 4px;
    font-weight: 600;
    transition: background .4s ease-in-out, transform .1s;
}
.btn-register:visited {
    color: var(--white-color);
}
.btn-register:hover {
    background: var(--secondary-color);
}
.btn-register:active {
    transform: scale(.99);
}
.triathlonicus-registration-info {
    display: inline-block;
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 24px;
    background: var(--grey-color);
    border-radius: 4px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.10);
    color: var(--primary-color);
    font-weight: 500;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--primary-dark);
}
.footer .container {
    display: flex;
    justify-content: space-between;
}
.footer .organizer {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 20px;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    padding: 20px;
}
.footer .organizer p{
    color: var(--white-color);
    font-weight: 500;
}
.footer .organizer img {
    max-height: 110px;
}
.footer .nav ul {
    flex-direction: column;
    align-items: end;
}
.bottom {
    background-color: #212326;
    color: #FFF;
}
.bottom .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}
.bottom a {
    color: #FFF;
}

@media (max-width: 1024px) {
    .bottom .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer .container{
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .footer .logo{
        flex-direction: row;
        justify-content: center;
    }
    .footer .logo img{
        max-height: 60px;
    }
    
}


/* ============================================================
   WOOCOMMERCE – PRODUKT WYDARZENIE
   ============================================================ */
.event-product .event-purchase p.price { display: none; }
.event-product .event-purchase .label { text-align: left; }
.event-product .event-purchase .value { padding: 10px; }
.event-product .quantity .input-text { display: none; }
.reset_variations { display: none; }

.event-product article {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-content: center;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .event-product article {
        flex-direction: column;
    }
}

.return-button {
    display: block;
    max-width: 200px;
    margin: 20px 0;
    background: #212326;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.return-button a,
.return-button a:visited,
.event-product .return-button a {
    color: white;
}

.variations_form select,
.woocommerce-billing-fields select {
    background-color: #f0f0f0;
    border: none;
    width: 300px;
    padding: 10px 20px;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('ścieżka/do/strzałki.svg');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 15px;
}

.event-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}
.event-image img {
    max-width: 600px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.event-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
.event-purchase,
.event-extras {
    margin-top: 30px;
    padding: 20px;
}
.event-purchase h2,
.event-extras h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.single_add_to_cart_button {
    display: block;
    width: 100%;
    margin: 30px 0;
    background: #5A1643;
    color: white;
    text-align: center;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.single_add_to_cart_button:hover {
    background: #c82285;
}

.checkout-title {
    text-align: center;
    margin: 40px 0;
}
.checkout-container .woocommerce img {
    max-width: 150px;
}

.woocommerce-billing-fields input {
    font-size: 1em;
    padding: 5px 0;
}
.woocommerce #order_review_heading {
    margin: 20px 0;
}
.woocommerce-checkout-payment {
    background-color: rgba(0, 0, 0, 0) !important;
}
.payment_box {
    background-color: rgba(133, 38, 101, 0.3) !important;
}
.payment_box::before {
    border: none !important;
}
#place_order {
    background: #5A1643 !important;
}


/* ============================================================
   AGENDA
   ============================================================ */
.agenda__session {
    border-left: 2px solid var(--dark-grey-color);
    margin-bottom: 48px;
    padding-left: 28px;
    position: relative;
}
.agenda__session::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}
.agenda__session-time {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}
.agenda__session-name {
    font-size: 1.375em;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 10px;
}
.agenda__moderators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    color: #666;
}
.agenda__moderators-label {
    font-weight: 500;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #aaa;
    margin-right: 2px;
}
.agenda__moderator {
    /*background: #f5f5f5;*/
    background: var(--primary-color);
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    color: white;
}
.agenda__lectures {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.agenda__lecture {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background .15s, border-color .15s;
}
.agenda__lecture:hover {
    /*background: #fafafa;*/
    background: color-mix(in srgb, var(--secondary-color) 5%, transparent);
    /*border-color: #ebebeb;*/
}
.agenda__lecture-time {
    font-size: 12px;
    font-weight: 500;
    color: #aaa;
    padding-top: 2px;
    white-space: nowrap;
    letter-spacing: .03em;
}
.agenda__lecture-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.agenda__lecture-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}
.agenda__lecturers {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.agenda__lecturer {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.agenda__lecturer strong {
    font-weight: 500;
    color: #333;
}
.agenda__lecturer-org {
    font-size: 12px;
    color: #aaa;
}
.agenda__lecturer-org::before {
    content: '·';
    margin-right: 6px;
    opacity: .5;
}

@media (max-width: 480px) {
    .agenda__lecture {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .agenda__session-name {
        font-size: 18px;
    }
}
.agenda__day {
    width: 100%;
}
.agenda__day + .agenda__day {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}
.agenda__day-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 24px;
}


/* ============================================================
   PARTNERZY I PATRONATY
   ============================================================ */
.patronage-section .section-title {
    padding-top: 50px;
}
.patronage-section .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    justify-items: center;
}

/* Patronat honorowy */
.row.honorary-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 56px;
}
.partners__honorary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 300px;
    flex: 0 1 auto;
}
.partners__honorary-logo {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.partners__honorary-name {
    font-size: 1.3em;
    font-weight: 500;
    margin: 0;
    line-height: 1.35;
}
.partners__honorary-role {
    font-size: 1em;
    color: #888;
    line-height: 1.55;
    margin: 0;
}

/* Grid logo partnerów */
.row.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: center;
    justify-items: center;
    gap: 24px 32px;
    margin-bottom: 40px;
}
.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .15s;
}
.sponsor-item a:hover {
    opacity: .65;
}
.sponsor-item img {
    max-height: 70px;
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
/*    .patronage-section .row{
        flex-direction: column;
        align-items: center;
    }*/
    .row.honorary-row {
        display: flex;
        gap: 28px;
    }
    .row.partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
    .sponsor-item img {
        max-height: 44px;
        max-width: 150px;
    }
}

/* ============================================================
   FORMULARZE ABSTRAKTÓW (PL + EN)
   Wklej do style.css motywu
   Używa zmiennych już zdefiniowanych w :root motywu:
   --primary-color, --secondary-color, --white-color, --grey-color
   ============================================================ */

.ab-wrap h1 {
    font-family: "Chakra Petch", sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.ab-lead {
    color: #666;
    margin-bottom: 32px;
    font-size: .95rem;
    line-height: 1.6;
}

/* Sekcje */
.ab-section {
    background: var(--white-color);
    border: 1px solid #dcc4d6;
    border-radius: 4px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.10);
}

.ab-section h2 {
    font-family: "Chakra Petch", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary-color);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid color-mix(in srgb, var(--primary-color) 12%, white);
}

/* Grid */
.ab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ab-field.span-2 {
    grid-column: span 2;
}

@media (max-width: 540px) {
    .ab-grid { grid-template-columns: 1fr; }
    .ab-field.span-2 { grid-column: span 1; }
    .ab-section { padding: 20px 18px; }
}

/* Pola formularza */
.ab-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-field label {
    font-size: .875rem;
    font-weight: 600;
    color: #222;
}

.ab-field label .req {
    color: var(--primary-color);
    margin-left: 2px;
}

.ab-field .ab-hint {
    font-size: .78rem;
    color: #666;
}

.ab-field input[type="text"],
.ab-field input[type="email"],
.ab-field textarea {
    padding: 10px 14px;
    border: 1px solid #dcc4d6;
    border-radius: 4px;
    font-size: .95rem;
    font-family: "Outfit", sans-serif;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
    color: #222;
    background: #fff;
}

.ab-field input[type="text"]:focus,
.ab-field input[type="email"]:focus,
.ab-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 12%, transparent);
}

.ab-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.ab-field textarea.tall {
    min-height: 280px;
}

/* Autorzy */
.ab-authors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.ab-author-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: center;
}

@media (max-width: 540px) {
    .ab-author-row { grid-template-columns: 1fr auto; }
    .ab-author-row input:first-child { grid-column: span 2; }
}

.ab-author-row input {
    padding: 9px 12px;
    border: 1px solid #dcc4d6;
    border-radius: 4px;
    font-size: .9rem;
    font-family: "Outfit", sans-serif;
    width: 100%;
    box-sizing: border-box;
    color: #222;
    background: #fff;
}

.ab-author-row input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.ab-btn-remove {
    background: none;
    border: 1px solid #dcc4d6;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    padding: 8px 10px;
    font-size: 1rem;
    line-height: 1;
    transition: border-color .18s, color .18s;
    flex-shrink: 0;
}

.ab-btn-remove:hover {
    border-color: #c62828;
    color: #c62828;
}

.ab-btn-add {
    background: none;
    border: 2px dashed #dcc4d6;
    border-radius: 4px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px 16px;
    font-size: .9rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    transition: border-color .18s, background .18s;
    font-family: "Outfit", sans-serif;
}

.ab-btn-add:hover {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 6%, white);
}

/* Licznik słów */
.ab-word-counter {
    display: flex;
    justify-content: flex-end;
    font-size: .82rem;
    color: #666;
    margin-top: 6px;
    transition: color .18s;
}

.ab-word-counter.warn { color: #e65100; }
.ab-word-counter.over { color: #c62828; font-weight: 700; }

/* Oświadczenie */
.ab-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: color-mix(in srgb, var(--primary-color) 6%, white);
    border: 2px solid #dcc4d6;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .2s;
}

.ab-consent:has(input:checked) {
    border-color: var(--primary-color);
}

.ab-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.ab-consent-text {
    font-size: .88rem;
    line-height: 1.6;
    color: #222;
}

/* Przycisk — spójny z .single_add_to_cart_button motywu */
.ab-submit {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    letter-spacing: .03em;
    transition: background .4s ease-in-out, transform .1s;
    margin-top: 8px;
}

.ab-submit:hover  { background: var(--secondary-color); }
.ab-submit:active { transform: scale(.99); }
.ab-submit:disabled { opacity: .5; cursor: not-allowed; }

/* Komunikaty */
.ab-error-box {
    display: none;
    padding: 12px 16px;
    background: #ffebee;
    border: 1px solid #ef9a9a;
    border-radius: 4px;
    color: #c62828;
    font-size: .9rem;
    margin-top: 12px;
}

.ab-success-box {
    display: none;
    padding: 32px 24px;
    background: color-mix(in srgb, var(--primary-color) 8%, white);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.6;
    margin-top: 24px;
}

.ab-success-box strong {
    display: block;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.ab-loader {
    display: none;
    text-align: center;
    color: #666;
    font-size: .9rem;
    padding: 12px;
}

/* ============================================================
   TLO SEKCJI: JASNE / CIEMNE
   Przelacznik w ustawieniach kazdego z 9 blokow tresciowych
   (pole "Tlo sekcji"). Klasa .section-bg-light / .section-bg-dark
   trafia na zewnetrzny div sekcji (np. .program-section), ktory
   nie jest ograniczony szerokoscia .container, wiec tlo rozciaga
   sie na cala szerokosc okna przegladarki.
   ============================================================ */

/* --- Domyslne warianty (dzialaja dla wiekszosci z 9 sekcji) --- */
.section-bg-light {
    background-color: var(--white-color);
}
.section-bg-dark {
    background-color: var(--primary-color);
    color: #FFF;
}

/* Wspolny naglowek sekcji (".section-title h2") jest na sztywno
   ustawiony na granatowy kolor marki - w trybie ciemnym trzeba go
   zamienic na bialy. */
.section-bg-dark .section-title h2 {
    color: #FFF;
}

/* --- Zaproszenie: domyslnie ciemne (tak jak dotychczas). Ponizej
   wariant jasny, ktorego wczesniej nie bylo wcale. --- */
.invitation-section.section-bg-light {
    background-color: var(--white-color);
    color: #222;
}
.invitation-section.section-bg-light .chairman-title,
.invitation-section.section-bg-light .image-caption {
    color: #222;
}

/* --- Oplaty: domyslnie ciemne (grafika tla, dynamic_waves_light.png).
   Wariant jasny usuwa grafike i przywraca ciemny tekst tresci. --- */
.fee-section.section-bg-light {
    background: var(--white-color);
    color: #222;
}

/* --- Miejsce: domyslnie ciemne (grafika tla, Asset3.png, + twardo
   bialy tekst naglowkow). Wariant jasny usuwa grafike i przywraca
   granatowy kolor naglowkow. --- */
.place-section.section-bg-light {
    background: var(--white-color);
}
.place-section.section-bg-light .section-title h2,
.place-section.section-bg-light .txt h2,
.place-section.section-bg-light .txt h3 {
    color: var(--primary-color);
}

/* --- Program (agenda): dopasowanie szarych akcentow do ciemnego tla --- */
.section-bg-dark .agenda__day-title {
    color: #FFF;
}
.section-bg-dark .agenda__day + .agenda__day {
    border-top-color: rgba(255, 255, 255, 0.2);
}
.section-bg-dark .agenda__session {
    border-left-color: rgba(255, 255, 255, 0.3);
}
.section-bg-dark .agenda__session-time {
    color: rgba(255, 255, 255, 0.65);
}
.section-bg-dark .agenda__moderators {
    color: rgba(255, 255, 255, 0.85);
}
.section-bg-dark .agenda__moderators-label {
    color: rgba(255, 255, 255, 0.55);
}
.section-bg-dark .agenda__moderator {
    background: var(--secondary-color);
    border-color: rgba(255, 255, 255, 0.3);
}
.section-bg-dark .agenda__lecture:hover {
    background: rgba(255, 255, 255, 0.08);
}
.section-bg-dark .agenda__lecture-time {
    color: rgba(255, 255, 255, 0.6);
}
.section-bg-dark .agenda__lecturer {
    color: rgba(255, 255, 255, 0.85);
}
.section-bg-dark .agenda__lecturer strong {
    color: #FFF;
}
.section-bg-dark .agenda__lecturer-org {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Noclegi: karty hoteli na ciemnym tle --- */
.section-bg-dark .accommodation__hotel {
    border-color: rgba(255, 255, 255, 0.25);
}
.section-bg-dark .accommodation__hotel > p {
    color: rgba(255, 255, 255, 0.75);
}
.section-bg-dark .hotel__prices li {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* --- Patronaty / Partnerzy: podpis roli na ciemnym tle --- */
.section-bg-dark .partners__honorary-role {
    color: rgba(255, 255, 255, 0.75);
}

/* --- Odliczanie: liczniki maja wlasne granatowe "chipy" niezaleznie
   od tla sekcji - w trybie ciemnym rozjasniamy je, zeby nie zlewaly
   sie z granatowym tlem sekcji. --- */
.section-bg-dark .countdown div {
    background: rgba(255, 255, 255, 0.15);
}


/* ============================================================
   WYKLADOWCY
   ============================================================ */
.speakers__grid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 32px 24px;
    margin-top: 24px;
}
.speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.speaker-card--clickable {
    cursor: pointer;
    border-radius: 8px;
    padding: 12px 8px;
    transition: background .15s;
}
.speaker-card--clickable:hover,
.speaker-card--clickable:focus-visible {
    background: color-mix(in srgb, var(--secondary-color) 8%, transparent);
    outline: none;
}
.speaker-card__photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--grey-color);
}
.speaker-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.speaker-card__name {
    font-weight: 500;
    font-size: 1.05rem;
}
.speaker-card__affiliation {
    font-size: .875rem;
    color: #666;
}

/* --- Popup z bio --- */
.speaker-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 37, 61, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}
.speaker-modal-overlay[hidden] {
    display: none;
}
.speaker-modal {
    position: relative;
    background: var(--white-color);
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.speaker-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
}
.speaker-modal__close:hover {
    color: #222;
}
.speaker-modal__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
}
.speaker-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.speaker-modal__name {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 0 4px;
}
.speaker-modal__affiliation {
    font-size: .95rem;
    color: #666;
    margin: 0 0 16px;
}
.speaker-modal__bio {
    font-size: .95rem;
    line-height: 1.6;
    white-space: pre-line;
    text-align: left;
    margin: 0;
}
body.speaker-modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .speaker-card__photo {
        width: 110px;
        height: 110px;
    }
    .speakers__grid{
        grid-template-columns: auto;
    }
}

/* --- Tryb ciemny (dziedziczy z .section-bg-dark) --- */
.section-bg-dark .speaker-card__affiliation {
    color: rgba(255, 255, 255, 0.75);
}
.section-bg-dark .speaker-card--clickable:hover,
.section-bg-dark .speaker-card--clickable:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}


.contact-section{
    max-width: 800px;
    margin: 0 auto;
}