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

/* Add your custom styles here */

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

.page .section-heading h1 {
    color: #fff;
    font-weight: bold;
    font-family: Lexend Deca,Helvetica,Arial,sans-serif;
}
.page .section__entry {
    padding: 0 20px;
}

.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;
}

.header__content .nav {
    display: flex;
    padding: 0;
    width: auto;
    font-size: 16px;
    color: #ffffff;
    position: relative;
}

.header__content a.nav-trigger.nav-trigger--black.js-nav-trigger {
    display: none;
}

.header__content .nav ul {
    display: flex;
    gap: 20px;
}

.header__content .header__right {
    display: flex;
    gap: 20px;
    align-items: center;
}

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

.banner-section-v2 {
    min-height: 500px;
    display: flex;
    justify-content: start;
    align-items: center;
    background: #115ea1;
    padding: 40px 20px;
    margin-bottom: 50px;
    background-image: url(/wp-content/themes/pargo-blue/resources/images/gahomebg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.banner-section-v2 .headline {
    font-size: 48px;
    line-height: 62px;
    color: #000;
    font-weight: bold;
}

.newsletter-section {
    background: #163667;
    background-image: url(/wp-content/themes/pargo-blue/resources/images/homenewsletter.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
}

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

.header--v2 .header__content {
    flex-grow: 1;
    justify-content: space-between;
}

.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;
}

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

.posts-section .shell, .banner-section .shell {
    max-width: 1210px;
    color: #fff;
}

.posts-section h1, .posts-section h2 {
    color: #fff;
}

.posts-section.section-articles-categories .section__articles-large {
    flex: 0 0 100%;
    max-width: 100%!important;
    display: grid;
    grid-template-columns: repeat(3, 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;
}

.articles-related .article__image {
    background-color: white !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: #163667!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;
}


.section__sidebar label.wp-block-search__label {
    font-weight: bold;
    color: #fff;
}
.section__sidebar .wp-block-search__inside-wrapper {
    display: flex;
    gap: 10px;
}
.section__sidebar input#wp-block-search__input-1 {
    border: 1px solid #fff;
    padding: 1px;
    width: 100%;
}
.section__sidebar button.wp-block-search__button.wp-element-button {
    background-color: #ff914d;
    border: none;
    color: #000000;
    line-height: 26px;
    padding: 0px 10px;
}
.section__sidebar ul.wp-block-categories-list.wp-block-categories {
    list-style: none;
    background: #115ea1;
    color: #ffffff;
    padding: 20px;
}
.section__sidebar .wp-block-categories-list.wp-block-categories a {
    text-decoration: none;
}
.section__sidebar .wp-block-latest-posts {
    list-style: none;
}
.section__sidebar .wp-block-latest-posts li {
    margin-bottom: 20px;
}
.section__sidebar a.wp-block-latest-posts__post-title {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

@media (max-width: 1099px) {
    .header__content a.nav-trigger.nav-trigger--black.js-nav-trigger {
        display: inline-block;
        margin-left: -15px;
    }
    .header__content .nav ul {
        display: none;
    }
    .banner-section-v2 .headline {
        font-size: 34px;
        line-height: 44px;
    }
    .header__content .header__right {
        width: 100%;
        justify-content: space-between;
    }
}
@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 img {
                max-width: 100px;
            }
        }