html, body {
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 900px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
}

.search-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-section form {
    margin: 0;
    padding: 0;
}

/* wrapper for input + keyboard stack */
.search-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* input + button in same row */
.search-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* input styling */
.search-input {
    width: 400px;
    height: 22px;
    direction: rtl;
}

/* keyboard sits under input but still centered */
.keyboard-link {
    margin-top: 5px;
}

/* RIGHT SIDE (optional placeholder if needed later) */
.header-right {
    flex: 0 0 auto;
}
.page-wrapper {
    width: 900px;
    margin: 20px auto;
    border: 1px solid #ff7200;
    background: #fff;
    padding: 15px;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   TAB NAV WRAPPER FIX
========================= */

#TabNav,
#TabNavMyRecipe {
    width: 100%;
}

/* UL becomes horizontal row */
#TabNav ul,
#TabNavMyRecipe ul {
    display: flex;
    align-items: center;
    gap: 4px;

    margin: 0;
    padding: 0;
    list-style: none;

    font-size: 14px;
    font-weight: 900;
    flex-direction: row-reverse;
}

/* =========================
   REMOVE OLD INLINE FLOW ISSUES
========================= */

#TabNav li,
#TabNavMyRecipe li {
    display: block;
    margin: 0;
    padding: 0;
}

/* IMPORTANT: kill old float system */
#TabNav a,
#TabNavMyRecipe a {
    float: none !important;
    display: inline-flex;
    align-items: center;

    color: white;
    text-decoration: none;

    margin: 0;
    padding: 0;
}

/* =========================
   TAB BACKGROUND (keep your style)
========================= */

#TabNav a {
    background: #ff7200 url(/images/tabs_left.gif) no-repeat left top;
}

#TabNavMyRecipe a {
    background: #f43400 url(/images/tabs_left.gif) no-repeat left top;
}

/* =========================
   TAB INNER TEXT
========================= */

#TabNav a span,
#TabNavMyRecipe a span {
    display: block;
    float: none !important;

    background: transparent url(/images/tabs_right.gif) no-repeat right top;

    padding: 4px 9px 2px 6px;
}

/* =========================
   HOVER STATES
========================= */

#TabNav a:hover {
    background-color: #cc0001;
}

#TabNav a:hover span {
    background-color: #cc0001;
}

#TabNavMyRecipe a:hover {
    background-color: #f43400;
    color: #fbc300;
}

#TabNavMyRecipe a:hover span {
    background-color: #f43400;
}

/* =========================
   ACTIVE TAB
========================= */

#TabNav #current a,
#TabNav #current span,
#TabNavMyRecipe #current a,
#TabNavMyRecipe #current span {
    background-color: #cc0001;
}

/* =========================
   BOTTOM LINE BARS (unchanged)
========================= */

#TabNavline {
    clear: both;
    width: 100%;
    height: 6px;
    border-top: 1px solid #ff7200;
}

#TabNavlinecurrent {
    clear: both;
    width: 100%;
    height: 6px;
    border-top: 1px solid #cc0001;
    background-color: #cc0001;
}

#TabNavMyRecipeline {
    clear: both;
    width: 100%;
    height: 8px;
    border-top: 1px solid #f43400;
}
/*--------------------------End Of Tab Navigation----------------*/


input {
    FONT-WEIGHT: bold
}

.search-box { 
    width: 100%; 
    height: 18px;               /* Slightly shorter than the BG to fit inside the lines */
    background: transparent;    /* Shows the white center of your image */
    border: none;               /* Removes default browser border */
    outline: none;              /* Removes the blue glow when clicking */
    font-weight: bold; 
    font-size: 12px; 
    color: #cc0000; 
    text-align: right; 
    box-sizing: border-box; 
}
/* =========================
   FOOTER WRAPPER
========================= */

.site-footer {
    background: #ffcc66;
    margin: 0;
    padding: 25px 0;

    direction: rtl;
    text-align: right;
    font-weight: bold;

    border-top: 2px solid red;     /* top line */
    border-bottom: 2px solid white; /* bottom line */
}

/* inner container with left/right margin */
.site-footer .container {
    width: 900px;
    margin: 0 auto;          /* centers with left/right auto margins */
    padding: 0 20px;         /* extra inner spacing left/right */
}

