/*
Theme Name: French Food and Cook Child
Theme URI: https://www.frenchfoodandcook.com/
Description: Lightweight Astra child theme for frenchfoodandcook.com. Styling only — stock Astra underneath (a different mainstream base than the manthatcooks build, so no shared custom-theme footprint). Mobile-first, fast, SEO/schema friendly. Recreates the minimalistic "French Food and Cook — Home Cooking, French Style" look: white header, black HOME/COOKING/WINE nav, thin serif headings, boxed white content on a light-grey ground, right sidebar.
Author: French Food and Cook
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: frenchfoodandcook-child
*/

/* ============================================================
   Palette (tuned to the minimalistic French Food and Cook look)
   ============================================================ */
:root{
  --ffc-ink:#2f2f2f;         /* near-black serif headings */
  --ffc-nav:#111111;         /* black nav bar */
  --ffc-link:#6a7b73;        /* muted sage/teal links (body) */
  --ffc-link-h:#3f4a45;      /* link hover */
  --ffc-muted:#9a9a9a;       /* meta / small grey */
  --ffc-ground:#f2f2f2;      /* page background */
  --ffc-card:#ffffff;        /* content cards */
  --ffc-rule:#e6e6e6;
}

/* ============================================================
   Base — serif body, generous whitespace, light-grey ground
   ============================================================ */
body{
  background:var(--ffc-ground);
  color:#444;
  font-family:"PT Serif",Georgia,"Times New Roman",serif;
  font-size:16px;
  line-height:1.7;
}
a{color:var(--ffc-link);}
a:hover{color:var(--ffc-link-h);}

/* Thin, elegant serif headings (Playfair) like the original */
h1,h2,h3,h4,.entry-title,.widget-title,.ast-single-post .entry-title,.site-title{
  font-family:"Playfair Display",Georgia,"Times New Roman",serif;
  font-weight:400;
  color:var(--ffc-ink);
  letter-spacing:.2px;
}
.entry-title{font-size:34px;line-height:1.15;margin-bottom:.4em;}
.entry-title a{color:var(--ffc-ink);text-decoration:none;}
.entry-title a:hover{color:#000;}

/* ============================================================
   Header — white, large serif wordmark + small-caps tagline
   ============================================================ */
.site-header,.main-header-bar{background:#ffffff !important;border-bottom:0;}
.site-title,.site-logo-img + .site-title{margin:0;}
.site-title a{color:var(--ffc-ink) !important;font-size:38px;font-weight:400;}
.site-header .site-description,.ast-site-description{
  color:var(--ffc-muted);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-family:Georgia,serif;
}

/* Social icons row (grey circles), if used in header */
.ast-header-social-1 .ast-builder-social-element{color:#cfcfcf;}
.ast-header-social-1 .ast-builder-social-element:hover{color:#9a9a9a;}

/* ============================================================
   Primary navigation — full-width BLACK bar, uppercase links
   ============================================================ */
.main-header-bar-navigation,.ast-primary-header-bar,.main-navigation{background:var(--ffc-nav);}
.main-header-menu,
.ast-nav-menu .menu-item > a,
.main-navigation a{
  color:#ffffff !important;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-family:Georgia,Arial,sans-serif;
  font-size:14px;
}
.main-header-menu .menu-item:hover > a,
.main-header-menu .current-menu-item > a{
  background:#333333;
  color:#ffffff !important;
}

/* ============================================================
   Content — boxed white cards on grey (Astra "Boxed" layout)
   Set Customize → Container → "Boxed" to match the screenshots.
   ============================================================ */
.ast-separate-container .ast-article-post,
.site-content article,
.ast-separate-container .comments-area{
  background:var(--ffc-card);
  border:1px solid var(--ffc-rule);
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.entry-content{color:#444;}
.entry-content p{margin:0 0 1.2em;}
.entry-content img,.wp-block-image img{max-width:100%;height:auto;}

/* Post meta line — small grey with subtle separators */
.entry-meta,.ast-blog-single-element,.post-meta{color:var(--ffc-muted);font-size:13px;}
.entry-meta a{color:var(--ffc-muted);}

/* ============================================================
   Sidebar widgets — thin serif light headings
   ============================================================ */
.widget-title,.sidebar-main .widget-title{
  color:#b7b7b7;
  font-size:20px;
  font-weight:400;
  border-bottom:1px solid var(--ffc-rule);
  padding-bottom:8px;margin-bottom:14px;
}
.sidebar-main .widget a{color:var(--ffc-link);text-decoration:none;}
.sidebar-main .widget a:hover{color:var(--ffc-link-h);}
.sidebar-main .widget li{border-bottom:1px dotted #e2e2e2;padding:7px 0;list-style:none;}

/* Search field */
.wp-block-search__input,.search-field{border:1px solid #d5d5d5;padding:9px 11px;}
.wp-block-search__button,.search-submit{background:var(--ffc-nav);color:#fff;border:0;padding:9px 14px;}

/* ============================================================
   Contact form (Formspree) — [ffc_contact]
   ============================================================ */
.ffc-contact-form{max-width:600px;}
.ffc-contact-form label{display:block;font-weight:700;margin:14px 0 4px;color:var(--ffc-ink);}
.ffc-contact-form input,
.ffc-contact-form textarea{
  width:100%;padding:11px 12px;border:1px solid #d5d5d5;border-radius:2px;
  font-size:16px;font-family:inherit;background:#fff;
}
.ffc-contact-form textarea{min-height:170px;resize:vertical;}
.ffc-contact-form button{
  margin-top:16px;background:var(--ffc-nav);color:#fff;border:0;
  padding:12px 26px;font-size:15px;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;
}
.ffc-contact-form button:hover{background:#333;}

/* ============================================================
   Footer
   ============================================================ */
.site-footer,.ast-small-footer{background:#111;color:#bdbdbd;}
.site-footer a{color:#e6e6e6;}

/* ============================================================
   Mobile-first responsive
   ============================================================ */
@media (max-width:768px){
  .site-title a{font-size:28px;}
  .entry-title{font-size:26px;}
  .main-header-menu .menu-item > a{font-size:13px;}
}
