.rmg-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.rmg-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rmg-logo a {
  font-weight: 800;
  font-size: 1.4rem;
  color: #b00000;
  text-decoration: none;
}

.rmg-nav .rmg-menu {
  list-style: none;
  display: flex;
  gap: 15px;
}

.rmg-nav .rmg-menu li a {
  font-weight: 500;
}

.rmg-header-actions {
  font-size: 0.9rem;
}

.rmg-main {
  min-height: 60vh;
}

.rmg-footer {
  background: #111;
  color: #fff;
  padding: 15px 0;
  margin-top: 40px;
}

.rmg-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.rmg-footer-menu {
  list-style: none;
  display: flex;
  gap: 10px;
}

.rmg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Home hero */
.rmg-hero {
  max-width: 1200px;
  margin: 20px auto 10px;
  padding: 0 20px;
}

.rmg-hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.rmg-hero-text {
  flex: 1 1 360px;
  padding: 30px;
}

.rmg-hero-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #b00000;
}

.rmg-hero-text p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.rmg-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rmg-btn {
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
}

.rmg-btn-primary {
  background: #b00000;
  color: #fff;
}

.rmg-btn-outline {
  border: 2px solid #b00000;
  color: #b00000;
  background: #fff;
}

.rmg-hero-image {
  flex: 1 1 360px;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5eee6;
}

/* Categories grid */
.rmg-categories {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.rmg-categories h2,
.rmg-featured h2 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 20px;
  color: #b00000;
}

.rmg-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.rmg-cat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.rmg-cat-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}

/* These background-image URLs can be changed in CSS or replaced in child theme */
.rmg-cat-kuru-gida {
  background-image: url('../img/kuru_gida_banner.jpg');
}

.rmg-cat-sut-urunleri {
  background-image: url('../img/sut_urunleri_banner.jpg');
}

.rmg-cat-konserve {
  background-image: url('../img/konserve_banner.jpg');
}

.rmg-cat-zeytin {
  background-image: url('../img/zeytin_banner.jpg');
}

.rmg-cat-horeca {
  background-image: url('../img/horeca_banner.jpg');
}

.rmg-cat-title {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
}

/* Featured products */
.rmg-featured {
  max-width: 1200px;
  margin: 10px auto 40px;
  padding: 0 20px 20px;
}

.rmg-featured-inner {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Generic article styles */
.rmg-article-title {
  margin-bottom: 10px;
  color: #b00000;
}

.rmg-article-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .rmg-header-inner {
    flex-wrap: wrap;
  }
  .rmg-nav .rmg-menu {
    flex-wrap: wrap;
  }
  .rmg-hero-inner {
    border-radius: 0;
  }
}