/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #F0F8FF; /* AliceBlue - light blue page background */
    color: #333;
    padding-top: 20px; /* Space for top banner if it's fixed or to prevent overlap */
}

.page-container {
    max-width: 900px; /* Adjust as needed for content width */
    margin: 0 auto;
    background-color: #FFF; /* White background for the content area */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header Styles */
.page-header .soldiers-banner.top {
    width: 100%;
    height: auto; /* Adjust height as needed or based on image aspect ratio */
    display: block;
    object-fit: cover; /* Or contain, depending on the image */
    margin-bottom: 10px;
}

.main-title-banner-container {
    position: relative;
    width: 85%;
    margin: 20px auto;
    text-align: center;
}

.main-title-banner-background {
    background-color: #2c5d8a; /* Medium Blue */
    color: white;
    padding: 30px 20px; /* Increased padding */
    min-height: 80px; /* Ensure it has some height */
}

.main-title-banner-text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.main-title-text {
    font-size: 2em; /* Adjust as needed */
    font-weight: bold;
    color: white;
    display: block;
    line-height: 1.2;
}

.subtitle-banner-info {
    background-color: #79AACC; /* Lighter Blue */
    color: #000; /* Black text as in source */
    text-align: center;
    padding: 10px;
    margin: 0 auto 20px auto;
    width: 75%;
}

.subtitle-text {
    font-size: 1.1em;
    font-weight: bold;
}

/* Main Content Styles */
.main-content {
    padding: 20px;
}

.info-card, .content-block {
    margin-bottom: 30px;
    border: 1px solid #DDD;
    padding: 0; /* Padding will be inside elements */
    background-color: #fff;
}

.card-header-banner {
    background-color: #1e3a5f; /* Dark Blue */
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* For campaign tag positioning */
}

.card-header-content {
    display: flex;
    align-items: center;
}

.card-number-badge {
    background-color: white;
    color: #1e3a5f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.9em;
}

.card-title-main {
    font-size: 1.6em;
    font-weight: bold;
    margin: 0;
}

.campaign-tag-box {
    background-color: #2c5d8a; /* Medium blue, adjust if needed */
    color: white;
    font-size: 0.7em;
    padding: 5px 8px;
    text-align: center;
    line-height: 1.2;
    /* Simple rectangle for template. For skewed effect, add clip-path or transform */
    /* clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%); */
    /* Position it if it's absolute, or rely on flex */
    margin-left: 10px; /* If using flex on .card-header-banner */
}


.card-subtitle-main {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    padding: 10px 15px;
    background-color: #f7f7f7; /* Light greyish background for subtitle area */
    border-bottom: 1px solid #eee;
}

.card-content-flex {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    padding: 15px;
}

.card-text-column {
    flex: 2; /* Takes more space */
    padding-right: 20px; /* Space between text and image */
    min-width: 300px; /* Ensure text column has some width */
}

.card-text-column p {
    margin-bottom: 10px;
}

.card-image-column {
    flex: 1; /* Takes less space */
    min-width: 200px; /* Ensure image column has some width */
    text-align: center; /* Center image if it's smaller than column */
}

.content-image-style {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    /* Optional: Apply a blueish tint like in the documents */
    /* filter: sepia(0.2) hue-rotate(180deg) saturate(1.2) brightness(0.95); */
}

.content-block .block-question {
    font-size: 1.1em;
    font-weight: bold;
    color: #1e3a5f; /* Dark Blue */
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 0 15px;
}
.content-block p {
    margin-bottom: 15px;
    padding: 0 15px;
}


/* Footer Styles */
.page-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    background-color: #e9ecef; /* Light grey for footer background */
}

.footer-logo {
    height: 50px; /* Adjust as needed */
    margin-right: 10px;
}

.footer-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to the left within this block */
    font-size: 0.9em;
}

.hufiec-name {
    font-weight: bold;
}

.campaign-info {
    font-size: 0.8em;
}

.author-credits {
    font-size: 0.8em;
    text-align: right;
    margin-left: 10px;
}

.page-footer .soldiers-banner.bottom {
    width: 100%;
    height: auto; /* Adjust as needed */
    display: block;
    object-fit: cover;
    margin-top: 10px;
}

.footer-bottom-text {
    background-color: #1e3a5f; /* Dark Blue */
    color: white;
    padding: 8px;
    font-weight: bold;
    font-size: 1em;
}

/* Responsive adjustments (basic) */
@media (max-width: 768px) {
    .main-title-text {
        font-size: 1.8em;
    }
    .subtitle-text {
        font-size: 1em;
    }
    .card-content-flex {
        flex-direction: column;
    }
    .card-text-column {
        padding-right: 0;
        margin-bottom: 15px;
    }
    .footer-content-wrapper {
        flex-direction: column;
    }
    .footer-logo, .footer-text-block, .author-credits {
        margin-bottom: 10px;
        text-align: center; /* Center items in footer on small screens */
    }
    .footer-text-block {
        align-items: center;
    }
    .author-credits {
        text-align: center;
    }
    .card-header-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .campaign-tag-box {
        margin-top: 5px;
        align-self: flex-end; /* Keep it to the right */
    }
}
/* Dodatkowe style dla list wypunktowanych */
.card-text-column ul,
.content-block ul {
    list-style-type: none; /* Usuwa domyślne kropki przeglądarki */
    padding-left: 0;       /* Usuwa domyślne wcięcie listy */
    margin-top: 15px;      /* Dodaje trochę przestrzeni nad listą */
    margin-bottom: 15px;   /* Dodaje trochę przestrzeni pod listą */
}

.card-text-column li,
.content-block li {
    padding-left: 28px;     /* Tworzy wcięcie dla tekstu, zostawiając miejsce na niestandardowy punktor */
    position: relative;     /* Niezbędne do pozycjonowania pseudoelementu ::before */
    margin-bottom: 10px;    /* Odstęp między elementami listy */
    line-height: 1.6;       /* Poprawia czytelność tekstu w liście */
    color: #333;            /* Zapewnia spójny kolor tekstu */
}

/* Stylizacja niestandardowego punktora za pomocą pseudoelementu ::before */
.card-text-column li::before,
.content-block li::before {
    content: "•";           /* Możesz użyć innego znaku, np. "–", "›" */
    color: #1e3a5f;         /* Ciemnoniebieski kolor z motywu strony */
    font-weight: bold;
    font-size: 1.3em;       /* Rozmiar punktora */
    position: absolute;
    left: 5px;              /* Pozycja punktora od lewej krawędzi */
    top: -1px;              /* Precyzyjne dopasowanie pionowe punktora, możesz potrzebować to dostosować */
    line-height: 1.6;       /* Dopasowanie do line-height elementu li dla lepszego wyrównania */
}