/* optional: keep headings strong and clean */
.footer-section h3 {
    font-weight: bold;
}

/* =========================
   GRID LAYOUT
========================= */

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* each section */
.footer-section {
    flex: 1;
    min-width: 250px;
}

/* =========================
   HEADINGS
========================= */

.footer-section h3 {
    display: inline-block;   /* key fix */
    font-size: 16px;
    color: #ff7200;
    margin-bottom: 10px;
    border-bottom: 1px solid #ff7200;
    padding-bottom: 5px;
}

/* =========================
   LIST STYLE
========================= */

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

/* two-column list */
.footer-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

/* links */
.footer-section ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.2s;
}

.footer-section ul li a:hover {
    color: #ff7200;
    padding-right: 3px;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #666;
    border-top: none;
    position: relative;
}

.footer-bottom::before {
    content: "";
    display: block;
    width: 60%;              /* control line width */
    height: 1px;
    background: #eee;
    margin: 0 auto 10px;     /* center it */
}

/* OUTER WRAPPER */
.recipes-wrapper {
    width: 99%;
    margin: 0 auto;
}

/* MAIN CONTENT */
.recipes-main {
    width: 82%;
    margin-left: auto;   /* push to right (RTL layout) */
    text-align: right;
}

/* PAGER */
.pager {
    width: 95%;
    margin: 10px auto;
    text-align: left;
}

/* ROW */
.recipe-row {
    width: 95%;
    margin: 0 auto 10px;
    padding: 10px;
}

/* alternating colors */
.bg-white {
    background: #fff;
}

.bg-alt {
    background: PapayaWhip;
}

/* INNER FLEX (replaces table row) */
.recipe-inner {
    display: flex;
    gap: 10px;
}

/* LEFT COLUMN (15%) */
.recipe-rate {
    width: 15%;
}

/* RIGHT COLUMN (85%) */
.recipe-content {
    width: 85%;
}

/* TEXT */
.recipe-content a {
    text-decoration: none;
}

.submitted {
    margin-top: 5px;
    font-size: 13px;
}

.description {
    margin-top: 8px;
}

/* alternating colors */
.bg-white {
    background: #ffffff;
}

.bg-alt {
    background: #fff5e6; /* softer than PapayaWhip (better UX) */
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    direction: rtl;   /* ensures proper RTL behavior */
}
.top-bar {
    display: flex;
    justify-content: space-between; /* push to edges */
    align-items: center;
    direction: rtl; /* important for correct flow */
    margin-bottom: 15px;
    width: 100%;
}
.category-title {
    width: 70%;
    font-size: 22px;
    font-weight: bold;
    color: #cc0000;              /* matches your theme */
    
    margin: 10px 0 15px;
    padding-bottom: 6px;

    border-bottom: 2px solid #ff7200; /* subtle underline */

    text-align: right;          /* Arabic */
}
.category-title .count {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}
.recipe-wrapper {
    width: 89%;
    margin: 0 auto;
    direction: rtl;
    text-align: right;
}

.recipe-header {
    width: 100%;
}
/* TITLE */
.recipe-title {
    color: red;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* META */
.recipe-meta {
    margin-bottom: 20px;
}

.recipe-submitted-by {
    margin-bottom: 10px;
    font-weight: bold;
}

/* TIME BOXES */
.recipe-times {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 18px;
}

/* base time pill */
.time-box {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 7px 12px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;

    border: 1px solid #bdbdbd;
    background: #fafafa;

    color: #444;

    transition: 0.2s ease;
}

/* hover (subtle lift) */
.time-box:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* optional icon styling if you add icons */
.time-box i {
    color: #e67e22;
    font-size: 14px;
}

/* COMMENTS */
.recipe-comments {
    margin-top: 10px;
    font-style: italic;
}

/* IMAGE + RATE */
.recipe-media {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
}

.recipe-image {
    width: 70%;
}

.recipe-media .recipe-rate {
    width: 30%;
}

/* SECTION TITLES */
.section-title {
    font-weight: bold;
    font-size: 16px;
    margin: 15px 0 10px;
    border-bottom: 1px solid #ff7200;
    padding-bottom: 5px;
}

/* INGREDIENTS */
.ingredient-item {
    padding: 4px 0;
}

/* DIRECTIONS */
.direction-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.step-text {
    flex: 1;
}

.step-number {
    width: 30px;
    text-align: center;
    font-weight: bold;
}

/* FOOTNOTE */
.recipe-footnote {
    margin-top: 20px;
     margin-bottom: 10px;
    color: #555;
}
.direction-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recipe-action-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* same as td align=right */
}

