/* ===============================
   RESET
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===============================
   VARIABLER – LYS & SENSUEL
================================ */
:root {
  --bg-main: #faf6f4;
  --bg-card: #ffffff;
  --bg-soft: #f3ece8;

  --text-main: #1f1c1c;
  --text-muted: #7b6f6c;

  --accent-red: #e63946;
  --accent-rose: #ff5c8a;
  --accent-gold: #f3c677;

  --border-soft: rgba(0,0,0,.08);
  --shadow-soft: 0 18px 40px rgba(0,0,0,.12);
}

/* ===============================
   BODY
================================ */
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;

  background: linear-gradient(180deg, #ffffff, var(--bg-main));
  color: var(--text-main);
}

/* ===============================
   HEADER
================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: 1300px;
  margin: auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-red);
}

.main-nav a {
  margin: 0 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--accent-red);
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* ===============================
   PAGE
================================ */
.page-content {
  max-width: 1300px;
  margin: auto;
  padding: 50px 22px 100px;
}

.page-title {
  text-align: center;
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 40px;
}

/* ===============================
   SEARCH
================================ */
.search {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 50px;
}

.top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto auto auto;
  gap: 14px;
}

input,
select {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 15px 18px;
  border-radius: 16px;
  font-size: 15px;
  color: var(--text-main);
}

input::placeholder {
  color: #9d8f8b;
}

input:focus,
select:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent-rose);
  box-shadow: 0 0 0 3px rgba(255,92,138,.15);
}

/* ===============================
   BUTTONS
================================ */
.btn {
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-rose));
  color: #fff;
  box-shadow: 0 10px 26px rgba(230,57,70,.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(230,57,70,.45);
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--text-main);
  color: var(--text-main);
}

.btn.outline:hover {
  background: var(--text-main);
  color: #fff;
}

.reset-btn {
  border-style: dashed;
  color: var(--text-muted);
}

/* ===============================
   LIST ITEM (A-TAG)
================================ */
.list-item {
  display: block;
  background: var(--bg-card);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 36px;
  transition: transform .35s ease;
  overflow: hidden;
}

.list-item:hover {
  transform: translateY(-6px);
}

/* ===============================
   TEKST
================================ */
.list-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 6px;
}

.list-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.list-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.list-readmore {
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: 14px;
}

/* TAGS */
.list-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===============================
   BILLEDER – FORCE VIST (FLOAT)
================================ */
.list-item > .list-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;

  width: 300px;
  min-width: 300px;
  max-width: 300px;

  float: right;
  margin-left: 24px;
}

.list-item > .list-images img {
  display: block;
  width: 100%;
  height: 95px;
  object-fit: cover;
  border-radius: 16px;
}

/* ===============================
   BADGE
================================ */
.badge {
  background: linear-gradient(135deg, var(--accent-gold), #ffe6a1);
  color: #000;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  margin-left: 8px;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 900px) {

  .top-row {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .list-item > .list-images {
    float: none;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-top: 16px;
  }

  .list-item > .list-images img {
    height: 120px;
  }
}