/* ===== Base ===== */
:root {
  --container: 1360px;
  --bg: #fafafa;
  --card: #fff;
  --line: #e6e6ea;
  --text: #222;
  --muted: #666;
  --brand: #ff9c00;
  --brand-dark: #ff8a00;
  --nav: #f0f0f2;
  --pill: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .06);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font: 14px/1.5 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: #ffffff;
  overflow: hidden;
  width: 100%;
  overflow-y: auto;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  width: 100%;
  height: auto
}

/* Top subtle strip like site */
.top-strip {
  height: 12px;
  background: #f2f2f2;
  border-bottom: 1px solid #ececec
}

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.container {
  max-width: var(--container);
  margin: auto;
  padding: 0 16px
}

.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 46px
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f6a700;
  font-weight: 800;
  letter-spacing: .2px
}

.logo img {
  width: 20px;
  height: 20px
}

.logo span {
  font-size: 14px
}

.search {
  margin-left: auto;
  position: relative;
  width: 480px;
  max-width: 42vw
}

.search-input {
  width: 100%;
  height: 28px;
  border: 1px solid #dadce0;
  border-radius: 2px;
  background: #fff;
  padding: 0 34px 0 8px;
  font-size: 12px;
  color: #333;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 28px;
  width: 28px;
  border: none;
  cursor: pointer;
  background: #1a73e8;
  border-left: 1px solid #1a73e8;
  display: grid;
  place-items: center;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px
}

.search-btn svg {
  width: 14px;
  height: 14px
}

/* ===== Nav ===== */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.nav::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, transparent, #fff);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav.scrollable::after {
  opacity: 1;
}

.nav-row {
  display: flex;
  gap: 0;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  white-space: nowrap;
  scroll-behavior: smooth;
}

.nav-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.tab {
  padding: 6px 14px;
  font-weight: 600;
  color: #5f6368;
  border-right: 1px solid #ececec;
  flex: 0 0 auto;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.tab:last-child {
  border-right: none
}

.tab.active {
  color: #111;
  border-bottom: 2px solid var(--brand-dark)
}

.tab:not(.active):hover {
  color: var(--brand);
  background: rgba(255, 156, 0, 0.05);
}

.tab.has-dot .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dbf45;
  margin-right: 6px
}

/* ===== Content ===== */
.content {
  padding: 18px 0 36px;
  min-height: calc(100vh - 100px);
}

.content-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 20px
}

.sidebar {
  position: sticky;
  top: 10px;
  height: fit-content;
  width: 320px;
}

.side-title {
  font-weight: 700;
  color: #444;
  font-size: 12px;
  margin: 8px 0
}

.mt24 {
  margin-top: 18px
}

.side-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.side-item {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  align-items: center
}

.side-item:last-child {
  border-bottom: none
}

.side-item img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee
}

.side-name {
  font-size: 12px;
  color: #333
}

.side-sub {
  font-size: 10px;
  color: #9aa0a6;
  margin-top: 2px
}


/* Main column */
.main .page-title {
  margin: 0 0 8px;
  font-size: 20px
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.meta-title {
  font-size: 11px;
  color: #8a8f95
}

.share-icons {
  display: flex;
  gap: 6px
}

.ic {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ddd;
  display: block
}

.ic.fb {
  background: #1877f2
}

.ic.tw {
  background: #1da1f2
}

.ic.mail {
  background: #999
}

/* paragraph */
.intro {
  font-size: 12px;
  color: #666;
}

.subtle {
  font-size: 10px;
  color: #9aa0a6;
  margin: 10px 0
}

/* Pills */
.pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 10px
}

.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 3px;
  padding: 13px;
  border: 2px solid #fff;
  box-shadow: 0px 0px 5px rgba(35, 33, 33, 0.12), 1px -2px 10px 1px rgba(53, 49, 49, 0.27);
}

.pill-text {
  font-weight: 600;
  font-size: 16px;
  margin: 0 20px;
  font-weight: 700;
}

.loupe {
  width: 16px;
  height: 16px;
  border: 2px solid #c5c0c0;
  border-radius: 50%;
  position: relative;
  display: inline-block
}

.loupe::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #c5c0c0;
  right: -6px;
  bottom: -1px;
  transform: rotate(45deg)
}

.arrow {
  margin-left: auto;
  /* width: 0;
  height: 0;
  border-left: 5px solid #bbb;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent */
}

/* Ad + two cards layout */
.row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 10px 0
}

.adbox {
  border: 1px solid var(--line);
  background: #f3f5f7;
  height: 180px;
  border-radius: 3px
}

