/*
Theme Name: OFF-CAMBER Kadence Native
Theme URI: https://off-camber.de/
Description: Kadence Child Theme mit nativen Kadence Row Layout- und Section-Blöcken, importierbarer Starter-Site und OFF-CAMBER Blockbibliothek.
Author: OFF-CAMBER
Version: 3.0.0
Template: kadence
Text Domain: off-camber-kadence
Requires at least: 6.4
Requires PHP: 7.4
*/

:root {
  --oc-black: #0d0d0d;
  --oc-olive: #666544;
  --oc-bone: #f7f6f3;
  --oc-white: #ffffff;
  --oc-stone: #8d8d8d;
  --oc-line: #ddd9cf;
  --oc-content: 1320px;
  --oc-wide: 1600px;
  --oc-gutter: clamp(20px, 4vw, 64px);
  --oc-heading: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
  --oc-body: Inter, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--oc-bone); color: var(--oc-black); font-family: var(--oc-body); }
a { text-underline-offset: .2em; }

/* Kadence page shell */
body.page .content-area,
body.home .content-area,
body.page .site-container,
body.home .site-container { max-width: none; padding: 0; margin: 0; }
body.page .content-bg,
body.home .content-bg,
body.page.content-style-unboxed .site,
body.home.content-style-unboxed .site { background: var(--oc-bone); }
body.page .entry-content-wrap,
body.home .entry-content-wrap { padding: 0; }
body.home .entry-header,
body.page-template-default .entry-header.oc-hide-page-title { display: none; }
body.home .site-footer { display: none; }

.site-header-wrap .site-header-row-container-inner { background: rgba(247,246,243,.96); }
.site-main-header-inner-wrap { min-height: 82px; }
.site-branding img { max-height: 58px; width: auto; }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

