/*!
Theme Name: AAAGENCY Blogs
Theme URI: http://underscores.me/
Author: Babar
Author URI: http://aaagency.ae
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aaagency-blogs
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

AAAGENCY Blogs is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.site-header .navbar {
  transition: all 0.2s ease-in-out;
}

body .site-header.sticky-top .navbar {
  background: rgb(0 0 0 / 84%);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.15);
}

a {
  color: #eb5c28;
}

.custom-logo-link {
  padding-block: 1rem;
}

.btn-read {
  color: #ed6b39;
  text-decoration: none;
}

.blog-header,
.blogs-header {
  color: #fff;
  min-height: 350px;
  background: #eb5c28;
  background: linear-gradient(90deg, rgba(235, 92, 40, 1) 0%, #ffcd1c 100%);
}

.blog-header h1 {
  font-size: 3rem;
  font-weight: 700;
}

.site-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

ul.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  margin-bottom: 3rem;
  list-style-type: none;
}

ul.category-list a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #ed6b39;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.single-blog-card a.card-link {
  position: relative;
  text-decoration: none;
  z-index: 1;
  display: block;
  background: #ffffff;
  min-width: 270px;
  /* height: 470px; */
  height: 100%;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  transition: all 0.3s linear 0s;
}

.single-blog-card a.card-link:hover {
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
}

.single-blog-card a.card-link .thumbnail {
  background: #000000;
  overflow: hidden;
  height: 200px;
}

.single-blog-card a.card-link .thumbnail img {
  display: block;
  width: 120%;
  height: 100%;
  object-fit: cover;
  /* object-position: top; */
  transition: all 0.3s linear 0s;
}

.single-blog-card a.card-link:hover .thumbnail img {
  transform: scale(1.1);
  opacity: 0.6;
}

.blog-content {
  position: relative;
  bottom: 0;
  background: #ffffff;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
}

.blog-content p.cat {
  position: absolute;
  top: 0;
  left: 0;
  translate: 0 -100%;
  background: #ed6b39;
  padding: 10px 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.9;
}

.blog-content h2 {
  color: #333333;
  font-size: 26px;
  font-weight: 700;
  padding-bottom: 10px;
}

.blog-content p.description {
  color: #666666;
  height: 0;
  margin-bottom: 1rem;
  font-size: 14px;
  line-height: 1.8em;
  animation: height 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* .single-blog-card a:hover .blog-content p.description {
  display: block;
  height: fit-content;
  opacity: 1;
  margin-bottom: 1rem;
} */

@keyframes height {
  0% {
    height: 0;
  }

  100% {
    height: 100%;
  }
}

.blog-content p.post-meta {
  color: #999999;
  font-size: 14px;
  margin: 0;
  padding-bottom: 15px;
}

.to-top {
  cursor: pointer;
}

/* .blog-header::before {
        content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
} */
section.blogs-header::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background: #0000006b;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 62%) 0%,
    rgb(0 0 0 / 61%) 50%,
    rgb(255 255 255 / 0%) 100%
  );
}

section.blogs-header {
  position: relative;
}

section.blogs-header .container {
  z-index: 1;
}

ul.category-list a {
  font-size: 0.8rem;
}

section.single-blog-header {
  background: #eb5c28;
  background: linear-gradient(90deg, rgba(235, 92, 40, 1) 0%, #ffcd1c 100%);
}

.featured-image-single {
  float: inline-end;
  width: 600px;
  padding: 0rem 1rem 1rem 1rem;
}

.share-buttons-list {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-fb {
  background: #3b5998;
}

.share-x {
  background: #000;
}

.share-whatsapp {
  background: #25d366;
}

.share-linkedin {
  background: #0077b5;
}

.share-copy {
  background: #6c757d;
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.share-copy.copied {
  background: #eb5c28 !important;
}

ul.pll-switcher {
  list-style-type: none;
  padding: 0;
  position: fixed;
  top: 200px;
  inset-inline-end: 0px;
  margin: 0;
  z-index: 9;
}

/* ul.pll-switcher li {
} */

ul.pll-switcher li a {
  padding: 10px;
  color: #fff;
  background-color: #ed6b39;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2.2rem;
  }

  .featured-image-single {
    float: none;
    width: 100%;
    padding: 1rem 0;
  }
}
