/* =========================================================
   GLOBAL LAYOUT FIX — NO HORIZONTAL SCROLL + STICKY FOOTER
   (Use this block on any page that gets a bottom scroll bar)
========================================================= */
html, body {
    overflow-x: hidden;
    height: auto;
}

* {
    box-sizing: border-box;
}

/* =========================================================
   AXE PAGE — FORCE ALL TEXT WHITE
========================================================= */
.knifeaxe-container,
.knifeaxe-container * {
    color: #ffffff !important;
}

/* ------------------------------
   KNIFE & AXE BACKGROUND IMAGE
--------------------------------*/
body.knifeaxe-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.30)),
        url("../images/lukasz-szmigiel-2ShvY8Lf6l0-unsplash.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ------------------------------
   KNIFE & AXE PAGE WRAPPER
--------------------------------*/
.knifeaxe-container {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

/* ------------------------------
   HERO SECTION
--------------------------------*/
.knifeaxe-hero {
    text-align: center;
    margin-top: 200px;       /* space under nav */
    margin-bottom: 200px;
}

.knifeaxe-hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    padding: 0;
}

/* Subtitle block */
.knifeaxe-subtitle {
    font-size: 1.4rem;        /* smaller than title */
    font-weight: 600;
    margin-top: 30px;         /* moves it down from the title */
    line-height: 1.3;
    opacity: 0.9;
}

/* Stretched second line */
.knifeaxe-subtitle-long {
    display: inline-block;
    letter-spacing: 2px;      /* stretch horizontally */
    text-transform: uppercase; /* optional */
}

/* ------------------------------
   PROGRAM DETAILS
--------------------------------*/
.knifeaxe-details {
    margin-bottom: 40px;
}

.knifeaxe-details h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.knifeaxe-details p {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

/* ------------------------------
   CONTACT SECTION
--------------------------------*/
.knifeaxe-contact {
    margin-bottom: 40px;
}

.knifeaxe-contact h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-button {
    margin-top: 15px;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-button:hover {
    background-color: #333;
}

/* ------------------------------
   RULES SECTION
--------------------------------*/
.knifeaxe-rules {
    margin-bottom: 40px;
}

.knifeaxe-rules h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.knifeaxe-rules ul {
    padding-left: 20px;
}

.knifeaxe-rules li {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* ------------------------------
   GALLERY SECTION
--------------------------------*/
.knifeaxe-gallery {
    margin-bottom: 60px;
}

.knifeaxe-gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    overflow-x: hidden;
}

.img-placeholder {
    background-color: #ddd;
    padding: 40px 0;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 8px;
}

/* =========================================================
   AXE PAGE — PROGRAM DETAILS CARD
========================================================= */

.knifeaxe-details-card {
    background: rgba(210, 180, 140, 0.30);
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 60px auto;
    backdrop-filter: blur(2px);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    font-size: 2rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.25); /* soft white circle */
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.detail-item h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-item p {
    margin: 3px 0 0;
    font-size: 1.1rem;
}

/* Weather note bar */
.weather-note {
    margin-top: 35px;
    background: rgba(0, 128, 0, 0.15);
    padding: 18px 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    font-style: italic;
}

/* Stop italic text inside the rules card */
.knifeaxe-rules li {
    font-style: normal;
}

/* Left-align ONLY the rules section */
.knifeaxe-rules,
.knifeaxe-rules li,
.rules-content,
.rules-content li {
    text-align: left;
}

/* Keep your bold text bold */
.knifeaxe-rules li strong {
    font-weight: bold;
}

/* Wide Card Layout */
.knifeaxe-card {
    display: flex;
    gap: 30px;
    background: #5a4632; /* brown like your other cards */
    border: 4px solid #2f5e2f; /* green border */
    padding: 25px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1100px;
}

/* Left Side */
.knifeaxe-left {
    flex: 1;
    color: white;
}

.knifeaxe-left h2 {
    margin-bottom: 10px;
}

.contact-button {
    margin-top: 15px;
    padding: 10px 18px;
    background: #2f5e2f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Right Side */
.knifeaxe-right {
    flex: 2;
    color: white;
}

.knifeaxe-intro {
    margin-bottom: 20px;
}

/* Form Fields */
.knifeaxe-form .field-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.knifeaxe-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.knifeaxe-form input,
.knifeaxe-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 2px solid #2f5e2f;
    background: #fdfdfd;
}

/* Checkbox */
.field-checkbox {
    margin-top: 10px;
}

/* Submit Button */
.ka-submit {
    margin-top: 15px;
    padding: 12px 20px;
    background: #2f5e2f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* =========================================================
   FIX — MAKE TEXTAREA TYPED TEXT BLACK
========================================================= */
.knifeaxe-form textarea {
    color: black !important;
}

/* =========================================================
   FIX — MAKE SUBJECT INPUT TEXT BLACK
========================================================= */
.knifeaxe-form input {
    color: black !important;
}