/* Typography */
.oc-display,
.oc-section-title,
.oc-card-title,
.oc-post-title,
.oc-footer-logo,
.oc-product-title {
  font-family: var(--oc-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .015em;
}
.oc-display { font-size: clamp(58px, 7.5vw, 116px); line-height: .88; margin: 0; }
.oc-section-title { font-size: clamp(38px, 5vw, 70px); line-height: .95; margin: 0; }
.oc-card-title { font-size: clamp(42px, 5vw, 74px); line-height: .92; margin: 0 0 28px; color: #fff; }
.oc-kicker { font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.oc-lead { font-size: clamp(18px, 1.7vw, 25px); line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; max-width: 560px; }
.oc-copy { font-size: clamp(17px, 1.2vw, 20px); line-height: 1.7; }
.oc-muted { color: #6f706b; }

/* Buttons */
.wp-block-button.oc-button .wp-block-button__link,
.wp-block-button.oc-button-outline .wp-block-button__link {
  border-radius: 0;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  transition: .2s ease;
}
.wp-block-button.oc-button .wp-block-button__link { background: var(--oc-olive); color: #fff; border: 1px solid var(--oc-olive); }
.wp-block-button.oc-button .wp-block-button__link:hover { background: var(--oc-black); border-color: var(--oc-black); }
.wp-block-button.oc-button-outline .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.8); }
.wp-block-button.oc-button-outline .wp-block-button__link:hover { background: #fff; color: var(--oc-black); }

/* Native Kadence sections */
.oc-announcement > .kt-inside-inner-col { min-height: 30px; display: flex; align-items: center; justify-content: center; }
.oc-announcement p { margin: 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 700; }

.oc-hero-copy > .kt-inside-inner-col { min-height: 700px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(60px, 8vw, 130px) var(--oc-gutter); }
.oc-hero-image > .kt-inside-inner-col { min-height: 700px; }

.oc-collection-card { position: relative; overflow: hidden; }
.oc-collection-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.72)); pointer-events: none; }
.oc-collection-card > .kt-inside-inner-col { min-height: 470px; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: clamp(40px, 6vw, 82px); }
.oc-collection-card .oc-kicker { color: rgba(255,255,255,.8); }

.oc-section-pad > .kt-inside-inner-col { padding: clamp(78px, 8vw, 128px) var(--oc-gutter); }
.oc-contained > .kt-inside-inner-col { width: min(100%, var(--oc-content)); margin-inline: auto; }
.oc-narrow > .kt-inside-inner-col { width: min(100%, 820px); margin-inline: auto; }
.oc-section-head > .kt-inside-inner-col { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding-bottom: 42px; }
.oc-section-head a { color: var(--oc-black); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }

/* Products */
.oc-product-card > .kt-inside-inner-col { height: 100%; padding: 18px; background: #fff; }
.oc-product-card figure { margin: 0 0 20px; overflow: hidden; background: #f1efe9; }
.oc-product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .35s ease; }
.oc-product-card:hover img { transform: scale(1.025); }
.oc-product-title { font-size: 14px; line-height: 1.2; margin: 0 0 8px; }
.oc-price { font-size: 14px; font-weight: 800; margin: 0 0 12px; }
.oc-swatches { font-size: 15px; letter-spacing: .16em; color: var(--oc-olive); margin: 0; }

/* Journal */
.oc-journal-intro > .kt-inside-inner-col { min-height: 430px; display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 6vw, 90px); background: #d8d3c8; }
.oc-journal-feature > .kt-inside-inner-col { min-height: 430px; }
.oc-journal-posts.wp-block-latest-posts { margin: 0; padding: 0; }
.oc-journal-posts.wp-block-latest-posts.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--oc-line); }
.oc-journal-posts li { margin: 0; background: #fff; padding-bottom: 30px; }
.oc-journal-posts .wp-block-latest-posts__featured-image { margin: 0 0 26px; }
.oc-journal-posts .wp-block-latest-posts__featured-image img { width: 100%; height: 250px; object-fit: cover; }
.oc-journal-posts a { display: block; padding: 0 28px; color: var(--oc-black); font-family: var(--oc-heading); font-size: 28px; line-height: 1.05; text-transform: uppercase; text-decoration: none; }
.oc-journal-posts time { padding: 0 28px; display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.oc-journal-posts .wp-block-latest-posts__post-excerpt { padding: 0 28px; }

/* Benefits */
.oc-benefit > .kt-inside-inner-col { height: 100%; padding: 34px 24px; border-right: 1px solid var(--oc-line); }
.oc-benefit:last-child .kt-inside-inner-col { border-right: 0; }
.oc-benefit-mark { font-size: 30px; line-height: 1; color: var(--oc-olive); margin: 0 0 14px; }
.oc-benefit strong { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: .07em; margin-bottom: 5px; }
.oc-benefit p { margin: 0; font-size: 13px; color: #70716d; }

/* Newsletter + footer */
.oc-newsletter > .kt-inside-inner-col { padding: clamp(76px, 8vw, 124px) var(--oc-gutter); text-align: center; background: var(--oc-olive); color: #fff; }
.oc-newsletter .oc-section-title { color: #fff; }
.oc-newsletter .wp-block-buttons { justify-content: center; }
.oc-page-footer > .kt-inside-inner-col { padding: 72px var(--oc-gutter) 30px; background: #10110e; color: #fff; }
.oc-page-footer a { color: #c9c9c4; text-decoration: none; }
.oc-page-footer h3 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.oc-page-footer p, .oc-page-footer li { color: #c9c9c4; font-size: 14px; }
.oc-page-footer ul { list-style: none; padding: 0; margin: 0; }
.oc-page-footer li { margin: 9px 0; }
.oc-footer-logo { font-size: 36px; line-height: 1; color: #fff; margin: 0; }
.oc-footer-bottom { border-top: 1px solid #33362f; padding-top: 24px; margin-top: 48px; font-size: 11px; color: #8e9088; }

/* WooCommerce */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--oc-heading); text-transform: uppercase; letter-spacing: .03em; }
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button { border-radius: 0; background: var(--oc-olive); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }

@media (max-width: 1024px) {
  .oc-hero-copy > .kt-inside-inner-col, .oc-hero-image > .kt-inside-inner-col { min-height: 590px; }
  .oc-journal-posts.wp-block-latest-posts.is-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .oc-hero-copy > .kt-inside-inner-col { min-height: auto; padding-block: 80px; }
  .oc-hero-image > .kt-inside-inner-col { min-height: 480px; }
  .oc-collection-card > .kt-inside-inner-col { min-height: 390px; }
  .oc-section-head > .kt-inside-inner-col { align-items: flex-start; flex-direction: column; }
  .oc-journal-posts.wp-block-latest-posts.is-grid { grid-template-columns: 1fr; }
  .oc-benefit > .kt-inside-inner-col { border-right: 0; border-bottom: 1px solid var(--oc-line); }
  .oc-display { font-size: clamp(54px, 16vw, 76px); }
}
.oc-benefit-title { margin: 0 0 6px; font-size: 13px; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; }
.oc-footer-logo-image { margin: 0 0 22px; }
.oc-footer-logo-image img { width: 150px; height: auto; object-fit: contain; }
.oc-section-head-row { margin-bottom: 42px; }
.oc-goods-head-link > .kt-inside-inner-col { height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; }
.oc-goods-head-link a { color: var(--oc-black); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 767px) {
  .oc-goods-head-link > .kt-inside-inner-col { align-items: flex-start; justify-content: flex-start; }
}
body.page .entry-header { display: none; }
