/* =============================================================
   Typography
   Τα μεγέθη του design είναι desktop @1280. Με clamp() κρατάμε
   το πάνω όριο ίδιο με το spec αλλά γίνονται fluid στο mobile.
   ============================================================= */

body {
  font-family: var(--font-main);
  font-weight: var(--fw-regular);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  line-height: 1.15;
  color: var(--text);
}

/* H1 — Semi-bold 40px (π.χ. "Ανακαλύψτε…") */
h1, .h1 {
  font-size: clamp(28px, 4.5vw, var(--fs-h1));
  font-weight: var(--fw-semibold);
}

/* H2 — Semi-bold 32.5px ("Νέα Προϊόντα") */
h2, .h2 {
  font-size: clamp(24px, 3.6vw, var(--fs-h2));
  font-weight: var(--fw-semibold);
}

/* H3 — Bold 47px ("Ψώνισε εύκολα") */
h3, .h3 {
  font-size: clamp(30px, 5vw, var(--fs-h3));
  font-weight: var(--fw-bold);
}

/* H4 — Regular 35px */
h4, .h4 {
  font-size: clamp(24px, 3.8vw, var(--fs-h4));
  font-weight: var(--fw-regular);
}

p { line-height: var(--lh-base); }
p + p { margin-top: 1em; }

a { transition: color var(--t-base); }

strong, b { font-weight: var(--fw-semibold); }

/* ---------- Section title helper ---------- */
.section-title {
  font-size: clamp(24px, 3.6vw, var(--fs-h2));
  font-weight: var(--fw-semibold);
  margin-bottom: 1.2rem;
}

/* ---------- Design-specific type roles (utility classes) ----------
   Τα εφαρμόζουμε στα template parts καθώς χτίζουμε τις σελίδες. */

.type-about {
  font-size: clamp(22px, 3.5vw, var(--fs-about));
  font-weight: var(--fw-medium);
  line-height: var(--lh-about);
}

.type-service-title {
  font-size: clamp(20px, 2.6vw, var(--fs-service-title));
  font-weight: var(--fw-semibold);
}
.type-service-text {
  font-size: clamp(16px, 2vw, var(--fs-service-text));
  font-weight: var(--fw-regular);
}

.type-product-title {
  font-size: clamp(34px, 6vw, var(--fs-product-title));
  font-weight: var(--fw-semibold);
}
.type-product-code {
  font-size: var(--fs-product-code);
  font-weight: var(--fw-regular);
  color: var(--text-muted);
}
.type-product-price {
  font-size: clamp(24px, 3.4vw, var(--fs-product-price));
  font-weight: var(--fw-semibold);
}

.type-feature-title {
  font-size: clamp(40px, 8vw, var(--fs-feature-title));
  font-weight: var(--fw-medium);
  line-height: var(--lh-feature);
}
.type-feature-text {
  font-size: clamp(18px, 2.6vw, var(--fs-feature-text));
  font-weight: var(--fw-regular);
  line-height: var(--lh-feature);
}

.type-blog-title {
  font-size: clamp(28px, 4.5vw, var(--fs-blog-title));
  font-weight: var(--fw-semibold);
}
.type-blog-name {
  font-size: clamp(20px, 2.8vw, var(--fs-blog-name));
  font-weight: var(--fw-semibold);
}
.type-blog-article {
  font-size: clamp(18px, 2.8vw, var(--fs-blog-article));
  font-weight: var(--fw-regular);
}

.type-contact-label {
  font-size: clamp(22px, 3.4vw, var(--fs-contact-label));
  font-weight: var(--fw-semibold);
}
.type-contact-input {
  font-size: clamp(20px, 3.4vw, var(--fs-contact-input));
  font-weight: var(--fw-regular);
}

/* ---------- Post / page editor content ---------- */
.entry-content { line-height: 1.7; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.2em;
  font-style: italic;
  color: var(--text-muted);
}
