/*
Theme Name: Transportkurs
Theme URI: https://transportkurs.no
Author: Mithrandir
Description: Custom theme for Transportkurs.no built from scratch.
Version: 1.0.0
Text Domain: transportkurs
*/

:root {
  --tk-primary: #0f4c81;
  --tk-dark: #0f1f2f;
  --tk-light: #f5f7fb;
  --tk-grey: #4a5568;
  --tk-accent: #ffbf47;
}

body {
  font-family: 'Helvetica Neue', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1f2933;
  background: var(--tk-light);
  line-height: 1.6;
}

a {
  color: var(--tk-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.tk-hero {
  background: linear-gradient(135deg, #0b1f33 0%, #0f4c81 70%);
  color: #fff;
  padding: 4rem 0 3rem;
}

.tk-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: 0 1.25rem;
}

.tk-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.75);
}

.tk-course-search {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 30px 80px rgba(12,18,28,0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tk-course-search label {
  font-weight: 600;
  color: var(--tk-dark);
}

.tk-course-search__controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tk-course-search input,
.tk-course-search select {
  border: 1px solid #d6dbe5;
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  width: 100%;
}

.tk-course-search button {
  background: var(--tk-accent);
  border: none;
  color: #2c1600;
  font-weight: 700;
  border-radius: 0.65rem;
  padding: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tk-course-search button:hover {
  background: #dea331;
}

@media (min-width: 720px) {
  .tk-course-search__controls {
    flex-direction: row;
    align-items: center;
  }

  .tk-course-search input {
    flex: 2;
  }

  .tk-course-search select {
    flex: 1;
  }

  .tk-course-search button {
    flex: 0;
    min-width: 150px;
  }
}

.tk-article {
  background: #fff;
  margin: -2rem auto 0;
  padding: 3rem;
  border-radius: 1.5rem;
  max-width: 960px;
  box-shadow: 0 25px 60px rgba(15,23,42,0.08);
}

.tk-article figure {
  border-radius: 1rem;
  overflow: hidden;
}

.tk-author-box {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid #e1e4eb;
  border-radius: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fafbff;
}

.tk-author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.tk-footer {
  margin-top: 4rem;
  padding: 3rem 0;
  background: #0b1b2c;
  color: rgba(255,255,255,0.78);
}

.tk-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 1.25rem;
}

.tk-footer__branding {
  font-size: 1.1rem;
  font-weight: 600;
}
