/* ========================= */
/* ✅ Buttons Styling (ستايل ديال جميع الأزرار) */
/* ========================= */
button:not(.wprm-recipe-adjustable-servings),
input[type="submit"],
.wp-block-button__link,
a.button,
.wp-block-button a,
.wp-block-button > .wp-block-button__link {
  background: #ffcf34 !important; /* لون الخلفية */
  color: #1a1a1a !important; /* لون النص */
  font: bold 18px "Source Sans 3", sans-serif; /* نوع الخط وحجمه */
  padding: 15px 18px; /* مسافة داخلية */
  border: 3px solid #1a1a1a !important; /* حدود الزر */
  border-radius: 100px !important; /* زوايا مدورة */
  box-shadow: 5px 6px 0 #1a1a1a; /* ظل */
  cursor: pointer; /* المؤشر ديال الفأرة */
  text-decoration: none !important; /* إزالة التزيين من النص */
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* تأثير الحركات */
  position: relative;
  z-index: 10;
  display: inline-block;
  text-align: center;
  transform: scale(1); /* الحجم الافتراضي */
}

/* ✅ تأثير Hover على الأزرار */
button:not(.wprm-recipe-adjustable-servings):hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
a.button:hover,
.wp-block-button a:hover {
  background: #ffffff !important; /* تغير لون الخلفية */
  transform: scale(0.93); /* تصغير الزر قليلاً */
  box-shadow: none; /* إزالة الظل */
  opacity: 0.95; /* تقليل الشفافية شوية */
}

/* ✅ تأثير Active (ملي تضغط على الزر) */
button:not(.wprm-recipe-adjustable-servings):active,
input[type="submit"]:active,
.wp-block-button__link:active,
a.button:active,
.wp-block-button a:active {
  background: #fff !important; /* لون الخلفية */
  transform: scale(0.95); /* تصغير أقل */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ظل صغير */
}

/* ========================= */
/* ✅ Fonts (تحميل الخطوط) */
/* ========================= */

/* تحميل خط Noto ExtraBold للعناوين */
@font-face {
  font-family: 'NotoExtraBold';
  src: url('/wp-content/custom-fonts/NotoSans-ExtraBold.woff2') format('woff2'),
       url('/wp-content/custom-fonts/NotoSans-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* تحميل خط Source Sans 3 للنصوص العادية */
@font-face {
  font-family: 'SourceSans3';
  src: url('/wp-content/custom-fonts/SourceSans3-Regular.woff2') format('woff2'),
       url('/wp-content/custom-fonts/SourceSans3-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ========================= */
/* ✅ Titles Styling (ستايل العناوين) */
/* ========================= */
h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a {
  font-family: 'NotoExtraBold', sans-serif; /* خط Noto للعناوين */
  font-weight: 800;
  line-height: 1.3; /* ارتفاع السطر */
  letter-spacing: 0.3px; /* مسافة بين الحروف */
  color: #222; /* لون العناوين */
}

/* حجم الخطوط حسب العنوان */
h1 { font-size: 32px; }
h2 { font-size: 29px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }
h6 { font-size: 12px; }

/* Responsive عناوين فالموبايل */
@media (max-width: 768px) {
  h1 { font-size: 28px !important; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 15px; }
}

/* ========================= */
/* ✅ Body Text Styling (النص العادي) */
/* ========================= */
body, p, li, ul, ol, span, .entry-content {
  font-family: 'SourceSans3', sans-serif; /* خط النص */
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7; /* تباعد الأسطر */
  color: #333; /* لون النص */
}

/* Responsive نص فالموبايل */
@media (max-width: 768px) {
  body, p, li, ul, ol, span, .entry-content {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ========================= */
/* ✅ Styling Entry Meta + Recipe Rating Label (معلومات النشر + تقييم الوصفة) */
/* ========================= */
.entry-meta,
label[for^="wprm-comment-rating"] {
  font-size: 16px !important; /* حجم الخط يكون واضح */
  font-weight: normal; /* عادي، أو تقدر تديرو bold اذا بغيت */
  color: #333; /* لون غامق ومقروء */
  line-height: 1.6; /* تباعد مريح بين السطور */
}


/* ========================= */
/* ✅ Responsive Settings for Full Width Feature Blocks */
/* ========================= */
@media (max-width: 768px) {
  body:not(.footer-full-width) .is-style-full-width-feature-wrapper {
    padding-left: 1px !important;
    padding-right: 1px !important;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }
}

/* ========================= */
/* ✅ Responsive Fix for Recipe Container */
/* ========================= */
@media (max-width: 768px) {
  .wprm-recipe-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1px;
    padding-right: 1px;
  }
}

/* ========================= */
/* ✅ Advanced Jump To (قائمة التنقل في الوصفة) */
/* ========================= */
details#feast-advanced-jump-to {
  display: block;
  width: 100%;
  clear: both;
  border-left: none;
  background-color: #FFFFFF;
  border-radius: 13px;
  padding: 0px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin: 20px 0;
  overflow: hidden; /* الصندوق يبقى مضبوط */
}

/* ستايل العنوان */
details#feast-advanced-jump-to summary {
  color: black;
  background-color: #ffcf34;
  border-radius: 13px;
  padding: 10px;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
}

/* السهم */
details#feast-advanced-jump-to summary::after {
  content: "↑";
  font-size: 35px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease-in-out;
}
details[open] summary::after {
  content: "↓";
  transform: rotate(180deg) translateY(-50%);
}

/* ✅ اللائحة الداخلية (H2/H3 links) */
#feast-jump-to-list {
  max-height: 300px;      /* الطول الأقصى للصندوق */
  overflow-y: auto;       /* يخلي scrolling داخلي */
  padding: 10px;
}

/* ❌ نخفي اللائحة إذا ماكانش open */
details#feast-advanced-jump-to:not([open]) #feast-jump-to-list {
  display: none;
}

