/*
Theme Name: OTT Den
Theme URI: ottden.com
Author: OTT Den
Author URI: https://wordpress.org
Description: OTT Den is custom template of Twenty Twenty Four
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ottden
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

body {
  background: #ffffff;
}

a:hover, a {
  text-decoration: none !important;
}

a:hover {
  color: #2871b1;
}

p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5rem;
}

:where(.wp-site-blocks *:focus) {
  outline-width: 0px;
  outline-style: none;
}

.den-header {
  background: #2871b1;
}

.header-logo-block img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.header-logo-block img:focus,
.header-logo-block a:focus img {
  outline: none !important;
}

.header-menu
  .wp-block-navigation
  .wp-block-navigation-item__content.wp-block-navigation-item__content {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  height: auto;
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-weight: normal;
  position: relative;
  border-bottom: 2px solid #2871b1;
  font-size: 0.875rem;
  font-weight: 400;
}

.header-menu
  .wp-block-navigation
  .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
  border-bottom: 2px solid rgb(255, 255, 255);
}

/*  Slider Block on Home Page */

/* Category Page */
.category-page {
}

.category-post-title {
  margin-bottom: 0.75rem !important;
  margin-top: 0rem !important;
  line-height: 1;
  flex-basis: 0;
}

.category-post-title a {
  font-size: 1rem;
  font-weight: 500;
}

/* Single Post */
.post-banner-image {
  overflow: hidden;
  margin-top: 0;
  max-height: 300px;
  display: block !important;
}
.post-banner-image,
.post-banner-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}

/* Single Post Page */
.post-heading {
  font-weight: 500;
  font-size: 2rem !important;
}

/* Related posts bellow single post */
.related-posts {
}

.related-posts-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0;
  margin: 0 0 0.5rem;
}

.related-posts-wrapper .related-posts {
  padding: 0px;
  display: flex;
  gap: 1rem;
}

.related-posts-wrapper .related-posts li {
  list-style: none;
}

.related-posts-wrapper .related-posts li a {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  text-decoration: none;
}

.related-posts-wrapper .related-posts li a:hover {
  color: #2871b1;
}

.related-posts-wrapper .related-posts li img {
  width: 100% !important;
}

/* Post Slider by Spectra */

.uagb-slick-carousel {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.uagb-post__inner-wrap {
  margin-bottom: 0px !important;
}

/* .uagb-post__inner-wrap .uagb-post__image {
  height: calc(100% - 60px) !important;
} */

/* .uagb-post-grid .uagb-post__inner-wrap .uagb-post__image img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: 100%;
} */

 .uagb-post__inner-wrap > .uagb-post__text.uagb-post-grid-byline {
  display: none !important;
}

.uagb-post-grid .slick-prev,
.uagb-post-grid .slick-next {
  border-radius: 100% !important;
  box-shadow: none !important;
  border: 1px solid #dedede !important;
  background: #fdfdfd !important;
}

.uagb-post-grid .slick-prev:hover,
.uagb-post-grid .slick-next:hover {
  background: #eeeeee !important;
}

.uagb-post-grid .slick-prev {
  left: -35px !important;
}

.uagb-post-grid .slick-next {
  right: -35px !important;
}

@media screen and (max-width: 767px) {

  /* Mobile Menu */
  .header-menu .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: #2871b1;
    border-bottom: 0px;
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }

  .uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel {
    flex-direction: row !important;
  }

  /* Home Page Category Tabs */
  .uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel .uagb-tab {
    margin: 0 10px 10px 0 !important;
    min-width: 30% !important;
    width: auto !important;
}

  /* Single Post Mobile */
  .single-post .single-post-outer-block {
    display: block;
  }

  .single-post .single-post-content,
  .single-post .single-post-sidebar {
    width: 100% !important;
  }

  /* Category Template */
  .category-post-template {
    grid-template-columns: repeat(3, 1fr) !important;
    container-type: inline-size;
    gap: var(--wp--preset--spacing--30);
  }

  .taxonomy-category {
    display: none;
  }

  .category-post-title a {
    font-size: 1rem;
    font-weight: 500;
  }
  .related-posts-wrapper .related-posts {
    padding: 0px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .related-posts-wrapper .related-posts li {
    list-style: none;
    width: calc(50% - 1rem) !important;
  }
}