/* Recipe cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px
}

.recipe-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden
}

.recipe-card img {
  aspect-ratio: 16/11;
  object-fit: cover
}

.rc-title {
  padding: 6px 8px 2px;
  font-size: 11.5px;
  color: #222
}

.rc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9aa0a6;
  padding: 0 8px 8px;
  font-size: 10px
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%
}

.dot.yellow {
  background: #ffce00
}

.dot.gray {
  background: #c9cdd2
}

.sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c9cdd2;
  margin: 0 2px
}

/* Footer - 已移除旧样式 */

.recipe-detail-container {
  margin-top: 2rem;
}

.recipe-layout {
  display: flex;
  gap: 10px;
  max-width: 1360px;
  margin: 0 auto;
  width: 98%;
}

.recipe-content {
  flex: 1;
  min-width: 0;
  border: 1px solid #e0e0e0;
}

.recipe-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.recipe-header {
  margin-bottom: 10px;
  padding: 10px;
}

.recipe-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  margin-top: 0;
}

.recipe-description {
  line-height: 1.6;
  color: #555;
}

.ingredients-section {
  margin-top: 0;
  padding: 10px;
}

.section-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.ingredient-group {
  margin-bottom: 10px;
}

.group-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
  .line{
    width: 100%;
    height: 5px;
    background-color: #EEEEEE;
  }

  /* Recipe Information Section */
  .recipe-info-section {
    margin: 20px 0;
    padding: 10px;
  }

  .info-table-container {
    margin-top: 15px;
  }

  .info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
  }

  .info-table thead {
    background-color: #f5f5f5;
  }

  .info-table th {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
  }

  .info-table th:last-child {
    border-right: none;
  }

  .info-table td {
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
  }

  .info-table td:last-child {
    border-right: none;
  }

  .info-table tbody tr:last-child td {
    border-bottom: none;
  }

  /* Share Buttons */
  .share {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }

  .share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
  }

  .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .share-facebook {
    background-color: #1877f2;
  }

  .share-pinterest {
    background-color: #e60023;
  }

  .share-twitter {
    background-color: #1da1f2;
  }

  .share-email {
    background-color: #ff6b35;
  }

  .share-print {
    background-color: #6c757d;
  }

  .share-btn i {
    font-size: 16px;
  }

  /* 移动端响应式样式 */
  @media (max-width: 768px) {
    .info-table {
      font-size: 12px;
    }
    
    .info-table th,
    .info-table td {
      padding: 8px 4px;
      font-size: 12px;
    }
    
    .info-table th {
      font-size: 12px;
    }
  }

  @media (max-width: 480px) {
    .info-table {
      font-size: 11px;
    }
    
    .info-table th,
    .info-table td {
      padding: 6px 2px;
      font-size: 11px;
    }
    
    .info-table th {
      font-size: 11px;
    }
}

.group-icon {
  color: #ff6b6b;
  font-size: 0.8rem;
}

.ingredient-list {
  list-style: none;
  padding: 0;
}

.ingredient-item {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.ingredient-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #ff6b6b;
}

.ingredient-text {
  color: #555;
}


.recipe-header {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.ads_box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
  flex-shrink: 0;
}

.recipe_text {
  flex: 1;
  min-width: 0;
}


@media (max-width: 768px) {
  .recipe-layout {
      flex-direction: column;
      gap: 1rem;
  }
  
  .recipe-sidebar {
      width: 100%;
  }
  
  .recipe-title {
      font-size: 2rem;
  }
  
  .recommended-recipes {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
  }
}

/* ===== Desktop ===== */
.user-icon.d-md-none {
  display: none;
}
.ads_box{
  margin: 0px 0px 20px 0;
}

