
/* Lidl Brand & Retail Design System */
:root {
  --lidl-blue: #0050aa;
  --lidl-dark-blue: #003b80;
  --lidl-red: #e30613;
  --lidl-yellow: #fff000;
  --lidl-grey-bg: #f2f3f5;
  --lidl-card-border: #e0e0e0;
  --lidl-text-dark: #222222;
  --lidl-text-muted: #555555;
  --font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-family);
  background-color: var(--lidl-grey-bg);
  color: var(--lidl-text-dark);
  line-height: 1.5;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background-color: var(--lidl-dark-blue);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.top-bar-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 1.2rem;
}
.top-bar-links a:hover { text-decoration: underline; }

/* MAIN NAV HEADER */
header.lidl-header {
  background-color: var(--lidl-blue);
  color: #ffffff;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.lidl-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.lidl-brand-logo svg {
  width: 52px;
  height: 52px;
}

.lidl-brand-text {
  color: #ffffff;
}

.lidl-brand-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}

.lidl-brand-subtitle {
  font-size: 0.75rem;
  color: var(--lidl-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SEARCH & NAVIGATION */
.lidl-search-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  max-width: 550px;
  margin: 0 2rem;
}

.lidl-search-container input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 0.95rem;
  outline: none;
}

.lidl-search-container button {
  background-color: var(--lidl-yellow);
  color: var(--lidl-blue);
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: bold;
  font-size: 0.95rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.lidl-search-container button:hover {
  background-color: #e6d800;
}

.lidl-nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.lidl-nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}

.lidl-nav-links a:hover {
  color: var(--lidl-yellow);
}

/* BREADCRUMB BAR */
.lidl-breadcrumb {
  background-color: #ffffff;
  padding: 0.6rem 2rem;
  font-size: 0.85rem;
  color: var(--lidl-text-muted);
  border-bottom: 1px solid var(--lidl-card-border);
}

.lidl-breadcrumb a {
  color: var(--lidl-blue);
  text-decoration: none;
  font-weight: bold;
}

.lidl-breadcrumb a:hover { text-decoration: underline; }

/* HERO PROMO BANNER */
.lidl-hero-banner {
  background: linear-gradient(135deg, var(--lidl-blue) 0%, var(--lidl-dark-blue) 100%);
  color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 6px solid var(--lidl-red);
  position: relative;
}

.lidl-hero-banner h1 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.lidl-hero-banner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #e0eeef;
}

.lidl-hero-badge {
  display: inline-block;
  background-color: var(--lidl-yellow);
  color: var(--lidl-blue);
  font-weight: 900;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* CONTENT GRID CONTAINER */
.lidl-container {
  max-width: 1250px;
  margin: 2rem auto 4rem auto;
  padding: 0 1.5rem;
}

.lidl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

/* LIDL PRODUCT/SPEC CARD DESIGN */
.lidl-card {
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid var(--lidl-card-border);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.lidl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.lidl-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--lidl-red);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lidl-card-content {
  padding: 1.5rem;
  padding-top: 2.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.lidl-card-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lidl-blue);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.lidl-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.lidl-card-title a {
  color: var(--lidl-text-dark);
  text-decoration: none;
}

.lidl-card-title a:hover {
  color: var(--lidl-blue);
}

.lidl-card-excerpt {
  font-size: 0.93rem;
  color: var(--lidl-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.45;
}

.lidl-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 0.85rem;
  margin-top: auto;
}

.lidl-card-meta {
  font-size: 0.8rem;
  color: #777777;
}

.lidl-btn {
  display: inline-block;
  background-color: var(--lidl-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.lidl-btn:hover {
  background-color: var(--lidl-red);
}

/* SINGLE POST STYLES */
.post-wrapper {
  max-width: 860px;
  margin: 2.5rem auto 4rem auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 6px;
  border: 1px solid var(--lidl-card-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.post-tag {
  display: inline-block;
  background-color: var(--lidl-blue);
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.post-wrapper h1 {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--lidl-blue);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.post-meta-details {
  font-size: 0.88rem;
  color: var(--lidl-text-muted);
  border-bottom: 2px solid var(--lidl-grey-bg);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}

.post-body p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #333;
}

.post-body h2 {
  font-size: 1.45rem;
  color: var(--lidl-blue);
  margin: 1.75rem 0 0.85rem 0;
  border-left: 4px solid var(--lidl-red);
  padding-left: 10px;
}

.post-body ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--lidl-blue);
  font-weight: bold;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* FOOTER */
footer.lidl-footer {
  background-color: var(--lidl-dark-blue);
  color: #ffffff;
  padding: 3rem 2rem 1.5rem 2rem;
  margin-top: 4rem;
  border-top: 5px solid var(--lidl-yellow);
}

.lidl-footer-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.lidl-footer-col h4 {
  color: var(--lidl-yellow);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.lidl-footer-col ul {
  list-style: none;
}

.lidl-footer-col ul li {
  margin-bottom: 0.6rem;
}

.lidl-footer-col ul li a {
  color: #dcdcdc;
  text-decoration: none;
  font-size: 0.9rem;
}

.lidl-footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.lidl-footer-bottom {
  max-width: 1250px;
  margin: 0 auto;
  border-top: 1px solid #1a5296;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a0c0e8;
}

@media (max-width: 768px) {
  header.lidl-header { flex-direction: column; gap: 1rem; }
  .lidl-search-container { max-width: 100%; margin: 0; }
  .lidl-grid { grid-template-columns: 1fr; }
}
