* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: block;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

/* For mobile phones: */

[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 640px) {
  /* For tablets: */
  .col-m-1  { width: 8.33%; }
  .col-m-2  { width: 16.66%; }
  .col-m-3  { width: 25%; }
  .col-m-4  { width: 33.33%; }
  .col-m-5  { width: 41.66%; }
  .col-m-6  { width: 50%; }
  .col-m-7  { width: 58.33%; }
  .col-m-8  { width: 66.66%; }
  .col-m-9  { width: 75%; }
  .col-m-10 { width: 83.33%; }
  .col-m-11 { width: 91.66%; }
  .col-m-12 { width: 100%; }
}

@media only screen and (min-width: 1200px) {
  /* For desktop: */
  .col-1  { width: 8.33%; }
  .col-2  { width: 16.66%; }
  .col-3  { width: 25%; }
  .col-4  { width: 33.33%; }
  .col-5  { width: 41.66%; }
  .col-6  { width: 50%; }
  .col-7  { width: 58.33%; }
  .col-8  { width: 66.66%; }
  .col-9  { width: 75%; }
  .col-10 { width: 83.33%; }
  .col-11 { width: 91.66%; }
  .col-12 { width: 100%; }
}

img {
  width: 100%;
  height: auto;
}

.text-right  { text-align: right  !important; }

.text-left   { text-align: left   !important; }

.text-center { text-align: center !important; }

.right  { float: right !important; }

.left   { float: left  !important; }

.center {
  margin-left:  auto !important;
  margin-right: auto !important;
  float:        none !important;
}

.inverted {
  transform: scaleX(-1);
}

:root {
  --white:          #ffffff;
  --on-white:       #f5f5f5;
  --off-white:      #f2f2f2;
  --dark-matter:    #1b1918;
  --lighter-dark:   #211f1d;
  --ebony-clay:     #22313F;
  --high-blue:      #45aaf2;
  --clear-chill:    #1B9CFC;
  --olympic:        #008cee;
  --jackson-purple: #1F3A93;
  --smoke:          #eeeeee;
  --light-gray:     #bebebe;
  --gray:           #606060;
  --dark-gray:      #444;
  --black:          #000000;

  --background-color: var(--white);
  --foreground-color: var(--ebony-clay);
  --secondary-color:  var(--olympic);

  --italic-text-color: var(--dark-gray);

  --nav-background-color: var(--background-color);
  --nav-title-color: var(--foreground-color);
  --nav-menu-color: var(--foreground-color);
  --nav-menu-hover-color: var(--light-gray);

  --project-item-background-color: var(--background-color);
  --project-item-box-shadow: rgba(100, 100, 111, 0.2);

  --blockquote-foreground-color: var(--foreground-color);
  --blockquote-background-color: var(--on-white);
  --blockquote-border-color: var(--smoke);

  /* --latin-header-font: 'Source Sans 3', sans-serif; */
  --latin-header-font: 'Cormorant Garamond', serif;
  --latin-font:        'Crimson Pro', serif;
  --arabic-font:       'Amiri', serif;
  --monospace-font:    'Ubuntu Mono', monospace;

  --main-font-size: 1.6rem; /* Base: 1rem = 16px */
  --h1-font-size:   2.4rem;
  --h2-font-size:   2rem;
  --h3-font-size:   1.65rem;
  --h4-font-size:   1.35rem;
  --h5-font-size:   1.2rem;
  --h6-font-size:   0.05rem;

  --desktop-main-font-size: 1.8rem;
  --desktop-h1-font-size: 3rem;
  --desktop-h2-font-size: 2.4rem;
  --desktop-h3-font-size: 1.8rem;
  --desktop-h4-font-size: 1.5rem;
  --desktop-h5-font-size: 1.3rem;
  --desktop-h6-font-size: 1.1rem;

  --main-line-height: 1.6;
  --h1-line-height:   1.2;
  --h2-line-height:   1.3;
  --h3-line-height:   1.4;
  --h4-line-height:   1.5;
  --h5-line-height:   1.5;
  --h6-line-height:   1.5;
}

[data-theme="dark"] {
  --background-color: var(--dark-matter);
  --foreground-color: var(--off-white);
  --secondary-color:  var(--high-blue);

  --italic-text-color: var(--off-white);

  --nav-background-color: var(--background-color);
  --nav-title-color: var(--foreground-color);
  --nav-menu-color: var(--gray);
  --nav-menu-hover-color: var(--foreground-color);

  --project-item-background-color: var(--background-color);
  --project-item-box-shadow: #0f0f0f;

  --blockquote-foreground-color: var(--foreground-color);
  --blockquote-background-color: var(--lighter-dark);
  --blockquote-border-color: var(--lighter-dark);
}

body {
  font-size: 1.6rem;
  font-size: var(--main-font-size);
  font-weight: normal;
  line-height: 1.6;
  line-height: var(--main-line-height);
  font-family: 'Crimson Pro', serif;
  font-family: var(--latin-font);
  font-optical-sizing: auto;
}

h1 { font-size: 2.4rem; font-size: var(--h1-font-size); line-height: 1.2; line-height: var(--h1-line-height); }

h2 { font-size: 2rem; font-size: var(--h2-font-size); line-height: 1.3; line-height: var(--h2-line-height); }

h3 { font-size: 1.65rem; font-size: var(--h3-font-size); line-height: 1.4; line-height: var(--h3-line-height); }

h4 { font-size: 1.35rem; font-size: var(--h4-font-size); line-height: 1.5; line-height: var(--h4-line-height); }

h5 { font-size: 1.2rem; font-size: var(--h5-font-size); line-height: 1.5; line-height: var(--h5-line-height); }

