/* ============================================================ Medical Recipe Platform Theme: Calming Clinical (White, Soft Teal, Navy) ============================================================ */ :root { --bg-main: #f8fafc; --bg-card: #ffffff; --primary: #0d9488; /* Premium Teal */ --primary-hover: #0f766e; --primary-light: #ccfbf1; --text-main: #1e293b; --text-muted: #64748b; --border-light: #e2e8f0; --font-sans: 'Inter', system-ui, sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-sans); background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: 70px; } /* ── NAV BAR ───────────── */ .site-nav { position: fixed; top: 0; left: 0; width: 100%; height: 70px; background: white; border-bottom: 1px solid var(--border-light); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.02); } .nav-inner { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; } .nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-main); font-weight: 800; font-size: 1.4rem; } .nav-logo-icon { color: var(--primary); font-size: 1.6rem; } /* ── HERO & FILTER ARRAY ── */ .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; } .hero { text-align: center; margin-bottom: 40px; } .hero h1 { font-size: 2.8rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; letter-spacing: -1px; } .hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; } .filter-array { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--border-light); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 40px; text-align: center; } .filter-array h3 { margin-bottom: 15px; font-size: 1.1rem; color: var(--text-main); } .tag-toggles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .tag-btn { background: white; border: 2px solid var(--border-light); color: var(--text-muted); padding: 10px 20px; border-radius: 30px; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.2s; user-select: none; } .tag-btn:hover { border-color: var(--primary); color: var(--primary); } .tag-btn.active { background: var(--primary); border-color: var(--primary); color: white; } /* ── RECIPE GRID ───────── */ .results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .results-count { font-weight: 700; color: var(--text-main); font-size: 1.1rem; } .recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; } .recipe-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: all 0.2s; display: flex; flex-direction: column; } .recipe-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: var(--primary-light); } .recipe-img-placeholder { background: var(--primary-light); height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; border-bottom: 1px solid var(--border-light); } .recipe-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; } .recipe-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #0f172a; } .recipe-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 15px; flex-grow: 1; } .recipe-meta { display: flex; gap: 15px; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin-bottom: 15px; } .recipe-tags-list { display: flex; flex-wrap: wrap; gap: 6px; } .badge-tag { background: #f1f5f9; color: #475569; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; } /* ── INDIVIDUAL RECIPE PAGE ── */ .recipe-hero { background: white; padding: 60px 20px; border-bottom: 1px solid var(--border-light); text-align:center; } .recipe-hero h1 { font-size: 2.5rem; margin-bottom: 15px; color: #0f172a; } .recipe-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 40px; } @media (max-width: 768px) { .recipe-layout { grid-template-columns: 1fr; } } .ingredients-card { background: white; border: 1px solid var(--border-light); padding: 30px; border-radius: 12px; } .ingredients-list { list-style: none; } .ingredients-list li { padding: 10px 0; border-bottom: 1px solid var(--border-light); color: var(--text-main); } .ingredients-list li:last-child { border-bottom: none; } .instructions-list { margin-left: 20px; } .instructions-list li { margin-bottom: 15px; padding-left: 10px; font-size: 1.05rem; } /* ── ADS & FOOTER ───────── */ .ad-slot { background: white; border: 2px dashed var(--border-light); color: var(--text-muted); display: flex; align-items: center; justify-content: center; margin: 30px auto; overflow: hidden; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; } .ad-leaderboard { width: 100%; max-width: 970px; height: 90px; } .site-footer { text-align: center; padding: 40px 20px; background: white; border-top: 1px solid var(--border-light); margin-top: 60px; color: var(--text-muted); font-size: 0.9rem; } /* ── MOBILE OPTIMIZATIONS ── */ @media (max-width: 600px) { .hero h1 { font-size: 2rem; } .tag-btn { padding: 12px 24px; font-size: 1.05rem; min-height: 48px; /* Meet 48px GSC requirement */ display: flex; align-items: center; justify-content: center; } .tag-toggles { gap: 14px; } .nav-logo { font-size: 1.1rem; } .cookie-banner { font-size: 13px; padding: 15px; } .cookie-btn { width: 100%; margin-top: 10px; padding: 15px; font-size: 1rem; min-height: 48px; } /* Sub-page tag improvements */ .badge-tag { padding: 8px 16px; margin: 4px; display: inline-flex; min-height: 36px; align-items: center; } }