/* ✅ الروابط */
#feast-jump-to-list a {
  color: #333 !important;
  text-decoration: underline !important;
  font-size: 16px;
  padding: 4px 0;
  display: block;
  margin-bottom: 4px;
}

/* ✅ تحسين scroll bar باش يبان */
#feast-jump-to-list::-webkit-scrollbar {
  width: 8px;
}
#feast-jump-to-list::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}
#feast-jump-to-list::-webkit-scrollbar-thumb:hover {
  background: #888;
}


/* akhta2 dyal console */
p.has-text-align-center {
  min-height: 20px;
}

@media (max-width: 768px) {
  p.has-text-align-center {
    min-height: 60px;
  }
}

/* ✅ تنسيق الأزرار داخل الريسيبي */
.wprm-recipe-snippet-summary-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.wprm-recipe-snippet-summary-actions a {
  background: #ffcf34 !important;
  color: #1a1a1a !important;
  font: bold 14px "Source Sans 3", sans-serif !important;
  padding: 5px 7px !important;
  border: 3px solid #1a1a1a !important;
  border-radius: 100px !important;
  box-shadow: 5px 6px 0 #1a1a1a !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ✅ تأثير Hover */
.wprm-recipe-snippet-summary-actions a:hover {
  background: #ffffff !important;
  transform: scale(0.93);
  box-shadow: none;
  opacity: 0.95;
}

/* ✅ تأثير Active */
.wprm-recipe-snippet-summary-actions a:active {
  transform: scale(0.95);
  background: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/* ✅✅✅✅ Main Container Styling ✅✅✅✅ */
.home-roma-drinks-section,
.home-roma-breakfast-section,
.home-roma-dinner-section,
.home-roma-desserts-section {
  border: 2px solid #FFCF34;
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 50px;
  background-color: #fff;
  position: relative;
}

/* ✅ Section Icons */
.home-roma-drinks-section::before { content: "🍹"; }
.home-roma-breakfast-section::before { content: "🍳"; }
.home-roma-dinner-section::before { content: "🥗"; }
.home-roma-desserts-section::before { content: "🍰"; }

.home-roma-drinks-section::before,
.home-roma-breakfast-section::before,
.home-roma-dinner-section::before,
.home-roma-desserts-section::before {
  position: absolute;
  top: -25px;
  left: 30px;
  background-color: #f4f4f4;
  border: 2px solid #ffcf34;
  border-radius: 50%;
  font-size: 25px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  z-index: 2;
}

/* ✅ Headings */
.home-roma-drinks-section h2.wp-block-heading,
.home-roma-breakfast-section h2.wp-block-heading,
.home-roma-dinner-section h2.wp-block-heading,
.home-roma-desserts-section h2.wp-block-heading {
  font-size: 29px;
  font-weight: 800;
  text-transform: capitalize;
  margin-left: 1px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: none;
  position: relative;
}

.home-roma-drinks-section h2.wp-block-heading::after,
.home-roma-breakfast-section h2.wp-block-heading::after,
.home-roma-dinner-section h2.wp-block-heading::after,
.home-roma-desserts-section h2.wp-block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 5px);
  height: 2px;
  background-color: #ffcf34;
}