h6 { font-size: 0.05rem; font-size: var(--h6-font-size); line-height: 1.5; line-height: var(--h6-line-height); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-family: var(--latin-header-font);
}

small { font-size: 30%; }

figcaption { font-size: 70%; }

@media only screen and (min-width: 640px) {
  body {
    font-size: 1.8rem;
    font-size: var(--desktop-main-font-size);
    font-weight: normal;
    line-height: 1.6;
    line-height: var(--main-line-height);
    font-family: 'Crimson Pro', serif;
    font-family: var(--latin-font);
  }

  h1 { font-size: 3rem; font-size: var(--desktop-h1-font-size); }

  h2 { font-size: 2.4rem; font-size: var(--desktop-h2-font-size); }

  h3 { font-size: 1.8rem; font-size: var(--desktop-h3-font-size); }

  h4 { font-size: 1.5rem; font-size: var(--desktop-h4-font-size); }

  h5 { font-size: 1.3rem; font-size: var(--desktop-h5-font-size); }

  h6 { font-size: 1.1rem; font-size: var(--desktop-h6-font-size); }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin: 2rem auto;
  max-width: 1200px;
}

.cards-grid .card {
    text-align: center;
  }

.cards-grid .card img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 6px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

.cards-grid .card-title {
    margin-top: 0.75rem;
    font-family: 'Cormorant Garamond', serif;
    font-family: var(--latin-header-font);
    font-weight: bold;
  }

@media only screen and (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  }
}

blockquote {
  background-color: #eeeeee;
  background-color: var(--smoke);
  color: #22313F;
  color: var(--foreground-color);
  border: 1px solid #eeeeee;
  border: 1px solid var(--smoke);
  font-size: 24px;
  font-style: italic;
  margin: 1.5em 10px;
  padding: 30px 10px 30px 3em;
  padding-left: 3em;
  position: relative;
  direction: ltr; /* default */
}

blockquote::before {
    content: "“";
    font-family: serif;
    font-size: 3em;
    line-height: 1;
    color: #999;
    color: var(--accent-color, #999);
    position: absolute;
    top: 0.1em;
    left: 10px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }

blockquote cite {
    display: block;
    text-align: center !important;
    font-size: 20px;
    font-weight: normal;
  }

blockquote cite::before {
      content: "\2014 \2009";
      font-size: 20px;
    }

/* RTL overrides */

[dir="rtl"] blockquote,blockquote[dir="rtl"] {
    padding-left: 1em;
    padding-right: 3em;
    direction: rtl;
  }

[dir="rtl"] blockquote::before {
      content: "\201C";
      left: auto;
      right: 10px;
    }

blockquote[dir="rtl"]::before {
      content: "\201C";
      left: auto;
      right: 10px;
    }

[dir="rtl"] blockquote cite::before {
      content: "\2009 \2014 \2009";
    }

blockquote[dir="rtl"] cite::before {
      content: "\2009 \2014 \2009";
    }

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 1.5em 10px;
}

td, th {
  text-align: left;
  padding: 0.5rem;
}

tbody tr:nth-child(odd) {
   background-color: #211f1d;
   background-color: var(--lighter-dark);
}

:lang(en) {
  direction: ltr;
  text-align: left;
}

:lang(ar) {
  direction: rtl;
  text-align: right;
  font-family: 'Amiri', serif;
  font-family: var(--arabic-font);
  font-size: 26px;
  font-weight: normal;
  line-height: 40px;
}

:lang(ar) h1,:lang(ar) h2,:lang(ar) h3,:lang(ar) h4,:lang(ar) h5,:lang(ar) h6 {
    font-weight: 700;
  }

:lang(ar) h1 { font-size: 2.4rem; font-size: var(--h1-font-size); }

:lang(ar) h2 { font-size: 2rem; font-size: var(--h2-font-size); }

:lang(ar) h3 { font-size: 1.65rem; font-size: var(--h3-font-size); }

:lang(ar) h4 { font-size: 1.35rem; font-size: var(--h4-font-size); }

:lang(ar) h5 { font-size: 1.2rem; font-size: var(--h5-font-size); }

:lang(ar) h6 { font-size: 0.05rem; font-size: var(--h6-font-size); }

:lang(ar) code {
    direction: ltr;
    text-align: left;
    font-size: 20px;
  }

:lang(ar) .highlight {
    text-align: left;
    line-height: 28px;
  }

:lang(ar) .highlight pre {
      direction: ltr;
      line-height: 28px;
    }

:lang(ar) .highlight code {
      direction: ltr;
      float: left;
      text-align: left;
      line-height: 28px;
    }

:lang(ar) .highlight code * {
        font-size: 20px;
        line-height: 28px;
      }

:lang(ar) cite {
    font-size: 20px;
  }

@media only screen and (min-width: 640px) {
  :lang(ar) {
    font-size: 30px;
  }

    :lang(ar) h1 { font-size: 3rem; font-size: var(--desktop-h1-font-size); }
    :lang(ar) h2 { font-size: 2.4rem; font-size: var(--desktop-h2-font-size); }
    :lang(ar) h3 { font-size: 1.8rem; font-size: var(--desktop-h3-font-size); }
    :lang(ar) h4 { font-size: 1.5rem; font-size: var(--desktop-h4-font-size); }
    :lang(ar) h5 { font-size: 1.3rem; font-size: var(--desktop-h5-font-size); }
    :lang(ar) h6 { font-size: 1.1rem; font-size: var(--desktop-h6-font-size); }
}

:root {
  --height: 80px;
}

nav {
  background-color: #ffffff;
  background-color: var(--nav-background-color);
  height: auto;
  line-height: 80px;
  line-height: var(--height);
  min-height: 80px;
  min-height: var(--height);
  padding: 0 20px;
  margin-bottom: 35px;
}

