/*
Theme Name: K&E Atletik Child
Theme URI: https://kogeatletik.dk/
Description: Child theme for Blogification by Theme Palace with custom front page support and K&E Atletik styling.
Author: Mikkel Nielsen
Template: blogification
Version: 1.3.0
Text Domain: ke-atletik-child
*/

/* =========================================================
   Blogification front page cleanup
   ========================================================= */
.home .page-header,
.home .entry-header,
.home .posted-on,
.home .byline,
.home .comments-link,
.home .edit-link,
.home .cat-links,
.home .tags-links,
.home .navigation.post-navigation,
.home .comments-area,
.home .widget-area,
.home #secondary,
.home .sidebar,
.home aside.widget-area {
	display: none !important;
}

.home .site-content,
.home .content-area,
.home .site-main,
.home article,
.home .page,
.home .hentry,
.home .entry-content {
	width: 100%;
	max-width: 100%;
}

.home article,
.home .page,
.home .hentry {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.home .entry-content {
	margin: 0 !important;
}

.home .site-main {
	padding: 0 !important;
}

.home .content-area {
	float: none !important;
	margin: 0 auto !important;
}

.home .site-content > .wrapper,
.home .content-area > .wrapper,
.home .site-main > .wrapper,
.home .page-section .wrapper,
.home .wrapper {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.home .custom-header,
.home .page-section,
.home .latest-posts-section,
.home .homepage-content-section,
.home .banner-section,
.home .featured-slider,
.home .section-header {
	display: none !important;
}

/* Footer cleanup */
.site-info,
.site-footer .site-info,
.site-footer .copyright,
.site-footer .copyright a {
	color: #111111;
}

.site-info a[href*="openai"],
.site-footer a[href*="openai"] {
	display: none !important;
}

/* =========================================================
   K&E Atletik design system
   ========================================================= */
:root{
  --ke-blue:#1737E8;
  --ke-blue-dark:#102DBF;
  --ke-text:#111111;
  --ke-muted:#5F6673;
  --ke-bg:#ffffff;
  --ke-bg-soft:#F7F8FC;
  --ke-border:#E6E8EF;
  --ke-radius:14px;
  --ke-radius-sm:10px;
  --ke-shadow:0 10px 30px rgba(17,17,17,0.06);
  --ke-shadow-soft:0 6px 18px rgba(17,17,17,0.04);
  --ke-wrap:1180px;
}

html { scroll-behavior: smooth; }

body {
	color: var(--ke-text);
	background: #fff;
}

.ke-wrap{
  width:min(100% - 32px, var(--ke-wrap));
  margin:0 auto;
}

.ke-section{
  padding:72px 0;
}

.ke-section--alt{
  background:var(--ke-bg-soft);
}

.ke-section__head{
  max-width:760px;
  margin:0 auto 32px;
  text-align:center;
}

.ke-section__head--left{
  margin:0 0 20px;
  text-align:left;
}

.ke-section__head h2{
  margin:0 0 12px;
  font-size:clamp(28px,4vw,42px);
  line-height:1.15;
  color:var(--ke-text);
}

.ke-section__head p{
  margin:0;
  font-size:18px;
  line-height:1.7;
  color:var(--ke-muted);
}

.ke-eyebrow{
  display:inline-block;
  margin:0 0 14px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ke-blue);
}

.ke-lead{
  font-size:19px;
  line-height:1.8;
  color:var(--ke-muted);
}

.ke-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 20px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  transition:.2s ease;
}

.ke-btn:hover{
  transform:translateY(-1px);
  text-decoration:none;
}

.ke-btn--primary,
.ke-btn--primary:link,
.ke-btn--primary:visited {
  background: var(--ke-blue);
  color: #ffffff !important;
  border: 1px solid var(--ke-blue);
  text-decoration: none;
}

.ke-btn--primary:hover,
.ke-btn--primary:focus {
  background: var(--ke-blue-dark);
  color: #ffffff !important;
  border-color: var(--ke-blue-dark);
  text-decoration: none;
}

.ke-btn--primary * {
  color: #ffffff !important;
}

.ke-btn--secondary,
.ke-btn--secondary:link,
.ke-btn--secondary:visited {
  background: #ffffff;
  color: var(--ke-blue) !important;
  border: 1px solid var(--ke-border);
  text-decoration: none;
}

.ke-btn--secondary:hover,
.ke-btn--secondary:focus {
  color: var(--ke-blue-dark) !important;
  border-color: var(--ke-blue);
  text-decoration: none;
}

.ke-link{
  display:inline-block;
  margin-top:14px;
  color:var(--ke-blue);
  font-weight:700;
  text-decoration:none;
}

.ke-link:hover{
  color:var(--ke-blue-dark);
  text-decoration:underline;
}

