/*
 * Base styles: page, text, headings, links, images.
 * Our own CSS, written with the values measured on the live site (spec Q35/Q36). Colours and sizes come from tokens.css.
 */

html {
  font: var(--weight-light) var(--size-base) / var(--leading-base) var(--font-base);
  color: var(--color-text-base);
  background: var(--color-white);
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

/* Text */
p,
ul {
  margin: 0 0 10px;
}

* + p,
* + ul {
  margin-top: 10px;
}

li {
  line-height: var(--leading-base);
}

strong {
  font-weight: var(--weight-bold);
}

/* Headings: the live site sets them in Roboto with weight 400 */
h1,
h2,
h3 {
  margin: 0 0 10px;
  font-weight: var(--weight-regular);
  color: var(--color-heading);
}

* + h2,
* + h3 {
  margin-top: 40px;
}

h1 {
  font-size: var(--size-2xl);
  line-height: var(--leading-h1);
  padding-top: 30px;
}

h2 {
  font-size: var(--size-xl);
  line-height: var(--leading-h2);
}

h3 {
  font-size: var(--size-md);
  line-height: var(--leading-base);
}

/* Links */
a {
  color: var(--color-link);
  text-decoration: none;
  cursor: pointer;
}

a:hover,
a:focus {
  color: var(--color-heading);
  outline: 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border: 0;
  box-sizing: border-box;
  vertical-align: middle;
}

/* Selected text */
::selection {
  background: var(--color-selection);
  color: var(--color-black);
  text-shadow: none;
}

/* The page title (<h1>) is hidden on the live site: it shows in the page header (decision Α10) */
.hidden-title {
  display: none;
}

/* Page layout: everything that sticks out on the sides is cut (as on the live site) */
.page {
  overflow: hidden;
  min-height: 100vh;
}

/* grey background, content up to 1310px wide */
.site-content {
  background: var(--color-page-bg);
}

.content-area {
  padding: 0 30px 30px;
}

/* thin light line between the page header (or the home slider) and the content */
.content-area,
.home-content {
  border-top: 1px solid var(--color-border);
}

.content {
  max-width: var(--layout-content-max);
  margin: 0 auto;
  padding-top: 60px;
  text-align: left;
}

@media (max-width: 767px) {
  .content-area {
    padding: 0 15px 30px;
  }
}

/* page "Μενού": the categories start a little higher up to 1024px */
@media (max-width: 1024px) {
  .content-menu {
    margin-top: -36px;
  }
}

/* Gold button, e.g. "Γνωρίστε μας" on the home page (.gustoSCbutton on the live site) */
.button-gold {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 50px;
  margin: 40px auto 0;
  font-size: var(--size-lg);
  color: var(--color-white);
  background: var(--color-gold-alt);
  text-decoration: none;
}

.button-gold:hover,
.button-gold:focus {
  color: var(--color-white);
}