nav .title {
    width: 220px;
  }

nav .title .site-title {
      text-transform: uppercase;
    }

nav .title a {
      line-height: 80px;
      line-height: var(--height);
      width: 100%;
      color: #22313F !important;
      color: var(--nav-title-color) !important;
      font-size: 28px;
      -webkit-text-decoration: none;
      text-decoration: none;
      float: left;
      font-family: 'Source Sans 3', sans-serif;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

nav .title a img.logo {
        width: 60px;
        height: auto;
        float: left;
        margin: 10px auto;
      }

nav .menu {
    text-align: center;
    width: 100%;
    display: none;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

nav .menu a {
      background-color: #ffffff;
      background-color: var(--nav-background-color);
      color: #22313F !important;
      color: var(--nav-menu-color) !important;
      -webkit-text-decoration: none;
      text-decoration: none;
      font-size: 18px;
      line-height: 80px;
      line-height: var(--height);

      clear: right;
      display: block;
      margin: 0;
    }

nav .menu a:hover {
        color: #bebebe !important;
        color: var(--nav-menu-hover-color) !important;
        transition: color .2s ease-in-out;
      }

nav .menu a svg {
        width:  18px;
        height: 18px;
        fill: #22313F;
        fill: var(--nav-menu-color);
      }

nav .menu a svg:hover {
          fill: #bebebe;
          fill: var(--nav-menu-hover-color);
          transition: fill .2s ease-in-out;
        }

nav .menu a.active {
      color: #008cee !important;
      color: var(--secondary-color) !important;
    }

nav label {
    color: #606060;
    color: var(--gray);
    font-size: 26px;
    line-height: 80px;
    line-height: var(--height);
    cursor: pointer;
    margin: 0 16px;

    display: block;
    width: 26px;
    float: right;
  }

nav #toggle {
    display: none;
  }

nav #toggle:checked + .empty-row + .menu {
    display: block;
  }

@media only screen and (min-width: 640px) {
  nav {
    padding: 0 40px;
  }

    nav .title {
      width: 220px;
    }
        nav .title a img.logo {
          width: 63px;
        }

        nav .title a span {
          display: inline;
        }
}

@media only screen and (min-width: 1200px) {
  nav {
    padding: 0 80px;
  }

    nav .title {
      width: 220px;
    }
        nav .title a img.logo {
          width: 63px;
        }

        nav .title a span {
          display: inline;
        }

    nav .menu {
      margin: 0 16px 0 0;
      text-align: right;
      display: block;
    }

      nav .menu a {
        margin: 0 20px;
        display: inline-block;
      }

    nav label {
      display: none;
    }

    nav .row.empty-row {
      display: none;
    }
}

body.transition {
  transition: color 0.1s ease-out 0s, background 0.1s ease-out 0s;
}

body {
  color: #22313F;
  color: var(--foreground-color);
  background-color: #ffffff;
  background-color: var(--background-color);
}

body a {
    color: #22313F;
    color: var(--foreground-color);
    text-decoration: underline;
    -webkit-text-decoration: underline solid #008cee;
            text-decoration: underline solid #008cee;
    text-decoration-thickness: 4px;
    -webkit-text-decoration: underline #008cee 4px;
            text-decoration: underline #008cee 4px;
    -webkit-text-decoration: underline var(--secondary-color) 4px;
            text-decoration: underline var(--secondary-color) 4px;
    text-underline-offset: 5px;
    -webkit-text-decoration-skip-ink: none;
            text-decoration-skip-ink: none;
  }

body a:hover {
      color: #008cee;
      color: var(--secondary-color);
    }

