/*
Theme Name: Galateia Editorial
Theme URI: https://galateiafashion.fr
Description: Child theme Astra — design éditorial magazine moderne pour Galateia Fashion.
Author: Galateia Fashion
Template: astra
Version: 1.0
Text Domain: astra-child
*/

/* === PALETTE === */
:root {
  --ga-black: #0F0F0F;
  --ga-cream: #FCF8F0;
  --ga-cream-soft: #FBF6EC;
  --ga-tomato: #E63946;
  --ga-tomato-dark: #C42835;
  --ga-grey-warm: #6B5F58;
  --ga-grey-light: #D8D2C8;
  --ga-accent-paper: #F0E8DB;
}

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,400;9..144,500;9..144,700;9..144,900&family=Inter:wght@300;400;500;600;700&display=swap');

body, p, li, td, input, textarea, button {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  color: var(--ga-black);
  background: var(--ga-cream-soft);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .ast-archive-title, .ast-author-box .author-title, .widget-title {
  font-family: 'Fraunces', 'Playfair Display', serif !important;
  color: var(--ga-black);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

h1, .entry-title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1.15; margin-top: 2.5em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); line-height: 1.25; margin-top: 1.8em; }

/* === LINKS === */
a {
  color: var(--ga-tomato);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--ga-tomato-dark);
}

/* === HEADER === */
.ast-primary-header-bar {
  background: var(--ga-cream) !important;
  border-bottom: 1px solid var(--ga-grey-light);
}

.site-title, .site-title a, .ast-site-title-wrap a {
  font-family: 'Fraunces', serif !important;
  font-weight: 900;
  font-style: italic;
  color: var(--ga-tomato) !important;
  font-size: 2rem;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "WONK" 1;
}

.main-navigation a, .main-navigation .menu-item a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ga-black) !important;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a {
  color: var(--ga-tomato) !important;
}

/* === HERO HOMEPAGE — magazine style === */
.home .site-content,
.blog .site-content {
  background: var(--ga-cream-soft);
  padding-top: 0;
}

.home .ast-row > .ast-col-md-12,
.blog .ast-row > .ast-col-md-12 {
  max-width: 1280px;
  margin: 0 auto;
}

/* Featured post on home */
.home article:first-child .ast-loop-post,
.blog article:first-child .ast-loop-post {
  background: var(--ga-black);
  color: var(--ga-cream);
  padding: 3rem;
  border-radius: 4px;
  margin-bottom: 3rem;
  position: relative;
}
.home article:first-child .entry-title,
.blog article:first-child .entry-title {
  color: var(--ga-cream) !important;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}
.home article:first-child .entry-title a,
.blog article:first-child .entry-title a {
  color: var(--ga-cream) !important;
}
.home article:first-child .entry-meta,
.blog article:first-child .entry-meta {
  color: var(--ga-tomato);
}

/* Cards — magazine grid */
article.post {
  background: var(--ga-cream);
  border: 1px solid var(--ga-grey-light);
  border-radius: 2px;
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
article.post:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(15, 15, 15, 0.18);
}

article.post .entry-meta {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ga-tomato);
  margin-bottom: 0.5rem;
}

article.post .entry-title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
article.post .entry-title a {
  color: var(--ga-black) !important;
  text-decoration: none;
}
article.post .entry-title a:hover {
  color: var(--ga-tomato) !important;
}

article.post .entry-content,
article.post .entry-summary {
  font-size: 0.95rem;
  color: var(--ga-grey-warm);
  line-height: 1.6;
}

.read-more, .ast-button, .button {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--ga-tomato) !important;
  border: none;
  padding: 0;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ga-tomato);
  padding-bottom: 2px;
}
.read-more:hover, .ast-button:hover, .button:hover {
  color: var(--ga-tomato-dark) !important;
  border-bottom-color: var(--ga-tomato-dark);
}

/* === SINGLE POST === */
.single-post .entry-header {
  text-align: left;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.single-post .entry-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

.single-post .ast-byline-meta {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ga-tomato);
}

.single-post .entry-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.single-post .entry-content p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 4.5em;
  font-weight: 900;
  float: left;
  line-height: 0.85;
  margin: 0.08em 0.12em 0 0;
  color: var(--ga-tomato);
  font-style: italic;
}

.single-post .entry-content blockquote {
  border-left: 3px solid var(--ga-tomato);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ga-black);
}

.single-post .entry-content table {
  border-collapse: collapse;
  border: 1px solid var(--ga-grey-light);
  margin: 2rem 0;
  width: 100%;
  font-size: 0.95rem;
}
.single-post .entry-content table th {
  background: var(--ga-black);
  color: var(--ga-cream);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
  text-align: left;
}
.single-post .entry-content table td {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--ga-grey-light);
}
.single-post .entry-content table tr:nth-child(even) td {
  background: var(--ga-accent-paper);
}

.single-post .entry-content ul li,
.single-post .entry-content ol li {
  margin-bottom: 0.6rem;
}

.single-post .entry-content ul li::marker {
  color: var(--ga-tomato);
}

/* === FOOTER === */
.site-footer, .footer-adv {
  background: var(--ga-black) !important;
  color: var(--ga-cream) !important;
}
.site-footer h2, .site-footer h3, .site-footer .widget-title,
.footer-adv h2, .footer-adv h3, .footer-adv .widget-title {
  color: var(--ga-tomato) !important;
}
.site-footer a, .footer-adv a {
  color: var(--ga-cream) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.site-footer a:hover, .footer-adv a:hover {
  color: var(--ga-tomato) !important;
}

/* === CATEGORY ARCHIVE === */
.archive-header-title, .ast-archive-title {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  color: var(--ga-tomato);
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 3rem 0;
}

/* === SIDEBAR === */
.widget {
  background: var(--ga-cream);
  padding: 1.5rem;
  border: 1px solid var(--ga-grey-light);
  margin-bottom: 1.5rem;
}
.widget-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--ga-tomato);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* === SEARCH FORM === */
.search-field, input[type="text"], input[type="email"], textarea {
  background: var(--ga-cream);
  border: 1px solid var(--ga-grey-warm);
  padding: 0.7rem 1rem;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
}

/* === MOBILE === */
@media (max-width: 768px) {
  h1, .entry-title { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .single-post .entry-content { font-size: 1rem; }
  .home article:first-child .ast-loop-post { padding: 2rem 1.5rem; }
}

/* Hide comments completely */
.comments-area, .comment-respond, .comments {
  display: none !important;
}

/* Smooth anchor scroll for FAQs */
html { scroll-behavior: smooth; }

/* Hover featured images */
.post-thumb img, .ast-blog-featured-section img {
  transition: filter 0.3s ease;
}
article.post:hover .post-thumb img,
article.post:hover .ast-blog-featured-section img {
  filter: brightness(1.05) saturate(1.1);
}
