/* ---------------------------------------------------------------------------------

	Theme Name: Rowling Child
    Text Domain: rowling-child
	Theme URI: https://amlintelligence.com
	Version: 1.1.0
	Description: Rowling is a clean, simple and elegant magazine theme for WordPress. It features a responsive design, great typography, Block Editor support, social menu support, custom accent color support, custom logo support, gallery post format support, and editor styles.
	Tags: blog, three-columns, right-sidebar, custom-colors, custom-menu, editor-style, featured-images, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
	Author: AML Intelligence
	Author URI: https://amlintelligence.com
	License: GNU General Public License version 2.0
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Template: rowling
	Text Domain: rowling-child
	
	All files, unless otherwise stated, are released under the GNU General Public License
	version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

----------------------------------------------------------------------------------- */

.amlintelligence-rowling-header__container {
  font-size: 16px;
  display: flex;
  gap: 1.25em;
  align-items: center;
}

.amlintelligence-rowling-header__logo,
.amlintelligence-rowling-header__logo img {
  max-width: 125px;
}

.amlintelligence-rowling-header__headline {
  color: #fff;
}

.amlintelligence-rowling-header__title {
  font-weight: bold;
  font-size: 2em;
}

.amlintelligence-rowling-header__subtitle {
  font-size: 1.25em;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .amlintelligence-rowling-header__title {
    font-size: 1.5em;
  }

  .amlintelligence-rowling-header__subtitle {
    font-size: 1em;
  }
}

@media (max-width: 850px) {
  .amlintelligence-rowling-header__title {
    font-size: 1.25em;
  }

  .amlintelligence-rowling-header__subtitle {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .amlintelligence-rowling-header__headline {
    display: none;
  }
}

/**
 *  Rowling Child theme
 */
@media (min-width: 850px) {
  body,
  .wrapper::before {
    background-color: #f7f7f7;
  }
}

/**
 *  Featured Post
 */
.post--featured.post--highlight {
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 2px solid #ddd;
}

.post--featured .post-image {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  margin: 0 0 1em 0;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.075);
  background-color: #fff;
}

.post--featured .post-header {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: baseline;
}

.post--featured .post-categories {
  display: none;
}

.post--featured .post-title {
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
}

.post--featured .post-title a {
  text-decoration: none;
  color: #242424;
}

.post--featured .post-title a:hover {
  color: #004cd5;
  text-decoration: none;
}

@media (min-width: 768px) {
  .post--featured .post-image img {
    transition: 0.25s ease-in;
  }

  .post--featured:hover .post-image img {
    transform: scale(1.1);
  }
}

/**
 *  Post Without Image
 */
.posts .post.post--without-image {
  margin-bottom: 0 !important;
  padding: 1em !important;
  border-radius: 5px;
  border: 1px solid #ddd !important;
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.075);
  transition: border-color 0.5s ease;
}

.posts .post.post--without-image:hover {
  border-color: #102958 !important;
}

/**
 *  Posts
 */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

@media (max-width: 540px) {
  .posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 468px) {
  .posts {
    grid-template-columns: repeat(1, 1fr);
  }
}

/**
 *  Sticky Posts
 */
.posts .post.sticky {
  min-width: initial !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/**
 *  Posts Section
 */
.section {
  font-size: 16px;
  margin-top: 2em;
}

.section__header {
  margin-bottom: 2em;
}

.section__title {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.75em;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5em;
  margin: 0;
}

/**
 *  Post
 */
.posts .post {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-size: 16px;
  width: initial;
}

.posts .post + .post {
  border: none;
  margin: 0;
}

.posts .post,
.posts .post + .post {
  margin-bottom: 1em;
}

.posts .post .post-image {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.075);
  background-color: #fff;
}

@media (min-width: 768px) {
  .posts .post-image img {
    transition: 0.25s ease-in;
  }

  .posts .post:hover img {
    transform: scale(1.1);
  }
}

.posts .post .post-header {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: baseline;
}

.posts .post .post-categories {
  display: none;
}

.posts .post .post-title {
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
}

.posts .post .post-title a {
  color: #242424;
}

.posts .post .post-title a:hover {
  color: #004cd5;
  text-decoration: none;
}

/**
 *  Carousel
 */
div.tns-outer {
  font-size: 16px;
  margin-bottom: 2em;
  margin-top: 2em;
}

.tns-nav {
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: left;
  min-height: 16px;
}

.tns-nav button {
  background-color: #f1f1f1;
  padding: 0.5em;
  border-radius: 3px;
}

.tns-nav button.tns-nav-active {
  background-color: #102958;
}

/**
 *  Single Post
 */
.single-post .post-meta {
  font-size: 16px;
  display: flex;
  gap: 1em;
  align-items: center;
}

.single-post .post-image img {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.075);
}

/**
 *  Related Post
 */
.related-posts .related-post .title {
  font-weight: 600;
  color: #242424;
}

.related-posts .related-post:hover .title {
  color: #004cd5;
  text-decoration: none;
}

/**
 *  Pagination
 */
.archive-nav {
  font-size: 16px;
  margin-top: 2em;
  background-color: #f7f7f7;
  border: none;
  border-radius: 5px;
}

.archive-nav li {
  margin-top: 0;
}

.archive-nav .active a {
  color: #0f2857;
  border: none;
  font-weight: 800;
}

.archive-nav a {
  font-weight: 600;
  border-top: none;
}

.archive-nav a:hover {
  border: none;
}

/**
 *  Premium Content Label
 */
.premium-content-label {
  margin: 0;
  background-color: #102958;
}

.premium-content-label i {
  margin-right: 0.5em;
}

/**
 *  Breaking News Widget
 */
.widget_breaking-news-widget {
  background-color: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.075);
  text-align: center;
}

/**
 *  Social Icons
 */
.social-menu a[href*="twitter.com"]::before,
.social-menu a[href*="x.com"]::before {
  content: '\e61b';
  font-family: 'Font Awesome 7 Brands';
}