/*
Theme Name: HQZ Child
Theme URI: https://hqz.gg/hqz-child/
Description: HQZ Child Theme
Author: HQZ
Author URI: https://hqz.gg/
Template: hqz
Version: 1.0.0
*/

/* Add your custom styles here */

.shell {
    max-width: 1920px!important;
    margin-left: auto;
    margin-right: auto;
}

.wrapper {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.section-navigation .section__bar {
    padding: 10px 10px 10px 20px!important;
    text-align: left!important;
}
.section-navigation .section__logo img {
    width: 240px!important;
}
.nav.secondary {
    font-size: 22px;
}

.section-article-single .section__media iframe, 
.section-article-single .section__entry p iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto!important;
}

iframe.instagram-media {
    width: 100% !important;
    max-width: 100% !important;
}

.header--v2 .header__content {
    flex-grow: 1;
    justify-content: space-between;
}
.nav-trigger--black span {
    background-color: #d30000!important;
}
.btn-search {
    color: #d30000!important;
}
.posts-section, .banner-section, .posts-section.section-articles-categories:last-child {
    padding: 0 2em;
    margin-bottom: 6em;
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1em;
}
.posts-header h1 {
    margin-bottom: 0;
    line-height: 1;
}
.posts-header a {
    text-decoration: none;
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.category-post {
    position: relative;
    overflow: hidden;
}

.category-post a {
    display: block;
    text-decoration: none;
}

.category-post img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 15px;
}

.category-post h2 {
    margin-top: 10px;
    font-size: 1.2em;
}

.posts-section.section-articles-categories .section__articles-large {
    flex: 0 0 100%;
    max-width: 100%!important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.posts-section.section-articles-categories .section__articles-large > .articles-category-feature > .article-category-feature > .article__link {
    z-index: -1;
}
.posts-section .article-category-feature {
    background: linear-gradient(to top right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 75%);
    aspect-ratio: 16 / 9;
    max-width: 100%;
    min-height: auto;
}
.posts-section .article-category-feature .article__image img {
    height: auto;
}

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

.single-category-post .single-post h1 {
    font-family: Anton, Helvetica, Arial, sans-serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
}

.single-category-post .single-post a img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.articles-related .article__image {
    background-color: white !important;
}

.article__image img {
    border-radius: 15px;
}

.article-v2 .article__media img {
    border-radius: 15px;

}

.wp-block-image img {
    border-radius: 15px !important;
}


.section-main.section-article-single .shell {
    max-width: 1240px!important;
}
.opinionstage-iframe {
    border: none;
    box-shadow: none!important;
    border-radius: 0!important;
}

.opinionstage-iframe iframe .w-btn {
	background-color: #d30000!important;
}

.section-poll-single .section__wrapper {
    justify-content: center;
}
.section-poll-single .section__head {
	display: flex; 
	align-items: center; 
	gap: 15px; 
	margin: 0 auto 38px;
}
.section-poll-single .section__categories {
	margin-top: 15px;
}
.section-poll-single .section__title.js-article-title {
	line-height: 1;
}
.section-poll-single.section-main .section__inner {
	justify-content: center;
}

@media (max-width: 768px) {
    .posts-section .article-category-feature .article__image img {
        height: 100%;
    }
    .posts-section, .banner-section, .posts-section.section-articles-categories:last-child {
        padding: 0 1em;
        margin-bottom: 3em;
    }
    .single-category-post .single-post h1 {
        font-size: 34px;
    }
    .category-posts-grid, .posts-section.section-articles-categories .section__articles-large {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section-articles-categories .section__articles-large {
        margin: 0 0 16px!important;
        display: block!important;
    }
    .posts-section.section-articles-categories .section__articles-large .article-category-feature .article__entry {
        display: block;
    }
    .category-posts-grid, .posts-section.section-articles-categories .section__articles-large .article-category-feature {
        min-height: 415px!important;
    }
}

.aligncenter {
    text-align: center;
    }
    
    .section-poll-single .section__content {
    padding-right: 0 !important;
    }
  
  
  .instagram-media {
    margin: 0 auto !important;
  }
  
  iframe.entered {
    width: 100%;
    aspect-ratio: 16 / 9 !important;
    height: auto;
  }
  iframe[src*="youtube.com"] {
    width: 100%;
    aspect-ratio: 16 / 9 !important;
    height: auto;
  }
    .wp-block-quote.is-layout-flow.wp-block-quote-is-layout-flow {
      border-left: 3px solid #ccc;
      clear: both;
      margin: 40px auto;
      padding: 10px 0 10px 30px;
      max-width: 660px;
      width: 100%;
      font-weight: 700;
    }

    .twitter-tweet {
        text-align: center !important;
        margin: 0 auto !important;
        }

    
        @media (max-width:480px){
            .articles-related--v2 .article__content {
                -webkit-line-clamp: 5 !important;
            }
            .section-article-single .section__entry h2 {
                font-size:22px !important;
            }
        }

        .section-article-single .section__media {
            padding-bottom: 25px;
        }

        .section-article-single .section__entry {
            padding-bottom: 30px;
        }
        @media (min-width:1240px){
            .section-article-single .section__media img {
                height: 461px;            
            }
        }
        @media (max-width:425px){
            .section-article-single .section__media img {
                height: 222.19px;            
            }
        }
        /* CSS for Poll buttons */
        div#totalpoll.totalpoll-wrapper[totalpoll-uid="2e21fe0b6d537996d47c3d4b16d0e3cc"] .totalpoll-buttons {
            display: flex !important;
            flex-direction: column !important;
          }
          .totalpoll-button.totalpoll-buttons-results {
            margin: 8px calc(1em/2) !important;
          
          }
          .totalpoll-button.totalpoll-buttons-results{
            background: #a7a7a7 !important;
            border-color: #a7a7a7 !important;
            color: #fff !important;
           
          }
          
          .totalpoll-button.totalpoll-button-primary.totalpoll-buttons-vote{
            
            background: #d50005!important;
            color: #fff !important;
            border-color: #fff !important;
          }

          .totalpoll-button.totalpoll-button-primary.totalpoll-buttons-vote:hover{
            
            background: #d50005 !important;
            color: #fff !important;
            border-color: #fff !important;
          }
          .totalpoll-button.totalpoll-buttons-results:hover{

            background: #a7a7a7 !important;
            border-color: #a7a7a7 !important;
            color: #fff !important;
          }
          @media (max-width: 1099px) {
            .header--v2 .header__logo {
                width: 270px !important;
            }
        }