/* ✅ Paragraph */
.home-roma-drinks-section p,
.home-roma-breakfast-section p,
.home-roma-dinner-section p,
.home-roma-desserts-section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  margin-left: 1px;
  max-width: 900px;
}
/* ✅ Grid Layout */
.home-roma-drinks-section .fsri-list,
.home-roma-breakfast-section .fsri-list,
.home-roma-dinner-section .fsri-list,
.home-roma-desserts-section .fsri-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}


/* ✅ Card Styling */
.home-roma-drinks-section .listing-item,
.home-roma-breakfast-section .listing-item,
.home-roma-dinner-section .listing-item,
.home-roma-desserts-section .listing-item {
  border: 3px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0,0,0,0.05);
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.home-roma-drinks-section .listing-item:hover,
.home-roma-breakfast-section .listing-item:hover,
.home-roma-dinner-section .listing-item:hover,
.home-roma-desserts-section .listing-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ✅ Images */
.home-roma-drinks-section .fsri-image,
.home-roma-breakfast-section .fsri-image,
.home-roma-dinner-section .fsri-image,
.home-roma-desserts-section .fsri-image {
  height: auto;
  border-radius: 0;
  display: block;
  object-fit: cover;
}

/* ✅ Titles */
.home-roma-drinks-section .fsri-title,
.home-roma-breakfast-section .fsri-title,
.home-roma-dinner-section .fsri-title,
.home-roma-desserts-section .fsri-title {
  font-size: 17px;
  font-weight: 800;
  padding: 16px 10px;
  text-align: left;
  color: #222;
}

/* ✅ See more link */
.home-roma-drinks-section .feast-category-link,
.home-roma-breakfast-section .feast-category-link,
.home-roma-dinner-section .feast-category-link,
.home-roma-desserts-section .feast-category-link {
  text-align: right;
  margin-top: 10px;
  font-size: 17px;
}

.home-roma-drinks-section .feast-category-link a,
.home-roma-breakfast-section .feast-category-link a,
.home-roma-dinner-section .feast-category-link a,
.home-roma-desserts-section .feast-category-link a {
  text-decoration: underline;
  color: #004c4c;
  font-weight: 600;
}

/* ✅ Tablet */
@media (max-width: 1024px) {
  .home-roma-drinks-section,
  .home-roma-breakfast-section,
  .home-roma-dinner-section,
  .home-roma-desserts-section {
    padding: 10px 10px;
  }

  .home-roma-drinks-section h2.wp-block-heading,
  .home-roma-breakfast-section h2.wp-block-heading,
  .home-roma-dinner-section h2.wp-block-heading,
  .home-roma-desserts-section h2.wp-block-heading {
    font-size: 24px;
    margin-left: 20px;
  }

  .home-roma-drinks-section h2.wp-block-heading::after,
  .home-roma-breakfast-section h2.wp-block-heading::after,
  .home-roma-dinner-section h2.wp-block-heading::after,
  .home-roma-desserts-section h2.wp-block-heading::after {
    width: calc(100% - 20px);
  }

  .home-roma-drinks-section p,
  .home-roma-breakfast-section p,
  .home-roma-dinner-section p,
  .home-roma-desserts-section p {
    font-size: 15px;
    margin-left: 20px;
    max-width: 100%;
  }

  .home-roma-drinks-section .fsri-list,
  .home-roma-breakfast-section .fsri-list,
  .home-roma-dinner-section .fsri-list,
  .home-roma-desserts-section .fsri-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    padding: 0 10px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .home-roma-drinks-section .fsri-title,
  .home-roma-breakfast-section .fsri-title,
  .home-roma-dinner-section .fsri-title,
  .home-roma-desserts-section .fsri-title {
    font-size: 15px;
    padding: 12px 8px;
  }

  .home-roma-drinks-section .feast-category-link,
  .home-roma-breakfast-section .feast-category-link,
  .home-roma-dinner-section .feast-category-link,
  .home-roma-desserts-section .feast-category-link {
    font-size: 15px;
    margin-top: 15px;
    padding-right: 10px;
  }
}