#recipewrap {
    width: auto;
}

/* outer box */
#floatbox {
    display: inline-block;
}

#floatboxpadding {
    padding: 10px;
}

/* main card */
#recipeactionbox {
    background: #fff;
}

.raised {
    border: 1px solid #ddd;
    padding: 10px;
}

/* header */
#recipeactionboxheader {
    text-align: center;
    margin-bottom: 10px;
}

.rating-links {
    margin-top: 5px;
}

/* actions */
.recipe-actions {
    margin-top: 10px;
    font-size: 13px;
}

.action-item {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-item img {
    width: 16px;
    height: 16px;
}
.recipe-photo-box {
    text-align: center;
    direction: rtl;
    padding: 10px;
}

/* image */
.photo-main img {
    display: block;
    margin: 0 auto;
}

/* links */
.photo-action {
    margin-top: 8px;
}

.photo-action a {
    text-decoration: none;
    color: #cc0000;
    font-weight: bold;
}

.photo-action a:hover {
    text-decoration: underline;
}
.ing_title {
    font-weight: bold;
    text-decoration: underline;
    font-size: 16px;
    color: blue;
}

.ing_sub_title {
    font-weight: bold;
    text-decoration: underline;
    font-size: 16px;
    color: green;
}
.dir_title { 
    font-weight: bold; 
    text-decoration: underline; 
    font-size: 16px; 
    color: blue
}
.dir_number {
    padding-right: 5px; 
    font-weight: bold; 
    font-size: 14px; 
    color: #fb6400;
}
.dir_information { 
    font-weight: bold; 
    text-decoration: none; 
    font-size: 16px; 
    color: green;
}
.dir_warning { 
    font-weight: bold; 
    text-decoration: none; 
    font-size: 16px; 
    color: red;
}
.measurements-wrapper {
    width: 90%;
    margin: auto;
    direction: rtl;
    font-family: Verdana, Arial;
}

/* SECTION */
.measure-section {
    margin-bottom: 20px;
}

/* TITLES */
.section-title {
    color: red;
    font-size: 20px;
    font-weight: bold;
    text-align: right;
    margin-bottom: 10px;
}

/* GRID: table + image */
.measure-grid {
    display: grid;
    grid-template-columns: 1fr 250px; /* table + image */
    gap: 20px;
    align-items: start;
}

/* TABLE STRUCTURE */
.measure-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ROW */
.measure-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

/* HEADER */
.measure-row.header {
    font-weight: bold;
}

/* 3 columns for temperature */
.measure-table.three-cols .measure-row {
    grid-template-columns: 1fr 1fr 1fr;
}

/* IMAGE */
.measure-image img {
    max-width: 100%;
}

/* DIVIDER */
.divider {
    border: none;
    border-top: 2px solid #f0af21;
    margin: 20px 0;
}

/* PRINT BUTTON */
.print-box {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sbttn {
    padding: 8px 16px;
    background: #ff7200;
    color: white;
    border: none;
    cursor: pointer;
}
/* wrapper */
.dictionary {
    width: 100%;
    border: 1px solid #ddd;
    direction: rtl;
    font-family: Tahoma, Arial;
}

/* row layout */
.dict-row {
    display: grid;
    grid-template-columns: 120px 200px 1fr;
    align-items: center;
}

/* header */
.dict-header {
    background: #e08f00;
    color: #fff;
    font-weight: bold;
}

/* cells */
.dict-cell {
    padding: 8px;
    text-align: right;
}

/* image column */
.dict-cell.center {
    text-align: center;
}

/* alternating colors */
.bg-alt {
    background: PapayaWhip;
}
.dict-row:not(.dict-header):hover {
    background: #ffe4b5;
}

.bg-white {
    background: #fff;
}

/* image styling */
.dict-cell img {
    max-width: 80px;
    height: auto;
}

/* title + description */
.dict-title {
    color: red;
    margin-bottom: 10px;
    text-align: right;
}

.dict-desc {
    margin-bottom: 15px;
    text-align: right;
}
.recipe-inner:hover {
    background: #ffe4b5;
    border-radius: 6px;
}
.recipe-row:hover {
    background: #ffe4b5;
}
.recipe-engagement-box {
    border: 1px solid #bbb;
    padding: 16px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    font-family: Tahoma, Arial, sans-serif;
}

/* ⭐ rating summary */
.rating-summary {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
    gap: 20px;
}

.stars {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 17px;
}

.star-on {
    color: #ff9800;
}

.star-off {
    color: #ddd;
}

.rating-meta {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #777;
    text-decoration: underline;
     margin-right: 15px;
}
.rating-meta a {
    color: #cc0000;
    text-decoration: none;
    font-weight: bold;
}
.rating-meta a + a::before {
    content: "|";
    margin: 0 10px;
    color: #cc0000;
    text-decoration: none;
    font-weight: bold;
}
.rating-meta a:hover {
    text-decoration: underline;
}

/* 👍 tags */
.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    margin: 10px 0;
}

.quick-tags label {
    background: #f7f7f7;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
}

/* 💬 comment box */
.recipe-engagement-box textarea {
    width: 100%;
    min-height: 70px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
}

/* submit button */
.recipe-engagement-box button {
    margin-top: 10px;
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.recipe-engagement-box button:hover {
    background: #e68900;
}

/* 🧾 actions */
.recipe-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.recipe-actions button {
    background: #f2f2f2;
    border: 0;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.recipe-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin: 15px 0;
}

.recipe-actions button {
    background: #ff8800;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s ease;
}

/* 💬 reviews */
.reviews-box {
    margin-top: 20px;
    border-top: 1px solid #bbb;
}

.review-item {
    border-bottom: 1px solid #bbb;
    padding: 12px 0;
}

.review-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #777;
}
.review-header-submitted-by {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #777;
    font-weight: bold;
    margin-bottom: 10px;
}

.review-stars {
    color: #ff9800;
    font-size: 17px;
    font-weight: bold;
}

.review-comment {
    margin-top: 6px;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}
.ratings,
.ratingsT,
.submitted {
    font-family: inherit;
}
.recipe-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* Image */
.recipe-image img {
    /*width: 150px;*/
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Ingredients preview */
.recipe-ingredients-preview {
    flex: 1;
}

.recipe-ingredients-preview ul {
    margin: 10px 0;
    padding-right: 18px; /* RTL bullets */
}

.recipe-ingredients-preview li {
    margin-bottom: 6px;
}

/* Link */
.show-more {
    color: #cc0000;
    text-decoration: none;
    font-weight: bold;
}

.show-more:hover {
    text-decoration: underline;
}
.star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* Hide radio safely */
.star-input input {
    position: absolute;
    opacity: 0;
}

/* Stars */
.star-input label {
    font-size: 28px;
    color: #ccc;
    cursor: pointer;
    padding: 0 3px;
    transition: color 0.2s;
}

/* Hover */
.star-input label:hover,
.star-input label:hover ~ label {
    color: #ff8800;
}

/* Selected (sticks after click) */
.star-input input:checked ~ label {
    color: #ff8800;
}
.alphabet-nav {
    padding: 10px;
    text-align: center;
    border-bottom: 2px dashed #f0af21;
    margin-bottom: 15px;
}

.alphabet-nav a {
    display: inline-block;
    margin: 0 6px;
    font-weight: bold;
    font-size: 18px;
    color: #cc3300;          /* same vibe as rating */
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 4px;
    /*background: #fff3e0;*/
    /*border: 1px solid #ffcc66;*/
}

.alphabet-nav a:hover {
    background: #ffcc66;
    color: #000;
    text-decoration: none;
}
.alphabet-nav {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}
.recipes-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.letter-header {
    background: #ff8800;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    margin: 15px 0 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.letter-group {
    scroll-margin-top: 90px; /* adjust based on your header height */
}
.recipes-list a {
    color: #444;      /* soft dark gray */
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.recipes-list a:hover {
    color: #ff8800;
}
.about-wrapper {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

.about-title {
    color: #cc0000;
    font-size: 28px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffcc66;
    display: inline-block;
    padding-bottom: 5px;
}

.about-content {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

.about-content p {
    margin-bottom: 15px;
}
.media-page {
    max-width: 900px;
    margin: 20px auto;
    font-family: inherit;
    line-height: 1.8;
}

/* Header */
.media-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.media-header h2 {
    color: #c62828;
    margin: 0;
}

.media-header img {
    width: 50px;
}

/* Each article */
.media-item {
    display: flex;
    gap: 15px;
    margin-bottom: 35px; /* increase from 20px */
}

.media-item img {
    width: 120px;
    height: auto;
}

.media-item p {
    margin: 0;
    font-weight: bold;
    color: #444;
}

/* More text */
.media-more {
    margin: 25px 0 10px;
    color: #c62828;
    font-weight: bold;
}

/* Logos grid */
.media-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    align-items: center;
    text-align: center;
}

.media-logos img {
    max-width: 100px;
    margin: auto;
}
.home-hero {
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.hero-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

/* SEARCH BOX */
.hero-search {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: auto;
}

.hero-search input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.hero-search button {
    padding: 12px 18px;
    border: none;
    background: #ff7043;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.hero-search button:hover {
    background: #f4511e;
}

/* SUGGESTIONS */
.quick-suggestions {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.quick-suggestions a {
    margin: 0 6px;
    text-decoration: none;
    color: #ff7043;
}

.quick-suggestions a:hover {
    text-decoration: underline;
}

/* RANDOM */
.random-recipe {
    margin-top: 20px;
}

.random-recipe a {
    display: inline-block;
    padding: 10px 16px;
    background: #eee;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
}

.random-recipe a:hover {
    background: #ddd;
}
.home-hero {
    background: url('/images/food-bg.jpg') center/cover no-repeat;
    color: white;
}
.random-card {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.random-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff7043, #ff9800);
    color: white;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    min-width: 220px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: 0.2s ease;
}

.random-btn span {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.random-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.hero-banner {
    margin-top: 25px;   /* space from header/search */
    margin-bottom: 25px;
    text-align: center;
}

.hero-banner img {
    max-width: 100%;
    border-radius: 12px;
}

.hero-text {
    margin-top: 8px;
    font-size: 18px;
    color: #444;
}
.ads-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: inherit;
}

.ads-section {
    margin-bottom: 30px;
}

.ads-section h2 {
    color: #cc0000;
    margin-bottom: 15px;
}

.ads-section p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.ads-section ul {
    margin: 10px 0 15px;
    padding: 0 20px;
}

.ads-section li {
    margin-bottom: 6px;
}

.ads-divider {
    border-top: 2px solid #eee;
    margin: 30px 0;
}

.contact a {
    color: #ff5722;
    font-weight: bold;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}
.contact-page {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 15px;
}

.contact-page h2 {
    color: #cc0000;
    margin-bottom: 10px;
}

.intro {
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    background: #ff5722;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background: #e64a19;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}
.article-page {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
    direction: rtl;
    line-height: 2;
    color: #444;
}

/* Header */
.article-header {
    margin-bottom: 25px;
    border-bottom: 3px solid #f3f3f3;
    padding-bottom: 10px;
}

.article-header h1 {
    color: #cc0000;
    font-size: 34px;
    margin: 0;
    font-weight: bold;
}

/* Intro section */
.article-intro {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-image img {
    width: 150px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.article-text {
    flex: 1;
    font-size: 20px;
    font-weight: bold;
    color: #555;
}

/* Content */
.article-content {
    background: #fff;
}

/* Benefits list */
.benefits-list {
    padding-right: 25px;
    margin: 0;
}

.benefits-list li {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 2.1;
    background: #fafafa;
    padding: 18px;
    border-radius: 10px;
    border-right: 5px solid #ff9800;
}

.benefits-list strong {
    color: #2e7d32;
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

/* Footer note */
.article-footer {
    margin-top: 35px;
    padding: 20px;
    background: #fff8e1;
    border-right: 5px solid #ffc107;
    border-radius: 10px;
    font-size: 18px;
    line-height: 2;
}

/* Mobile */
@media (max-width: 768px) {

    .article-header h1 {
        font-size: 28px;
    }

    .article-intro {
        flex-direction: column;
        text-align: center;
    }

    .article-text {
        font-size: 18px;
    }

    .benefits-list li {
        font-size: 17px;
    }
}

/* =========================
   PAGE
========================= */

.photo-page {
    width: 92%;
    max-width: 1200px;
    margin: 40px auto;
    direction: rtl;
    text-align: right;
}

/* =========================
   HEADER
========================= */

.photo-header {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    margin-bottom: 35px;

    box-shadow:
        0 4px 18px rgba(0,0,0,0.06);
}

.photo-title {
    margin: 0 0 15px;
    font-size: 32px;
    color: #d35400;
}

.recipe-link {
    margin: 0;
    font-size: 24px;
    line-height: 1.8;
}

.recipe-link a {
    color: #222;
    text-decoration: none;
    transition: 0.3s;
}

.recipe-link a:hover {
    color: #e67e22;
}

/* =========================
   GRID
========================= */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* =========================
   CARD
========================= */

.photo-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;

    border: 1px solid #ececec;

    box-shadow:
        0 4px 18px rgba(0,0,0,0.06);

    transition: 0.3s;
}

.photo-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 28px rgba(0,0,0,0.10);
}

/* =========================
   IMAGE
========================= */

.photo-image-wrapper {
    background: #fafafa;
    padding: 18px;
    text-align: center;
}

.photo-image {
    width: 100%;
    max-width: 320px;
    height: 260px;
    object-fit: cover;

    border-radius: 16px;

    border: 1px solid #ddd;
}

/* =========================
   INFO
========================= */

.photo-info {
    padding: 22px;
}

.photo-meta {
    margin-bottom: 12px;
    line-height: 1.9;
}

.photo-meta:last-child {
    margin-bottom: 0;
}

.label {
    color: #888;
    font-size: 14px;
    margin-left: 6px;
}

.value {
    color: #222;
    font-size: 16px;
    font-weight: bold;
}

/* =========================
   NO PHOTOS
========================= */

.no-photos {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 22px;

    font-size: 22px;
    color: #777;

    box-shadow:
        0 4px 18px rgba(0,0,0,0.06);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-header {
        padding: 22px;
    }

    .photo-title {
        font-size: 26px;
    }

    .recipe-link {
        font-size: 20px;
    }

    .photo-image {
        height: auto;
    }

}

/* =========================
   APPLE TABLE
========================= */

.apple-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.apple-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #f0d2a5;
    border-radius: 18px;
    overflow: hidden;
}

.apple-row {
    display: grid;
    grid-template-columns:
        repeat(7, 1fr);

    background: #fff;
}

.apple-row div {
    padding: 16px;
    border-bottom: 1px solid #f3e2c4;
    border-left: 1px solid #f3e2c4;
    font-size: 15px;
}

.apple-header-row {
    background: #e08f00;
    color: white;
    font-weight: bold;
}

.apple-header-row div {
    border-color: rgba(255,255,255,0.2);
}

/* =========================
   APPLE CARDS
========================= */

.apple-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 35px;

    display: flex;
    gap: 28px;
    align-items: flex-start;

    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.apple-image img {
    width: 120px;
    height: auto;
}

.apple-content {
    flex: 1;
}

.apple-title {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 30px;
}

.apple-title.red {
    color: #d62828;
}

.apple-title.green {
    color: #2a9d8f;
}

.apple-title.yellow {
    color: #d4a017;
}

.apple-season {
    background: #fff7ea;
    border-right: 5px solid #f0af21;
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
}

.article-page {
    width: 92%;
    max-width: 1100px;
    margin: 40px auto;
    direction: rtl;
    color: #333;
    line-height: 2;
}

.article-header {
    margin-bottom: 25px;
}

.article-title {
    font-size: 34px;
    font-weight: bold;
    margin: 0;
}

.article-title.green {
    color: #2e8b57;
}

.article-title.orange {
    color: #e67e22;
}

.mt-50 {
    margin-top: 50px;
}

/* =========================
   TABLE STYLE
========================= */

.nutrition-table {
    border: 1px solid #ead7b0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}

.nutrition-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
}

.nutrition-row > div {
    padding: 18px;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #f2f2f2;
    font-size: 16px;
}

.nutrition-row > div:last-child {
    border-left: 0;
    font-weight: bold;
    color: #b85c00;
}

.nutrition-head {
    background: linear-gradient(135deg, #f0af21, #e08f00);
    color: white;
    font-weight: bold;
}

.nutrition-head > div {
    border-bottom: 0;
    border-left: 1px solid rgba(255,255,255,0.15);
}

.nutrition-head > div:last-child {
    border-left: 0;
    color: white;
}

.nutrition-row.alt {
    background: #fff7eb;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .nutrition-row {
        grid-template-columns: 1fr;
    }

    .nutrition-row > div {
        border-left: 0;
        border-bottom: 1px solid #eee;
    }

    .nutrition-head {
        display: none;
    }

    .nutrition-row > div:last-child {
        background: #fff3d9;
    }

}

.content-section {
    width: 100%;
    direction: rtl;
    font-weight: bold;
    line-height: 1.9;
}

.intro-block,
.color-section {
    margin-bottom: 40px;
}

.intro-flex,
.color-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.intro-image img,
.color-image img {
    max-width: 180px;
    height: auto;
}

.color-content {
    flex: 1;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.food-grid div {
    padding: 6px 10px;
    border-radius: 6px;
    background: #f7f7f7;
}

.orange-text div {
    color: orange;
}

.red-text div {
    color: red;
}

.purple-text div {
    color: #660066;
}

.green-text div {
    color: green;
}

.brown-text div {
    color: brown;
}

@media (max-width: 768px) {

    .intro-flex,
    .color-flex {
        flex-direction: column;
    }

    .intro-image,
    .color-image {
        text-align: center;
    }

    .food-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.food-grid div {
    position: relative;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.35);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.7);

    font-weight: 700;
    transition: all 0.25s ease;
    overflow: hidden;
}

.food-grid div::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
}

.food-grid div:hover {
    transform: translateY(-4px) scale(1.02);

    box-shadow:
        0 16px 35px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Orange */
.orange-text div {
    color: #e67e22;
    background: linear-gradient(
        135deg,
        rgba(255, 196, 87, 0.18),
        rgba(255,255,255,0.9)
    );
}

.orange-text div::before {
    background: linear-gradient(135deg, #ffb347, transparent);
}

/* Red */
.red-text div {
    color: #d63031;
    background: linear-gradient(
        135deg,
        rgba(255, 99, 132, 0.15),
        rgba(255,255,255,0.9)
    );
}

.red-text div::before {
    background: linear-gradient(135deg, #ff6b6b, transparent);
}

/* Purple */
.purple-text div {
    color: #7b2cbf;
    background: linear-gradient(
        135deg,
        rgba(155, 89, 182, 0.15),
        rgba(255,255,255,0.9)
    );
}

.purple-text div::before {
    background: linear-gradient(135deg, #9b59b6, transparent);
}

.example-card {
    position: relative;

    padding: 22px;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.9),
        rgba(247,250,252,0.75)
    );

    border: 1px solid rgba(255,255,255,0.45);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);

    transition: all 0.3s ease;

    overflow: hidden;
}

.example-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(76,175,80,0.08),
        transparent
    );

    pointer-events: none;
}

.example-card:hover {
    transform: translateY(-5px) scale(1.02);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.example-title {
    display: inline-block;

    margin-bottom: 14px;
    padding: 6px 14px;

    background: linear-gradient(135deg, #43a047, #66bb6a);

    color: #fff;

    border-radius: 999px;

    font-size: 15px;
    font-weight: bold;
}

.example-content {
    font-weight: 600;
    text-align: justify;
}

/* Mobile */
@media (max-width: 768px) {

    .school-food-section {
        width: 95%;
    }

    .tip-item {
        padding: 16px;
    }

    .examples-section {
        grid-template-columns: 1fr;
    }
}