/* ==========================================================================
   IkoBriq – Default Page Styles
   Applied to all pages using page.php (not custom templates or WooCommerce)
   ========================================================================== */

/* ── Page Hero ────────────────────────────────────────────────── */

.iko-page-hero {
    position: relative;
    background: linear-gradient(135deg, #2a4529 0%, #345838 40%, #447248 100%);
    padding: 72px 24px 56px;
    text-align: center;
    overflow: hidden;
}

.iko-page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(241, 148, 28, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.iko-page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.iko-page-hero__title {
    color: #fff;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
    font-family: 'Roboto', sans-serif;
}

.iko-page-hero__subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    margin: 0 0 16px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto', sans-serif;
}

/* Breadcrumb */
.iko-page-hero__breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Roboto', sans-serif;
}

.iko-page-hero__breadcrumb a,
.iko-page-hero__breadcrumb a:link,
.iko-page-hero__breadcrumb a:visited {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.iko-page-hero__breadcrumb a:hover {
    color: #F1941C !important;
}

.iko-page-hero__breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}


/* ── Page Content Area ────────────────────────────────────────── */

.iko-page-wrap--styled {
    background: #f9f8f4;
    padding-top: 48px;
    padding-bottom: 64px;
}

/* Hide Neve's default page title (we show it in the hero) */
.iko-page-wrap--styled .nv-page-title-wrap,
.iko-page-wrap--styled .nv-page-title,
.iko-page-wrap--styled .entry-header .entry-title {
    display: none;
}

/* Content container */
.iko-page-wrap--styled .nv-single-page-wrap {
    background: #fff;
    border: 1px solid #eae7df;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Content typography */
.iko-page-wrap--styled .entry-content {
    font-family: 'Roboto', sans-serif;
    color: #3d3d3d;
    line-height: 1.7;
}

.iko-page-wrap--styled .entry-content h2,
.iko-page-wrap--styled .entry-content h3,
.iko-page-wrap--styled .entry-content h4 {
    color: #345838;
    font-weight: 700;
    margin: 1.5em 0 0.75em;
    line-height: 1.3;
}

.iko-page-wrap--styled .entry-content h2 { font-size: 1.625rem; }
.iko-page-wrap--styled .entry-content h3 { font-size: 1.375rem; }
.iko-page-wrap--styled .entry-content h4 { font-size: 1.125rem; }

.iko-page-wrap--styled .entry-content p {
    font-size: 1.0625rem;
    margin: 0 0 1.5em;
}

.iko-page-wrap--styled .entry-content a,
.iko-page-wrap--styled .entry-content a:link,
.iko-page-wrap--styled .entry-content a:visited {
    color: #447248 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.iko-page-wrap--styled .entry-content a:hover {
    color: #F1941C !important;
}

.iko-page-wrap--styled .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.iko-page-wrap--styled .entry-content blockquote {
    border-left: 4px solid #F1941C;
    background: #fef3e2;
    margin: 1.5em 0;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.iko-page-wrap--styled .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.iko-page-wrap--styled .entry-content ul,
.iko-page-wrap--styled .entry-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

.iko-page-wrap--styled .entry-content li {
    margin-bottom: 0.5em;
    font-size: 1.0625rem;
}

.iko-page-wrap--styled .entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eae7df;
    margin: 1.5em 0;
}

.iko-page-wrap--styled .entry-content th {
    background: linear-gradient(135deg, #447248, #345838);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    text-align: left;
}

.iko-page-wrap--styled .entry-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #eae7df;
    font-size: 0.9375rem;
}

.iko-page-wrap--styled .entry-content tr:last-child td {
    border-bottom: none;
}

/* Forms inside pages (CF7, WPForms, etc.) */
.iko-page-wrap--styled .entry-content input[type="text"],
.iko-page-wrap--styled .entry-content input[type="email"],
.iko-page-wrap--styled .entry-content input[type="tel"],
.iko-page-wrap--styled .entry-content input[type="url"],
.iko-page-wrap--styled .entry-content textarea,
.iko-page-wrap--styled .entry-content select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.iko-page-wrap--styled .entry-content input:focus,
.iko-page-wrap--styled .entry-content textarea:focus {
    border-color: #447248;
    outline: none;
    box-shadow: 0 0 0 3px rgba(68, 114, 72, 0.15);
}

.iko-page-wrap--styled .entry-content input[type="submit"],
.iko-page-wrap--styled .entry-content button[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, #447248, #345838);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.iko-page-wrap--styled .entry-content input[type="submit"]:hover,
.iko-page-wrap--styled .entry-content button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(68, 114, 72, 0.3);
}


/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 600px) {
    .iko-page-hero {
        padding: 56px 20px 44px;
    }

    .iko-page-wrap--styled .nv-single-page-wrap {
        padding: 24px 20px;
    }

    .iko-page-wrap--styled {
        padding-top: 32px;
        padding-bottom: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iko-page-wrap--styled .entry-content input[type="submit"],
    .iko-page-wrap--styled .entry-content button[type="submit"] {
        transition: none !important;
        transform: none !important;
    }
}