/* ✅ Mobile */
@media (max-width: 768px) {
  .home-roma-drinks-section h2.wp-block-heading,
  .home-roma-breakfast-section h2.wp-block-heading,
  .home-roma-dinner-section h2.wp-block-heading,
  .home-roma-desserts-section h2.wp-block-heading {
    font-size: 22px;
    margin-left: 10px;
  }

  .home-roma-drinks-section h2.wp-block-heading::after,
  .home-roma-breakfast-section h2.wp-block-heading::after,
  .home-roma-dinner-section h2.wp-block-heading::after,
  .home-roma-desserts-section h2.wp-block-heading::after {
    width: calc(100% - 15px);
  }

  .home-roma-drinks-section p,
  .home-roma-breakfast-section p,
  .home-roma-dinner-section p,
  .home-roma-desserts-section p {
    font-size: 14px;
    margin-left: 10px;
  }

  .home-roma-drinks-section .fsri-list,
  .home-roma-breakfast-section .fsri-list,
  .home-roma-dinner-section .fsri-list,
  .home-roma-desserts-section .fsri-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 1px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .home-roma-drinks-section .fsri-title,
  .home-roma-breakfast-section .fsri-title,
  .home-roma-dinner-section .fsri-title,
  .home-roma-desserts-section .fsri-title {
    font-size: 14px;
    padding: 10px 5px;
  }

  .home-roma-drinks-section .feast-category-link,
  .home-roma-breakfast-section .feast-category-link,
  .home-roma-dinner-section .feast-category-link,
  .home-roma-desserts-section .feast-category-link {
    font-size: 14px;
    text-align: right;
    padding: 10px 0;
  }
}

/* ✅✅✅✅ Categories roma + More Articles ✅✅✅ */
.Categories-roma-drinks-section .fsri-list,
.Categories-roma-breakfast-section .fsri-list,
.Categories-roma-dinner-section .fsri-list,
.Categories-roma-desserts-section .fsri-list,
.more-article-roma-section .fsri-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  width: 100%;
  margin-left: -35px;
  margin-right: -35px;
  box-sizing: border-box;
}

/* ✅ Card Styling */
.Categories-roma-drinks-section .listing-item,
.Categories-roma-breakfast-section .listing-item,
.Categories-roma-dinner-section .listing-item,
.Categories-roma-desserts-section .listing-item,
.more-article-roma-section .listing-item {
  border: 3px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0,0,0,0.05);
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.Categories-roma-drinks-section .listing-item:hover,
.Categories-roma-breakfast-section .listing-item:hover,
.Categories-roma-dinner-section .listing-item:hover,
.Categories-roma-desserts-section .listing-item:hover,
.more-article-roma-section .listing-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ✅ Images */
.Categories-roma-drinks-section .fsri-image,
.Categories-roma-breakfast-section .fsri-image,
.Categories-roma-dinner-section .fsri-image,
.Categories-roma-desserts-section .fsri-image,
.more-article-roma-section .fsri-image {
  height: auto;
  border-radius: 0;
  display: block;
  object-fit: cover;
}

/* ✅ Titles */
.Categories-roma-drinks-section .fsri-title,
.Categories-roma-breakfast-section .fsri-title,
.Categories-roma-dinner-section .fsri-title,
.Categories-roma-desserts-section .fsri-title,
.more-article-roma-section .fsri-title {
  font-size: 14px;
  font-weight: 800;
  padding: 10px 10px;
  text-align: left;
  color: #222;
}

/* ✅ See more link */
.Categories-roma-drinks-section .feast-category-link,
.Categories-roma-breakfast-section .feast-category-link,
.Categories-roma-dinner-section .feast-category-link,
.Categories-roma-desserts-section .feast-category-link,
.more-article-roma-section .feast-category-link {
  text-align: right;
  margin-top: 10px;
  font-size: 17px;
}

.Categories-roma-drinks-section .feast-category-link a,
.Categories-roma-breakfast-section .feast-category-link a,
.Categories-roma-dinner-section .feast-category-link a,
.Categories-roma-desserts-section .feast-category-link a,
.more-article-roma-section .feast-category-link a {
  text-decoration: underline;
  color: #004c4c;
  font-weight: 600;
}

