/**
 * @file
 * This is the base CSS file, for styling elements.
 */

html {
  box-sizing: border-box;
}

body {
  color: #722424;
  background: #FFE4E1;
  font-family: "Open Sans", Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin-top: 0; /* This allows us to ensure that items side-by-side line up nicely. */
}

*:focus {
  outline-width: 1px;
  outline-style: dotted;
  outline-color: #76A5AF;
  outline-offset: 2px; /* Not supported in IE11 but greatly improves outline visibility in newer browsers. */
}

a {
  text-decoration: underline;
  color: #23166d;
}

a:hover,
a:focus {
  color: #912207;
  background-color: #FFE4E1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

blockquote {
  margin: 0 0 1.28rem;
  padding: 1.5rem;
  background: #f4f2e9;
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* Small */
@media screen and (min-width: 30rem) { /* 480px */
  blockquote {
    margin: 0 1.5rem 1.28rem;
    padding: 1.5rem;
    display: block;
    position: -webkit-sticky;
    position: static;
  }
}

/* Medium */
@media screen and (min-width: 40rem) { /* 640px */
  blockquote {
    margin: 0 2.5rem 1.28rem;
    padding: 3rem;
  }
}

blockquote > * {
  color: #000;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.266rem;
  line-height: 1.5;
}

blockquote a {
  /* Tweak default link color to improve contrast for accessibility */
  color: #76A5AF;
}

blockquote a:hover,
blockquote a:focus {
  background-color: #FFE4E1F;
}

button,
.button,
.button[type="submit"],
[type="reset"],
[type="submit"] {
  display: inline-block;
  min-width: inherit;
  max-width: inherit;
  margin: 0;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  transition: background-color 0.5s ease;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid #76A5AF;
  border-radius: 3px;
  background-color: #76A5AF;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.2rem;
}
button:hover,
button:active,
button:focus,
.button:hover,
.button:active,
.button:focus {
  transition: background-color 0.5s ease;
  text-decoration: none;
  color: #722424;
  background-color: #76A5AF;
}
button[disabled]:hover,
button[disabled]:active,
button[disabled]:focus,
button[disabled],
.button[disabled]:hover,
.button[disabled]:active,
.button[disabled]:focus,
.button[disabled] {
  cursor: default;
  color: #722424;
  background: #767775;
}

h1 {
  margin: 0 0 1.07rem 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.424rem; /* +3 based on 1.125 modular scale (major second) */
  line-height: 1.2;
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
  h1 {
    font-size: 2.369rem;
  }
}

h2 {
  margin: 0 0 0.7rem 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.266rem;  /* +2 based on 1.125 modular scale (major second) */
  line-height: 1.2;
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
  h2 {
    font-size: 1.77rem;
  }
}

h3 {
  margin: 0 0 0.96rem 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.2;/* +1 based on 1.125 modular scale (major second) */
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
  h3 {
    font-size: 1.5rem;
  }
}

h4 {
  margin: 0 0 1.28rem 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 1rem;
  line-height: 1.2;
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
  h4 {
    font-size: 1.33rem;
  }
}

h5 {
  margin: 0 0 1.28rem 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 0.889rem; /* -1 based on 1.125 modular scale (major second) */
  line-height: 1.2;
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
  h5 {
    font-size: 1.25rem;
  }
}

h6 {
  margin: 0 0 1.28rem 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 0.79rem; /* -1 based on 1.125 modular scale (major second) */
  line-height: 1.2;
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
  h6 {
    font-size: 1rem;
  }
}

img {
  max-width: 100%;
 /* height: auto;*/
}

.form-select {
  margin: 0.25rem 0;
  color: #000;
  border: 2px solid #76A5AF;
  background: #FFE4E1;
  font-size: 1rem;
}

.form-select:focus {
  margin-bottom: 2px;
  border: 2px solid #76A5AF;
}

input {
  min-width: 100%;
  max-width: 100%;
  margin: 0.25rem 0;
  padding: 0.8rem 0.4rem;
  color: #000;
  border: 2px solid #76A5AF;
  font-size: 1rem;
}
input:focus {
  border: 2px solid #76A5AF;
}
input[type="checkbox"] {
  min-width: inherit;
  max-width: none;
}

textarea {
  padding: 0.8rem 0.4rem;
  color: #000;
  border: 2px solid #FFE4E1;
}

textarea:focus {
  border: 2px solid #76A5AF;
}

label {
  display: block;
  margin: 0.25rem 0;
  color: #0c0707;
  font-size: 1.5rem;
  font-weight: 600;
}

ul,
ol {
  margin-bottom: 1.28rem;
}
ol ol,
ol ul,
ul ul,
ul ol {
  margin-top: 0;
  margin-bottom: 0;
}

p {
  margin-bottom: 1.28rem;
}

/* for my resipe page */

.taxonomy-term.vocabulary-recipe-category{
  display: flex;
  flex-direction: column;
  border: 2px  dashed #76A5AF;
  align-items: center;
  padding-top: 1em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  margin: 3%;
  border-radius: 1em;
}

.taxonomy-term.vocabulary-recipe-category a {
  text-decoration: none;
  color: #722424;
  font-size: 0.8em ;
  font-weight: 200;
  font-family: "Scope One", Georgia, serif;
  line-height: 1.2em;
}

.taxonomy-term.vocabulary-recipe-category a:hover,
.taxonomy-term.vocabulary-recipe-category a:focus {
  color: #23166d;
  background-color: #FFE4E1;
}


/* for most watched block*/

.views-element-container.block.block-views.block-views-blockmost-watched-in-1--block-1{
  border: 2px  groove #76A5AF;
  margin-left: 2em;
  margin-top: 2em;
  padding-left: 0.7em;
  padding-right: 0.7em;
  padding-top: 0.5em;
  padding-bottom: 1.5em;
  align-items: center;
  width: 100%;
}

.views-element-container.block.block-views.block-views-blockmost-watched-in-1--block-1 .block__title{
  margin: 0 0 0.5em 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.7em;
  font-weight: 400;
  line-height: 1.2em;
  color: #722424;
}
/* شبكة الصفحة الرئيسية - صفين جنب بعض بدون ألوان */
.home-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

.home-grid-wrapper .block {
  text-align: center;
  box-shadow: none;
  border: none;
  padding: 0;
}