/* Hero */
.ke-hero{
  padding:80px 0 60px;
  background:linear-gradient(180deg,#ffffff 0%,#f7f9ff 100%);
}

.ke-hero__content{
  max-width:820px;
}

.ke-hero h1{
  margin:0 0 18px;
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
  letter-spacing:-0.02em;
  color:var(--ke-text);
}

.ke-hero p{
  margin:0;
}

.ke-hero__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

/* Grids */
.ke-grid{
  display:grid;
  gap:22px;
}

.ke-grid--3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.ke-grid--4{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

/* Cards */
.ke-card{
  background:#fff;
  border:1px solid var(--ke-border);
  border-radius:var(--ke-radius);
  padding:24px;
  box-shadow:var(--ke-shadow-soft);
  height:100%;
}

.ke-card h3{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.25;
}

.ke-card h3 a{
  color:var(--ke-text);
  text-decoration:none;
}

.ke-card h3 a:hover{
  color:var(--ke-blue);
}

.ke-card p{
  margin:0;
  color:var(--ke-muted);
  line-height:1.75;
}

.ke-card--feature{
  padding:28px;
}

.ke-card--mini{
  padding:18px 20px;
}

.ke-card--mini h3{
  margin:0;
  font-size:20px;
}

/* Topic pills */
.ke-topic-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.ke-topic-list a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 16px;
  background:#fff;
  border:1px solid var(--ke-border);
  border-radius:999px;
  color:var(--ke-text);
  text-decoration:none;
  font-weight:600;
  transition:.2s ease;
}

.ke-topic-list a:hover{
  border-color:var(--ke-blue);
  color:var(--ke-blue);
  text-decoration:none;
}

/* Split sections */
.ke-split{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

.ke-split__col{
  background:#fff;
  border:1px solid var(--ke-border);
  border-radius:var(--ke-radius);
  padding:28px;
  box-shadow:var(--ke-shadow-soft);
}

/* Lists */
.ke-list-card ul{
  margin:0;
  padding-left:20px;
}

.ke-list-card li{
  margin-bottom:12px;
}

.ke-list-card li:last-child{
  margin-bottom:0;
}

.ke-list-card a{
  color:var(--ke-text);
  text-decoration:none;
  font-weight:600;
}

.ke-list-card a:hover{
  color:var(--ke-blue);
  text-decoration:underline;
}

/* Blog / pages styling */
.single-post .entry-content,
.blog .post .entry-content,
.archive .post .entry-content,
.page .entry-content {
  color: var(--ke-text);
  font-size: 18px;
  line-height: 1.85;
}

.single-post .entry-content h2,
.page .entry-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--ke-text);
}

.single-post .entry-content h3,
.page .entry-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  color: var(--ke-text);
}

.single-post .entry-content h4,
.page .entry-content h4 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ke-text);
}

.single-post .entry-content p,
.page .entry-content p {
  margin: 0 0 20px;
  color: #2A2F38;
}

.single-post .entry-content ul,
.single-post .entry-content ol,
.page .entry-content ul,
.page .entry-content ol {
  margin: 0 0 24px 22px;
}

.single-post .entry-content li,
.page .entry-content li {
  margin-bottom: 10px;
  color: #2A2F38;
}

.single-post .entry-content a,
.page .entry-content a {
  color: var(--ke-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-post .entry-content a:hover,
.page .entry-content a:hover {
  color: var(--ke-blue-dark);
}

.single-post .entry-content blockquote,
.page .entry-content blockquote {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--ke-blue);
  background: var(--ke-bg-soft);
  border-radius: 0 var(--ke-radius-sm) var(--ke-radius-sm) 0;
  color: var(--ke-text);
}

.single-post .entry-content table,
.page .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 16px;
  background: #fff;
  border: 1px solid var(--ke-border);
}

.single-post .entry-content th,
.single-post .entry-content td,
.page .entry-content th,
.page .entry-content td {
  border: 1px solid var(--ke-border);
  padding: 12px 14px;
  text-align: left;
}

.single-post .entry-content th,
.page .entry-content th {
  background: var(--ke-bg-soft);
  font-weight: 700;
}

.single-post .entry-content img,
.page .entry-content img {
  border-radius: 12px;
  margin: 10px 0 24px;
}

.single-post .entry-content hr,
.page .entry-content hr {
  border: 0;
  border-top: 1px solid var(--ke-border);
  margin: 36px 0;
}

.single-post .post-title,
.single-post .entry-title,
.page .entry-title {
  color: var(--ke-text);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.small-preview,
.text-sep,
.post-meta-infos,
.blog-meta,
.extra-mini-title {
  color: var(--ke-muted) !important;
}

.widget,
.sidebar .widget {
  background: #fff;
  border: 1px solid var(--ke-border);
  border-radius: var(--ke-radius);
  padding: 22px;
  box-shadow: var(--ke-shadow-soft);
  margin-bottom: 24px;
}

.widgettitle,
.sidebar .widgettitle {
  margin-bottom: 14px;
  color: var(--ke-blue);
  font-size: 28px;
  line-height: 1.2;
}

input[type="text"],
input[type="search"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--ke-border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--ke-blue);
}

button,
input[type="submit"],
input[type="button"],
.form-submit .submit {
  border-radius: 999px !important;
}

@media (max-width:1100px){
  .ke-grid--4{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:900px){
  .ke-grid--3,
  .ke-split{
    grid-template-columns:1fr;
  }

  .ke-section{
    padding:56px 0;
  }

  .ke-hero{
    padding:56px 0 44px;
  }
}

@media (max-width:640px){
  .ke-grid--4{
    grid-template-columns:1fr;
  }

  .ke-wrap{
    width:min(100% - 24px, var(--ke-wrap));
  }

  .ke-card,
  .ke-split__col{
    padding:20px;
  }

  .ke-topic-list{
    gap:10px;
  }

  .ke-topic-list a{
    width:100%;
    justify-content:center;
  }

  .ke-hero__actions{
    flex-direction:column;
  }

  .ke-btn{
    width:100%;
  }
}
.ke-grid--2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

@media (max-width:900px){
  .ke-grid--2{
    grid-template-columns:1fr;
  }
}
.page .entry-header {
  display: none;
}