body .view-post__title {
    background: linear-gradient(to right, #22313F 0%, #666 100%);
    background: linear-gradient(to right, var(--foreground-color) 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

body .view-post__category {
    color: inherit;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
  }

body {

  color: #22313F;

  color: var(--foreground-color);
  background-color: #ffffff;
  background-color: var(--background-color);
  opacity: 1;
}

body .view-post__title {
    background: linear-gradient(to right, #22313F 0%, #666 100%);
    background: linear-gradient(to right, var(--foreground-color) 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

body nav {
    background-color: #ffffff;
    background-color: var(--nav-background-color);
  }

body nav .title a {
        color: #22313F !important;
        color: var(--nav-title-color) !important;
      }

body nav .menu a {
        background-color: #ffffff;
        background-color: var(--nav-background-color);
        color: #22313F !important;
        color: var(--nav-menu-color) !important;
      }

body nav .menu a:hover {
          color: #bebebe !important;
          color: var(--nav-menu-hover-color) !important;
        }

body nav .menu a svg {
          fill: #22313F;
          fill: var(--nav-menu-color);
        }

body nav .menu a svg:hover {
            fill: #bebebe;
            fill: var(--nav-menu-hover-color);
          }

body nav .menu a.active {
        color: #008cee !important;
        color: var(--secondary-color) !important;
      }

body .category-post .category-post__category a.hyperlink {
        color: #22313F;
        color: var(--foreground-color);
      }

body .category-post .category-post__category a.hyperlink svg {
          fill: #22313F;
          fill: var(--foreground-color);
        }

body blockquote {
    color: #22313F;
    color: var(--blockquote-foreground-color);
    background-color: #f5f5f5;
    background-color: var(--blockquote-background-color);
    border: 1px solid #eeeeee;
    border: 1px solid var(--blockquote-border-color);
  }

body .project__list .project__item {
      background-color: #ffffff;
      background-color: var(--project-item-background-color);
      box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
      box-shadow: var(--project-item-box-shadow) 0px 7px 29px 0px;
    }

body a.hyperlink {
    color: #22313F;
    color: var(--foreground-color);
  }

body a.hyperlink svg {
      fill: #22313F;
      fill: var(--foreground-color);
    }

:root {
  --bg-color: var(--lighter-dark); /*  background */
  --base01:   #9F9F9F;            /*  comments, secondary content */
  --body:     #DDECEC;            /*  body text, default code, primary content */
  --orange:   #FF8900;            /*  constants */
  --red:      #FF2B27;            /*  regex, special keywords */
  --blue:     #6DC2FD;            /*  reserved keywords */
  --cyan:     #69FFF4;            /*  strings, numbers */
  --green:    #3AE25C;            /*  operators, other keywords */
}

pre,
code {
  font-size: 20px;
  font-family: 'Ubuntu Mono', monospace !important;
  font-family: var(--monospace-font) !important;
  line-height: 28px;
  color: #f2f2f2 !important;
  color: var(--off-white) !important;
  background-color: #211f1d !important;
  background-color: var(--bg-color) !important;
  border: 1px solid #211f1d !important;
  border: 1px solid var(--bg-color) !important;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}

pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0;
  }

.highlight {
  color: #DDECEC !important;
  color: var(--body) !important;
  background-color: #211f1d !important;
  background-color: var(--bg-color) !important;
  margin-left: 0px;
  margin-right: 0px;
  border: 1px solid #211f1d;
  border: 1px solid var(--bg-color);
}

.highlight span {
    font-weight: 300;
    font-family: 'Ubuntu Mono', monospace !important;
    font-family: var(--monospace-font) !important;
  }

.highlight .c   { color: #9F9F9F; color: var(--base01); }

/* Comment */

.highlight .err { color: #DDECEC; color: var(--body); }

/* Error */

.highlight .g   { color: #DDECEC; color: var(--body); }

/* Generic */

.highlight .k   { color: #3AE25C; color: var(--green); }

/* Keyword */

.highlight .l   { color: #DDECEC; color: var(--body); }

/* Literal */

.highlight .n   { color: #DDECEC; color: var(--body); }

/* Name */

.highlight .o   { color: #3AE25C; color: var(--green); }

/* Operator */

.highlight .x   { color: #FF8900; color: var(--orange); }

/* Other */

.highlight .p   { color: #DDECEC; color: var(--body); }

/* Punctuation */

.highlight .cm  { color: #9F9F9F; color: var(--base01); }

/* Comment.Multiline */

.highlight .cp  { color: #3AE25C; color: var(--green); }

/* Comment.Preproc */

.highlight .c1  { color: #9F9F9F; color: var(--base01); }

/* Comment.Single */

.highlight .cs  { color: #3AE25C; color: var(--green); }

/* Comment.Special */

.highlight .gd  { color: #69FFF4; color: var(--cyan); }

/* Generic.Deleted */

.highlight .ge  { color: #DDECEC; color: var(--body);; font-style: italic }

/* Generic.Emph */

.highlight .gr  { color: #FF2B27; color: var(--red); }

/* Generic.Error */

.highlight .gh  { color: #FF8900; color: var(--orange); }

/* Generic.Heading */

.highlight .gi  { color: #3AE25C; color: var(--green); }

/* Generic.Inserted */

.highlight .go  { color: #DDECEC; color: var(--body); }

/* Generic.Output */

.highlight .gp  { color: #DDECEC; color: var(--body); }

/* Generic.Prompt */

.highlight .gs  { color: #DDECEC; color: var(--body);; font-weight: bold }

/* Generic.Strong */

.highlight .gu  { color: #FF8900; color: var(--orange); }

/* Generic.Subheading */

.highlight .gt  { color: #DDECEC; color: var(--body); }

/* Generic.Traceback */

.highlight .kc  { color: #FF8900; color: var(--orange); }

/* Keyword.Constant */

.highlight .kd  { color: #6DC2FD; color: var(--blue); }

/* Keyword.Declaration */

.highlight .kn  { color: #3AE25C; color: var(--green); }

/* Keyword.Namespace */

.highlight .kp  { color: #3AE25C; color: var(--green); }

/* Keyword.Pseudo */

.highlight .kr  { color: #6DC2FD; color: var(--blue); }

/* Keyword.Reserved */

.highlight .kt  { color: #FF2B27; color: var(--red); }

/* Keyword.Type */

.highlight .ld  { color: #DDECEC; color: var(--body); }

/* Literal.Date */

.highlight .m   { color: #69FFF4; color: var(--cyan); }

/* Literal.Number */

.highlight .s   { color: #69FFF4; color: var(--cyan); }

/* Literal.String */

.highlight .na  { color: #DDECEC; color: var(--body); }

/* Name.Attribute */

.highlight .nb  { color: #FF8900; color: var(--orange) }

/* Name.Builtin */

.highlight .nc  { color: #6DC2FD; color: var(--blue); }

/* Name.Class */

.highlight .no  { color: #FF8900; color: var(--orange); }

/* Name.Constant */

.highlight .nd  { color: #6DC2FD; color: var(--blue); }

/* Name.Decorator */

.highlight .ni  { color: #FF8900; color: var(--orange); }

/* Name.Entity */

.highlight .ne  { color: #FF8900; color: var(--orange); }

/* Name.Exception */

.highlight .nf  { color: #6DC2FD; color: var(--blue); }

/* Name.Function */

.highlight .nl  { color: #DDECEC; color: var(--body); }

/* Name.Label */

.highlight .nn  { color: #DDECEC; color: var(--body); }

/* Name.Namespace */

.highlight .nx  { color: #DDECEC; color: var(--body); }

/* Name.Other */

.highlight .py  { color: #DDECEC; color: var(--body); }

/* Name.Property */

.highlight .nt  { color: #6DC2FD; color: var(--blue); }

/* Name.Tag */

.highlight .nv  { color: #6DC2FD; color: var(--blue); }

/* Name.Variable */

.highlight .ow  { color: #3AE25C; color: var(--green); }

/* Operator.Word */

.highlight .w   { color: #DDECEC; color: var(--body); }

/* Text.Whitespace */

.highlight .mf  { color: #69FFF4; color: var(--cyan); }

/* Literal.Number.Float */

.highlight .mh  { color: #69FFF4; color: var(--cyan); }

/* Literal.Number.Hex */

.highlight .mi  { color: #69FFF4; color: var(--cyan); }

/* Literal.Number.Integer */

.highlight .mo  { color: #69FFF4; color: var(--cyan); }

/* Literal.Number.Oct */

.highlight .sb  { color: #9F9F9F; color: var(--base01) }

/* Literal.String.Backtick */

.highlight .sc  { color: #69FFF4; color: var(--cyan); }

/* Literal.String.Char */

.highlight .sd  { color: #DDECEC; color: var(--body); }

/* Literal.String.Doc */

.highlight .s2  { color: #69FFF4; color: var(--cyan); }

/* Literal.String.Double */

.highlight .se  { color: #FF8900; color: var(--orange); }

/* Literal.String.Escape */

.highlight .sh  { color: #DDECEC; color: var(--body); }

/* Literal.String.Heredoc */

.highlight .si  { color: #69FFF4; color: var(--cyan); }

/* Literal.String.Interpol */

.highlight .sx  { color: #69FFF4; color: var(--cyan); }

/* Literal.String.Other */

.highlight .sr  { color: #FF2B27; color: var(--red); }

/* Literal.String.Regex */

.highlight .s1  { color: #69FFF4; color: var(--cyan); }

/* Literal.String.Single */

.highlight .ss  { color: #69FFF4; color: var(--cyan); }

/* Literal.String.Symbol */

.highlight .bp  { color: #6DC2FD; color: var(--blue); }

/* Name.Builtin.Pseudo */

.highlight .vc  { color: #6DC2FD; color: var(--blue); }

/* Name.Variable.Class */

.highlight .vg  { color: #6DC2FD; color: var(--blue); }

/* Name.Variable.Global */

.highlight .vi  { color: #6DC2FD; color: var(--blue); }

/* Name.Variable.Instance */

.highlight .il  { color: #69FFF4; color: var(--cyan); }

/* Literal.Number.Integer.Long */

:root {
  --twitter:       #1DA1F2;
  --facebook:      #4267B2;
  --googleplus:    #DC4E41;
  --reddit:        #FF4500;
  --linkedin:      #0077B5;
  --pocket:        #EF3F56;
  --github:        #181717;
  --gitlab:        #E24329;
  --stackoverflow: #FE7A16;
  --quora:         #B92B27;
  --rss:           #FFA500;
  --slack:         #56B68B;
  --ruby:          #CC342D;
}

.social {
  display: inline;
}

.social a {
    -webkit-text-decoration: none;
    text-decoration: none;
    margin-right: 15px;
  }

.social a:hover {
      -webkit-text-decoration: none;
      text-decoration: none;
    }

.social svg {
    width:  24px;
    height: 24px;
  }

.social #twitter {
    fill: #1DA1F2;
    fill: var(--twitter);
  }

.social #facebook {
    fill: #4267B2;
    fill: var(--facebook);
  }

.social #reddit {
    fill: #FF4500;
    fill: var(--reddit);
  }

.social #googleplus {
    fill: #DC4E41;
    fill: var(--googleplus);
  }

.social #linkedin {
    fill: #0077B5;
    fill: var(--linkedin);
  }

.social #pocket {
    fill: #EF3F56;
    fill: var(--pocket);
  }

.kufiya-banner {
  width: 100%;
  height: 130px;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 40 40%27%3E%3Cg stroke=%27black%27 stroke-width=%274%27 fill=%27none%27%3E%3Cpath d=%27M 0 20 L 20 0 L 40 20 L 20 40 Z%27 /%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 0.875rem;
  color: black;
  text-align: center;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

.banner-text {
  background-color: white;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 100%;
  opacity: 0.92;
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.banner-text a {
    color: black;
  }

@media only screen and (min-width: 640px) {
  .kufiya-banner {
    font-size: 1.2rem;
    height: 100px;
  }

  .banner-text {
    padding: 4px 12px;
  }
}

@media only screen and (min-width: 1200px) {
  .kufiya-banner {
    font-size: 1.5rem;
    height: 70px;
  }

  .banner-text {
    padding: 6px 16px;
  }
}

.glightbox-clean .gslide-description  {
    background: rgba(0, 0, 0, 0.50) !important;
  }

.glightbox-clean .gdesc-inner {
    padding: 22px 20px;
  }

.glightbox-clean .gslide-title {
    line-height: 1.4 !important;
    font-size: 1.25rem !important;
    font-family: 'Crimson Pro', serif;
    font-family: var(--latin-font);
    color: #fff !important;
  }

.glightbox-clean .gslide-desc {
    margin-bottom: 0;
    line-height: 1.4em;
    font-size: 0.86em;
    font-family: 'Crimson Pro', serif !important;
    font-family: var(--latin-font) !important;
    color: #fff !important;
  }

.glightbox-clean .gslide-desc a {
      color: #fff !important;
    }

.index__photobook {
  list-style: none;
  padding: 0;
  margin: 0;
}

.index__photobook .grid-sizer,.index__photobook .grid-item {
    width: calc(50% - 14px); /* 2 columns, minus gutter */
  }

.index__photobook li {
    margin-bottom: 14px;
    page-break-inside: avoid;
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    background: transparent;
  }

.index__photobook img {
    width: 100%;
    height: auto;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
  }

@media only screen and (min-width: 640px) {
    .index__photobook .grid-sizer,.index__photobook .grid-item {
      width: calc(33.333% - 14px); /* 3 columns, minus gutter */
    }
}

@media only screen and (min-width: 1200px) {
    .index__photobook .grid-sizer,.index__photobook .grid-item {
      width: calc(33.333% - 14px); /* 3 columns, minus gutter */
    }
}

.view-photobook__story {
  margin-bottom: 5rem;
  font-size: 1.25rem;
  font-style: italic;
  color: #444;
  color: var(--italic-text-color);
}

.view-photobook__photo {
  margin-bottom: 2rem;
}

.view-photobook__photo figure {
    display: inline-block;
    margin: 0;
  }

.view-photobook__photo img {
    display: block;
    max-height: 90vh;      /* view portrait photos within the page viewport without scrolling */
    max-width: 100%;
    height: auto;
    width: auto;          /* to avoid stretching */
    -o-object-fit: contain;
       object-fit: contain; /* to avoid stretching */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin: 0 auto;
    cursor: pointer;
  }

.view-photobook__photo .view-photobook__photo-toggle-exif-btn {
    color: white;
    background: rgba(0, 0, 0, 0.7);
    font-weight: bold;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
  }

.view-photobook__photo .view-photobook__photo-exif-data {
    display: none;
    font-size: 0.9rem;
    background-color: white;
    color: black;
    border: 1px solid #eee;
    padding: 0.5rem;
    text-align: center;
  }

.view-photobook__photo-caption {
  margin: 0rem;
  line-height: 1.4;
  font-size: 1.125rem;
  font-style: italic;
  color: #444;
  color: var(--italic-text-color);
}

.view-photobook__photo-story {
  margin-top: 3rem;
  margin-bottom: 4rem;
  font-size: 1.25rem;
}

.photo-group {
  display: flex;
  flex-direction: column;    /* stack by default on mobile */
  align-items: center;       /* center photos in stacked mode */
  gap: 0.5rem;               /* small vertical gap on mobile */
  margin-bottom: 2rem;
}

.photo-group .view-photobook__photo {
    flex: 1 1 100%;            /* full width on mobile */
    max-width: 100%;
    margin-bottom: 1rem !important;
  }

@media (min-width: 640px) {
  .photo-group__side-by-side {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;       /* ensures top alignment */
    gap: 1rem;                     /* larger gaps on desktop */
  }

    .photo-group__side-by-side .view-photobook__photo {
      flex: 1 1 48%;                /* 2 per row */
      max-width: 48%;
      margin-bottom: 0;
    }

  .photo-group__stacked {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

    .photo-group__stacked .view-photobook__photo {
      flex: 1 1 100%;
      max-width: 100%;
      margin-bottom: 1rem;
    }
}

/* wraps both img and img-overlay div */

.img-overlay-wrapper {
  position: relative;
  display: block;
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
}

hr {
  color: #bebebe;
  color: var(--light-gray);
}

.index-post {
  margin-bottom: 20px;
}

.index-post__date {
  font-size: 14px;
}

.index-post__title {
  font-size: 28px;

  /* to remove link decorations */
}

.index-post__title a {
    -webkit-text-decoration: none;
    text-decoration: none;
  }

.index-post__title a:hover {
      text-decoration: underline;
      -webkit-text-decoration: underline solid #008cee;
              text-decoration: underline solid #008cee;
      text-decoration-thickness: 4px;
      -webkit-text-decoration: underline #008cee 4px;
              text-decoration: underline #008cee 4px;
      -webkit-text-decoration: underline var(--secondary-color) 4px;
              text-decoration: underline var(--secondary-color) 4px;
      text-underline-offset: 5px;
      -webkit-text-decoration-skip-ink: none;
              text-decoration-skip-ink: none;
    }

.view-post__title {
  font-size: 3rem;
}

.view-post__en-header * {
    font-family: 'Cormorant Garamond', serif;
    font-family: var(--latin-header-font);
  }

.view-post__ar-header * {
    font-family: 'Amiri', serif;
    font-family: var(--arabic-font);
  }

.view-post__category {
  font-family: 'Crimson Pro', serif;
  font-family: var(--latin-font);
  font-size: 16px;
}

.view-post__date {
  font-family: 'Crimson Pro', serif;
  font-family: var(--latin-font);
  font-size: 16px;
}

.view-post__content img {
  text-align: center;
  width: 92vw;
  max-width: 92vw;
  margin-left: calc(50% - 46vw);
}

.wide-img img {
  text-align: center;
  width: 92vw;
  max-width: 92vw;
  margin-left: calc(50% - 46vw);
}

.talk__item {
  margin-bottom: 50px;
}

a.hyperlink {
  color: #22313F;
  color: var(--foreground-color);
  -webkit-text-decoration: none;
  text-decoration: none;
}

a.hyperlink svg {
    width:  18px;
    height: 18px;
    fill: #22313F;
    fill: var(--foreground-color);
  }

.category-post {
  margin-bottom: 20px;
}

.category-post .category-post__category {
    font-size: 24px;
  }

.category-post .category-post__title {
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 40px;
  }

.project__list {
  width: 100%;
  position: relative;
  list-style: none;
}

.project__list .project__item {
    width: 100%;
    padding: 20px;
    background-color: #ffffff;
    background-color: var(--project-item-background-color);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    box-shadow: var(--project-item-box-shadow) 0px 7px 29px 0px;
    box-sizing: border-box;
    margin-bottom: 1.5em;
    position: relative;
    z-index: 1;

    font-size: 18px;
    line-height: 28px;
  }

.project__list .project__item .project__tools {
      bottom: 10px;
      position: absolute;
    }

@media only screen and (min-width: 1200px) {
  .category-post {
    margin-left: 10%;
  }
    .project__list .project__item {
      height: 250px;
    }
}

footer {
  color: #606060;
  color: var(--gray);
}

.glightbox-container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999 !important;
  overflow: hidden;
  touch-action: none;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  backface-visibility: hidden;
  outline: none;
}

.glightbox-container.inactive {
  display: none;
}

.glightbox-container .gcontainer {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: hidden;
}

.glightbox-container .gslider {
  transition: transform 0.4s ease;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex !important;
  justify-content: center;
  align-items: center;
  transform: translate3d(0, 0, 0);
}

.glightbox-container .gslide {
  width: 100%;
  position: absolute;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.glightbox-container .gslide.current {
  opacity: 1;
  z-index: 99999;
  position: relative;
}

.glightbox-container .gslide.prev {
  opacity: 1;
  z-index: 9999;
}

.glightbox-container .gslide-inner-content {
  width: 100%;
}

.glightbox-container .ginner-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 100%;
  margin: auto;
  height: 100vh;
}

.glightbox-container .ginner-container.gvideo-container {
  width: 100%;
}

.glightbox-container .ginner-container.desc-bottom,
        .glightbox-container .ginner-container.desc-top {
  flex-direction: column;
}

.glightbox-container .ginner-container.desc-left,
        .glightbox-container .ginner-container.desc-right {
  max-width: 100% !important;
}

.gslide iframe,
    .gslide video {
  outline: none !important;
  border: none;
  min-height: 165px;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}

.gslide:not(.current) {
  pointer-events: none;
}

.gslide-image {
  align-items: center;
}

.gslide-image img {
  max-height: 100vh;
  display: block;
  padding: 0;
  float: none;
  outline: none;
  border: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  max-width: 100vw;
  width: auto;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  touch-action: none;
  margin: auto;
  min-width: 200px;
}

.desc-top .gslide-image img,
        .desc-bottom .gslide-image img {
  width: auto;
}

.desc-left .gslide-image img,
        .desc-right .gslide-image img {
  width: auto;
  max-width: 100%;
}

.gslide-image img.zoomable {
  position: relative;
}

.gslide-image img.dragging {
  cursor: grabbing !important;
  transition: none;
}

.gslide-video {
  position: relative;
  max-width: 100vh;
  width: 100% !important;
}

.gslide-video .plyr__poster-enabled.plyr--loading .plyr__poster {
  display: none;
}

.gslide-video .gvideo-wrapper {
  width: 100%;
        /* max-width: 160vmin; */
  margin: auto;
}

.gslide-video::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.34);
  display: none;
}

.gslide-video.playing::before {
  display: none;
}

.gslide-video.fullscreen {
  max-width: 100% !important;
  min-width: 100%;
  height: 75vh;
}

.gslide-video.fullscreen video {
  max-width: 100% !important;
  width: 100% !important;
}

.gslide-inline {
  background: #fff;
  text-align: left;
  max-height: calc(100vh - 40px);
  overflow: auto;
  max-width: 100%;
  margin: auto;
}

.gslide-inline .ginlined-content {
  padding: 20px;
  width: 100%;
}

.gslide-inline .dragging {
  cursor: grabbing !important;
  transition: none;
}

.ginlined-content {
  overflow: auto;
  display: block !important;
  opacity: 1;
}

.gslide-external {
  display: flex;
  width: 100%;
  min-width: 100%;
  background: #fff;
  padding: 0;
  overflow: auto;
  max-height: 75vh;
  height: 100%;
}

.gslide-media {
  display: flex;
  width: auto;
}

.zoomed .gslide-media {
  box-shadow: none !important;
}

.desc-top .gslide-media,
    .desc-bottom .gslide-media {
  margin: 0 auto;
  flex-direction: column;
}

.gslide-description {
  position: relative;
  flex: 1 0 100%;
}

.gslide-description.description-left,
    .gslide-description.description-right {
  max-width: 100%;
}

.gslide-description.description-bottom,
    .gslide-description.description-top {
  margin: 0 auto;
  width: 100%;
}

.gslide-description p {
  margin-bottom: 12px;
}

.gslide-description p:last-child {
  margin-bottom: 0;
}

.zoomed .gslide-description {
  display: none;
}

.glightbox-button-hidden {
  display: none;
}

/*
 * Description for mobiles
 * something like facebook does the description
 * for the photos
*/

.glightbox-mobile .glightbox-container .gslide-description {
  height: auto !important;
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 19px 11px;
  max-width: 100vw !important;
  order: 2 !important;
  max-height: 78vh;
  overflow: auto !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
  transition: opacity 0.3s linear;
  padding-bottom: 50px;
}

.glightbox-mobile .glightbox-container .gslide-title {
  color: #fff;
  font-size: 1em;
}

.glightbox-mobile .glightbox-container .gslide-desc {
  color: #a1a1a1;
}

.glightbox-mobile .glightbox-container .gslide-desc a {
  color: #fff;
  font-weight: bold;
}

.glightbox-mobile .glightbox-container .gslide-desc * {
  color: inherit;
}

.glightbox-mobile .glightbox-container .gslide-desc .desc-more {
  color: #fff;
  opacity: 0.4;
}

.gdesc-open .gslide-media {
  transition: opacity 0.5s ease;
  opacity: 0.4;
}

.gdesc-open .gdesc-inner {
  padding-bottom: 30px;
}

.gdesc-closed .gslide-media {
  transition: opacity 0.5s ease;
  opacity: 1;
}

.greset {
  transition: all 0.3s ease;
}

.gabsolute {
  position: absolute;
}

.grelative {
  position: relative;
}

.glightbox-desc {
  display: none !important;
}

.glightbox-open {
  overflow: hidden;
}

.gloader {
  height: 25px;
  width: 25px;
  animation: lightboxLoader 0.8s infinite linear;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
  position: absolute;
  display: block;
  z-index: 9999;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 47%;
}

.goverlay {
  width: 100%;
  height: calc(100vh + 1px);
  position: fixed;
  top: -1px;
  left: 0;
  background: #000;
  will-change: opacity;
}

.glightbox-mobile .goverlay {
  background: #000;
}

.gprev,
.gnext,
.gclose {
  z-index: 99999;
  cursor: pointer;
  width: 26px;
  height: 44px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gprev svg,
.gnext svg,
.gclose svg {
  display: block;
  width: 25px;
  height: auto;
  margin: 0;
  padding: 0;
}

.gprev.disabled,
.gnext.disabled,
.gclose.disabled {
  opacity: 0.1;
}

.gprev .garrow,
.gnext .garrow,
.gclose .garrow {
  stroke: #fff;
}

.gbtn.focused {
  outline: 2px solid #0f3d81;
}

iframe.wait-autoplay {
  opacity: 0;
}

.glightbox-closing .gnext,
    .glightbox-closing .gprev,
    .glightbox-closing .gclose {
  opacity: 0 !important;
}

/*Skin */

.glightbox-clean .gslide-description {
  background: #fff;
}

.glightbox-clean .gdesc-inner {
  padding: 22px 20px;
}

.glightbox-clean .gslide-title {
  font-size: 1em;
  font-weight: normal;
  font-family: arial;
  color: #000;
  margin-bottom: 19px;
  line-height: 1.4em;
}

.glightbox-clean .gslide-desc {
  font-size: 0.86em;
  margin-bottom: 0;
  font-family: arial;
  line-height: 1.4em;
}

.glightbox-clean .gslide-video {
  background: #000;
}

.glightbox-clean .gprev,
    .glightbox-clean .gnext,
    .glightbox-clean .gclose {
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
}

.glightbox-clean .gprev path,
.glightbox-clean .gnext path,
.glightbox-clean .gclose path {
  fill: #fff;
}

.glightbox-clean .gprev {
  position: absolute;
  top: -100%;
  left: 30px;
  width: 40px;
  height: 50px;
}

.glightbox-clean .gnext {
  position: absolute;
  top: -100%;
  right: 30px;
  width: 40px;
  height: 50px;
}

.glightbox-clean .gclose {
  width: 35px;
  height: 35px;
  top: 15px;
  right: 10px;
  position: absolute;
}

.glightbox-clean .gclose svg {
  width: 18px;
  height: auto;
}

.glightbox-clean .gclose:hover {
  opacity: 1;
}

/*CSS Animations*/

.gfadeIn {
  animation: gfadeIn 0.5s ease;
}

.gfadeOut {
  animation: gfadeOut 0.5s ease;
}

.gslideOutLeft {
  animation: gslideOutLeft 0.3s ease;
}

.gslideInLeft {
  animation: gslideInLeft 0.3s ease;
}

.gslideOutRight {
  animation: gslideOutRight 0.3s ease;
}

.gslideInRight {
  animation: gslideInRight 0.3s ease;
}

.gzoomIn {
  animation: gzoomIn 0.5s ease;
}

.gzoomOut {
  animation: gzoomOut 0.5s ease;
}

@keyframes lightboxLoader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes gslideInLeft {
  from {
    opacity: 0;
    transform: translate3d(-60%, 0, 0);
  }
  to {
    visibility: visible;
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes gslideOutLeft {
  from {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-60%, 0, 0);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes gslideInRight {
  from {
    opacity: 0;
    visibility: visible;
    transform: translate3d(60%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes gslideOutRight {
  from {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(60%, 0, 0);
    opacity: 0;
  }
}

@keyframes gzoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 1;
  }
}

@keyframes gzoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

@media (min-width: 769px) {
  .glightbox-container .ginner-container {
    width: auto;
    height: auto;
    flex-direction: row;
  }
  .glightbox-container .ginner-container.desc-top .gslide-description {
    order: 0;
  }
  .glightbox-container .ginner-container.desc-top .gslide-image,
                .glightbox-container .ginner-container.desc-top .gslide-image img {
    order: 1;
  }
  .glightbox-container .ginner-container.desc-left .gslide-description {
    order: 0;
  }
  .glightbox-container .ginner-container.desc-left .gslide-image {
    order: 1;
  }
  .gslide-image img {
    max-height: 97vh;
    max-width: 100%;
  }
  .gslide-image img.zoomable {
    cursor: zoom-in;
  }
  .zoomed .gslide-image img.zoomable {
    cursor: grab;
  }
  .gslide-inline {
    max-height: 95vh;
  }
  .gslide-external {
    max-height: 100vh;
  }
  .gslide-description.description-left,
    .gslide-description.description-right {
    max-width: 275px;
  }
  .glightbox-open {
    height: auto;
  }
  .goverlay {
    background: rgba(0, 0, 0, 0.92);
  }
  .glightbox-clean .gslide-media {
    box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.65);
  }
  .glightbox-clean .description-left .gdesc-inner,
.glightbox-clean .description-right .gdesc-inner {
    position: absolute;
    height: 100%;
    overflow-y: auto;
  }
  .glightbox-clean .gprev,
    .glightbox-clean .gnext,
    .glightbox-clean .gclose {
    background-color: rgba(0, 0, 0, 0.32);
  }
  .glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gclose:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  .glightbox-clean .gprev {
    top: 45%;
  }
  .glightbox-clean .gnext {
    top: 45%;
  }
}

@media (min-width: 992px) {
  .glightbox-clean .gclose {
    opacity: 0.7;
    right: 20px;
  }
}

@media screen and (max-height: 420px) {
  .goverlay {
    background: #000;
  }
}