/* ===== Popular Recipes Banner ===== */
.popular-recipes-banner {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 12px;
    padding: 24px 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.popular-recipes-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.banner-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.banner-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-subtitle {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Mobile specific styles for the banner */
@media (max-width: 768px) {
    .popular-recipes-banner {
        margin: 0 0 0px 0;
        padding: 10px 16px;
        border-radius: 0;
    }
    
    .banner-header {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .banner-image {
        width: 30px;
        height: 30px;
    }
    .detail-banner-image{
      margin: 0 auto;
    }
    .banner-title {
        font-size: 20px;
    }
    
    .banner-subtitle {
        font-size: 13px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .top-strip {
    display: none
  }

  .header-row {
    height: 30px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .header {
    background: linear-gradient(135deg, #ff9c00 0%, #ff8a00 50%, #ff6b00 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(255, 156, 0, 0.3);
    padding: 0 10px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
  }

  .logo img {
    width: 24px;
    height: 24px;
  }

  .logo span {
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
  }



  .search-btn {
    background: #1a73e8;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .search-btn svg {
    width: 16px;
    height: 16px;
  }

  .search {
    display: none
  }

  /* Mobile Header Navigation */
  .mobile-header-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 0;
  }

  .mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
  }

  .mobile-nav-btn {
    background: none;
    border: none;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
  }

  .mobile-nav-btn:hover {
    background-color: #f5f5f5;
  }

  .back-btn {
    background: #f8f9fa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
  }

  .home-btn {
    background: #f8f9fa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
  }

  .mobile-nav-actions {
    display: flex;
    gap: 8px;
  }

  .action-btn {
    background: #FF6B35;
    color: white;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s ease;
  }

  .action-btn:hover {
    background: #e55a2b;
    color: white;
  }

  .action-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Mobile Search Bar */
  .mobile-search-bar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 3px;
    z-index: 100;
  }

  .mobile-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
  }

  .mobile-search-form .mobile-search-input {
    flex: 1;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #ffffff;
    padding: 0 50px 0 16px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
  }

  .mobile-search-form .mobile-search-input:focus {
    border-color: #ff9c00;
    box-shadow: 0 0 0 2px rgba(255, 156, 0, 0.1);
  }

  .mobile-search-form .mobile-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #1a73e8;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
  }

  .mobile-search-form .mobile-search-btn:hover {
    background: #ff8a00;
  }

  .mobile-search-form .mobile-search-btn svg {
    width: 16px;
    height: 16px;
  }
  .mobile-search-form .mobile-search-btn svg path{
    fill: #ffffff;
  }

  .nav {
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
  }

  .nav::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to right, transparent, #ffffff);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav.scrollable::after {
    opacity: 1;
  }

  .nav-row {
    padding: 0;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    white-space: nowrap;
    gap: 0;
    scroll-behavior: smooth;
  }

  .nav-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }

  .tab {
    flex: 0 0 auto;
    text-align: center;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 2px solid transparent;
    color: #666666;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
  }

  .tab.active {
    color: #ff9c00;
    border-bottom-color: #ff9c00;
    font-weight: 600;
  }

  .tab:not(.active):hover {
    color: #ff9c00;
    background: rgba(255, 156, 0, 0.05);
  }

  .content {
    padding: 0
  }

  .container {
    padding: 0
  }

  .content-grid {
    grid-template-columns: 1fr
  }

  .sidebar {
    order: 3;
    padding: 12px;
    width: 100%;
  }

  .side-list {
    border-radius: 8px
  }

  .main {
    order: 1;
    padding: 0 0;
    width: 98%;
    margin: 0 auto;
  }

  .main .page-title {
    display: none
  }

  .meta-row {
    display: none
  }

  .intro {
    display: none
  }


  .pills {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px
  }

  .row-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
  }

  .adbox {
    height: 160px;
    border-radius: 8px
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .recipe-card {
    border-radius: 10px
  }

  .rc-title {
    font-size: 12.5px
  }

  .rc-meta {
    font-size: 11px
  }

  /* 移动端容器样式 */
}

/* 移除冲突的footer样式 */

/* ===== Footer ===== */
.footer {
  background: #2c3e50;
  color: #ffffff;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  border-top: none;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: end;
}

.footer-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
  justify-content: end;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.footer-copyright {
  color: #95a5a6;
  font-size: 13px;
  margin: 0;
  font-weight: 300;
}

/* 确保Bootstrap栅格系统正常工作 */
.footer .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  justify-content: center;
}

.footer .col-12,
.footer .col-md-4 {
  position: relative !important;
  width: 100% !important;
  padding-right: 15px !important;
  padding-left: 15px !important;
}
.recipe-description p br{
  display: none;
}

@media (min-width: 768px) {
  .footer .col-md-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

/* 确保footer内的图片不影响布局 */
.footer img {
  display: inline-block !important;
  width: 30px !important;
  height: auto !important;
}
@media (max-width: 900px) {
    .recipe-layout{
      flex-wrap: wrap;
    }
    .meal_sd{
      width: 100%;
      flex-grow: 1;
    }
}
@media (min-width: 768px) {
  /* 桌面端Footer样式 */
  .footer {
    padding: 3rem 0 1rem;
  }
  
  .footer-logo {
    margin-bottom: 0;
  }
  
  .footer-heading {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .recipe-header{
    flex-wrap:wrap;
    flex-direction: column-reverse;
  }
  
  /* 移动端Footer样式 */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-social {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .footer-heading {
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links a {
    font-size: 13px;
    padding: 0.3rem 0;
  }
  
  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}