/* ✅ Tablet */
@media (max-width: 1024px) {
  .Categories-roma-drinks-section,
  .Categories-roma-breakfast-section,
  .Categories-roma-dinner-section,
  .Categories-roma-desserts-section,
  .more-article-roma-section {
    padding: 5px 5px;
  }

  .Categories-roma-drinks-section h2.wp-block-heading,
  .Categories-roma-breakfast-section h2.wp-block-heading,
  .Categories-roma-dinner-section h2.wp-block-heading,
  .Categories-roma-desserts-section h2.wp-block-heading,
  .more-article-roma-section h2.wp-block-heading {
    font-size: 24px;
    margin-left: 20px;
  }

  .Categories-roma-drinks-section h2.wp-block-heading::after,
  .Categories-roma-breakfast-section h2.wp-block-heading::after,
  .Categories-roma-dinner-section h2.wp-block-heading::after,
  .Categories-roma-desserts-section h2.wp-block-heading::after,
  .more-article-roma-section h2.wp-block-heading::after {
    width: calc(100% - 20px);
  }

  .Categories-roma-drinks-section p,
  .Categories-roma-breakfast-section p,
  .Categories-roma-dinner-section p,
  .Categories-roma-desserts-section p,
  .more-article-roma-section p {
    font-size: 10px;
    margin-left: 20px;
    max-width: 100%;
  }

  .Categories-roma-drinks-section .fsri-list,
  .Categories-roma-breakfast-section .fsri-list,
  .Categories-roma-dinner-section .fsri-list,
  .Categories-roma-desserts-section .fsri-list,
  .more-article-roma-section .fsri-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    padding: 0 10px;
  }

  .Categories-roma-drinks-section .fsri-title,
  .Categories-roma-breakfast-section .fsri-title,
  .Categories-roma-dinner-section .fsri-title,
  .Categories-roma-desserts-section .fsri-title,
  .more-article-roma-section .fsri-title {
    font-size: 15px;
    padding: 12px 8px;
  }

  .Categories-roma-drinks-section .feast-category-link,
  .Categories-roma-breakfast-section .feast-category-link,
  .Categories-roma-dinner-section .feast-category-link,
  .Categories-roma-desserts-section .feast-category-link,
  .more-article-roma-section .feast-category-link {
    font-size: 15px;
    margin-top: 15px;
    padding-right: 10px;
  }
}

/* ✅ Mobile */
@media (max-width: 768px) {
  .Categories-roma-drinks-section h2.wp-block-heading,
  .Categories-roma-breakfast-section h2.wp-block-heading,
  .Categories-roma-dinner-section h2.wp-block-heading,
  .Categories-roma-desserts-section h2.wp-block-heading,
  .more-article-roma-section h2.wp-block-heading {
    font-size: 22px;
    margin-left: 10px;
  }

  .Categories-roma-drinks-section h2.wp-block-heading::after,
  .Categories-roma-breakfast-section h2.wp-block-heading::after,
  .Categories-roma-dinner-section h2.wp-block-heading::after,
  .Categories-roma-desserts-section h2.wp-block-heading::after,
  .more-article-roma-section h2.wp-block-heading::after {
    width: calc(100% - 15px);
  }

  .Categories-roma-drinks-section p,
  .Categories-roma-breakfast-section p,
  .Categories-roma-dinner-section p,
  .Categories-roma-desserts-section p,
  .more-article-roma-section p {
    font-size: 14px;
    margin-left: 10px;
  }

  .Categories-roma-drinks-section .fsri-list,
  .Categories-roma-breakfast-section .fsri-list,
  .Categories-roma-dinner-section .fsri-list,
  .Categories-roma-desserts-section .fsri-list,
  .more-article-roma-section .fsri-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 1px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .Categories-roma-drinks-section .fsri-title,
  .Categories-roma-breakfast-section .fsri-title,
  .Categories-roma-dinner-section .fsri-title,
  .Categories-roma-desserts-section .fsri-title,
  .more-article-roma-section .fsri-title {
    font-size: 14px;
    padding: 10px 5px;
  }

  .Categories-roma-drinks-section .feast-category-link,
  .Categories-roma-breakfast-section .feast-category-link,
  .Categories-roma-dinner-section .feast-category-link,
  .Categories-roma-desserts-section .feast-category-link,
  .more-article-roma-section .feast-category-link {
    font-size: 14px;
    text-align: right;
    padding: 10px 0;
  }
}


/* ✅ ✅✅  Modern Sidebar ✅ G✅ ✅ ri✅ d Layout */
.home-roma-modern-sidebar .fsri-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1px;
  box-sizing: border-box;
}

/* ✅ Card Container */
.home-roma-modern-sidebar .listing-item {
  border: 3px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.home-roma-modern-sidebar .listing-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ✅ Image Style */
.home-roma-modern-sidebar .fsri-image {
  height: auto;
  border-radius: 0;
  display: block;
  object-fit: cover;
  width: 100%;
}

.home-roma-modern-sidebar .fsri-title {
  font-size: 14px;
  font-weight: 800;
  padding-top: 10px;
  padding-right: 5px;
  padding-bottom: 10px;
  padding-left: 5px;
  margin: 0;
  text-align: left;
  color: #222;
}

/* ✅ Apply same mobile style from "Categories" to "Modern Sidebar" */
@media (max-width: 768px) {
  .home-roma-modern-sidebar h2.wp-block-heading {
    font-size: 22px;
    margin-left: 10px;
  }

  .home-roma-modern-sidebar h2.wp-block-heading::after {
    width: calc(100% - 15px);
  }

  .home-roma-modern-sidebar p {
    font-size: 14px;
    margin-left: 10px;
  }

  .home-roma-modern-sidebar .fsri-list {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 1px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .home-roma-modern-sidebar .fsri-title {
    font-size: 14px;
    padding: 10px 5px;
  }

  .home-roma-modern-sidebar .feast-category-link {
    font-size: 14px;
    text-align: right;
    padding: 10px 0;
  }

  .home-roma-modern-sidebar .feast-category-link a {
    text-decoration: underline;
    color: #004c4c;
    font-weight: 600;
  }

  .home-roma-modern-sidebar .listing-item {
    border: 3px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: box-shadow 0.3s ease;
  }

  .home-roma-modern-sidebar .listing-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .home-roma-modern-sidebar .fsri-image {
    height: auto;
    border-radius: 0;
    display: block;
    object-fit: cover;
    width: 100%;
  }
}



/* ✅ Layout grid for trending recipes */
.home-roma-trending-recipes .fsri-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1px;
  box-sizing: border-box;
}

/* ✅ Card Container */
.home-roma-trending-recipes .listing-item {
  border: 3px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.home-roma-trending-recipes .listing-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ✅ Image wrapper to hold the badge */
.home-roma-trending-recipes .image-wrapper {
  position: relative;
  display: block;
}

/* ✅ Image Style */
.home-roma-trending-recipes .fsri-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

/* ✅ Title Text */
.home-roma-trending-recipes .fsri-title {
  font-size: 17px;
  font-weight: 800;
  padding: 20px 10px 10px 10px;
  text-align: left;
  color: #222;
}

/* ✅ Rank Badge — Fixed inside image (bottom-left) */
.home-roma-trending-recipes .recipe-rank {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #ffc107;
  color: black;
  font-weight: bold;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
}

/* ✅ Responsive Styles: Tablet */
@media (max-width: 768px) {
  .home-roma-trending-recipes .fsri-list {
    grid-template-columns: 1fr;
    padding: 10px 10px;
  }

  .home-roma-trending-recipes .fsri-title {
    font-size: 15px;
    padding: 10px 10px 10px 10px;
    line-height: 1.4;
  }
}

/* ✅ Responsive Styles: Small Mobile */
@media (max-width: 500px) {
  .home-roma-trending-recipes .fsri-list {
    padding: 10px 10px;
  }

  .home-roma-trending-recipes .fsri-title {
    font-size: 14px;
    padding: 10px 10px;
    line-height: 1.4;
  }

  .home-roma-trending-recipes .recipe-rank {
    width: 28px;
    height: 28px;
    font-size: 17px;
    bottom: 8px;
    left: 8px;
  }
}

/* ✅ top tip */

.is-style-group-lightbulb.is-style-feast-inline-heading-group {
  background-color: #eaf3ef;
  border: 2px solid #38a169;             /* ✅ إطار كامل */
  border-bottom: 8px solid #38a169;      /* ✅ نبرز فقط لتحت */
  border-radius: 30px;
  padding: 25px 10px;
  box-shadow: 0 6px 12px rgba(56, 161, 105, 0.12);
  font-family: 'SourceSans3', sans-serif;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.is-style-group-lightbulb.is-style-feast-inline-heading-group:hover {
  box-shadow: 0 8px 16px rgba(56, 161, 105, 0.2);
}

.is-style-group-lightbulb.is-style-feast-inline-heading-group h2 {
  font-size: 23px;
  font-weight: 800;
  font-family: 'NotoExtraBold', sans-serif;
  color: #222222;
  background-color: inherit;
  display: inline-block;
  padding: 5px 5px 5px 40px;
  margin-bottom: 20px;
  border-radius: 10px;
  position: relative;
  line-height: 1.4;
}

.is-style-group-lightbulb.is-style-feast-inline-heading-group h2::before {
  content: "📌";
  position: absolute;
  left: 5px;
  top: 9px;
  font-size: 22px;
  line-height: 1;
}


