@import url('https://fonts.googleapis.com/css2?family=Alata&family=Open+Sans:ital,wght@0,300;0,400;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #dd00a1;
    --red: #dc3545;
    --orange: #F88600;
    --yellow: #f8b600;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: 'Roboto', sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --top-spacing: 100px;
  }

html { scroll-behavior: smooth;scroll-padding-top: var(--top-spacing); }
html, body { height: 100%; }

body {
  font-family: 'Roboto', sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Alata', sans-serif; }
.body-1 {font-size:18.3px;letter-spacing:0.5px;}
.body-2 {font-size:16.01px;letter-spacing:0.25px;}
.subtitle-1 {font-size:18.3px;letter-spacing:0.15px;}
.subtitle-2 {font-size:16.01px;letter-spacing:0.1px;}
.button {font-size:16.01px;letter-spacing:1.25px;text-transform:uppercase;}
.caption {font-size:13.72px;letter-spacing:0.4px;}
.overline {font-size:13.72px;letter-spacing:2px;text-transform:uppercase;}
a { color:var(--pink); }
a:hover, a:active { color:var(--orange); }
.spacer-30 { margin-top:30px; }
.spacer-60 { margin-top:60px; }
p.lead {font-weight:400;}
/* TODO: Make sure this overrides bootstrap */
.btn {font-weight: 500; text-transform:none; font-size: 0.925rem; letter-spacing: 0.5px;}
.nav-item {font-family: 'Roboto', sans-serif;font-weight:400;}
.navbar {z-index: 2}
.navbar .dropdown-menu a {padding: 10px 20px;}
.navbar.navbar-dark .breadcrumb .nav-item.active>.nav-link, .navbar.navbar-dark .navbar-nav .nav-item.active>.nav-link {background-color:rgba(255,255,255,0) !important;border-bottom:solid 2px #dd00a1;}
@media (max-width: 992px) {
  .navbar {padding-left: 0; padding-right: 0; padding-top:8px;}
  .navbar-brand {padding-left: 16px; padding-top: 8px;}
  .navbar-toggler {padding-right: 16px;}
  .navbar-collapse {background: #000033}
  .navbar-collapse .nav-item a.nav-link {padding:16px; padding-left: 16px; padding-right: 16px;}
  .nav-flex-icons {padding-right: 16px;}
  .navbar.navbar-dark .navbar-collapse .navbar-nav .nav-item.active>.nav-link {border-bottom: none;}
  .navbar-collapse .navbar-nav .nav-item.active>.nav-link {border-left: solid 4px #dd00a1; padding-left: 12px;}
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: -5px;
}

.dropdown-block {
  left: 0;
  top: 100%;
  z-index: 3;
  background: white;
  border-radius: 5px;
  border: none;
  margin: 10px 0;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 5px rgb(0 10 44 / 56%), 0 2px 10px rgb(0 10 44 / 12%);
  box-shadow: 0 2px 5px rgb(0 10 44 / 56%), 0 2px 10px rgb(0 10 44 / 12%);
  font-family: sans-serif;
}

.img-thumbnail {
    padding: .5rem;
    background-color: #fff;
    border: 0px;
    border-radius: .25rem;
    max-width: 100%;
    height: auto; }
.center-image { display:flex;jusitfy-content:center;align-items: center; }
.img-padding {padding:20px;}
.homepage-gradient {
    background-image: linear-gradient(to top, #001C93 0%, #000033 60%);
    background-size:cover; }

.why-trino-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

@media (max-width: 767px) {
  .why-trino-block {
    flex-direction: row;
    text-align: left;
  }

  .why-trino-block > div {
    flex: 1;
  }
}

.why-trino-icon {
  height: 90px;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .why-trino-icon {
    height: 60px;
    flex-basis: 80px;
    margin-right: 2rem;
  }
}

@media (max-width: 375px) {
  .why-trino-icon {
    height: 48px;
  }
}

footer.page-footer h6 a {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}
footer .footer-copyright {font-size: 0.7rem;}
.jumbotron {padding:0 2rem;}
@media (max-width: 900px) {
  .jumbotron {padding:0 2rem 0rem;}
  .jumbotron.homepage-bg {padding-bottom: 2rem;}
}

/*----- TOC STYLES -----*/
.toc-styles { padding: 0px 30px; }
.toc-styles ul {font-size: 0.9rem;padding-inline-start: 1.2rem;border-left: 0.2rem solid var(--pink);}
.toc-styles li {list-style-type: none;margin-top: .625rem;line-height:1.3em;}
.toc-styles li a {color:var(--dark);}
.toc-styles li a:hover {color:var(--pink);}
.toc-styles ul ul {border-left:none;}
.toc-sticky {position: sticky;position: -webkit-sticky; top:120px;}

/*----- BLOG STYLES -----*/
.right {float:right;}
.bottom {align-self:flex-end;}
.blog-header {display:flex;justify-content:space-between;width:100%;margin:0;}
.archives-title-link a, .tag-align-bottom a, .post-card .card-title a {color:rgba(0,0,0,.6);}
.archives-title-link a:hover, .tag-align-bottom a:hover, .post-card .card-title a:hover {color:var(--pink);}
.tag-align-bottom {margin-bottom:0;}
.latest-blog {display:flex;flex-direction: row;margin-bottom:64px;align-items:center; padding: 1.5rem;}
.latest-blog img {display:cover;max-width:400px;max-height:300px;margin-left:2rem;}
.post-card {margin:16px 0;}
@media (max-width: 900px) {
  .card.mb-4 {
    flex: auto;
  }
}
@media (max-width: 992px) {
  .latest-blog img {display:none;}
}
@media (min-width: 768px) {
  .post-card {width: 45%}
}
@media (min-width: 992px) {
  .post-card {width: 30%}
  .post-container {max-width:860px;}
}
.jumbotron.homepage-bg {
  background: url(/assets/images/graphics/trino-space.svg);
  background-position: top center;
  background-size:100% auto;
  padding-top:128px;
  margin-bottom:0px;
  background-repeat: no-repeat;
  padding-bottom: 4rem;
}
.announcement {background: #dd00a1;  padding: 1rem; text-align: center;}
.announcement h2 {font-size: 1.125rem; margin-bottom: 0; color: white;}
.announcement h2 a {color: white;}
.announcement.subtle {background:#001b8d; padding: 0.75rem;}
.announcement.subtle h2 {font-size:1rem; font-weight: normal;}
.square {border-radius:0;}
.blog-cards {display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;}
.post-card img {height:125px;object-fit:contain;border-radius:0;}
.blog-cards .card-text {border-bottom:none;padding-bottom:0;}
.archive-post-img img{height:100px;width:100px;align-self:center;object-fit:contain;}
.archive-row {display:flex;flex-direction:row;justify-content: space-between;}
.featured-img {float:right;max-width:350px;margin:32px;}
ul.blog-tags li {display:inline-block;}
ul.blog-tags {margin:24px 0;}
.post {padding-bottom:3rem;}
.post h1 {font-size:1.5rem; margin: 2rem 0 1rem;}
.post h2 {margin: 2rem 0 1rem;}
.post blockquote > h2 {margin:0.5rem 0 1rem;}
.post .post-header h1 {font-size:2.5rem; margin: 1rem 0;}
.post img {max-width:100%; display:block; margin-left:auto; margin-right:auto;}
.post iframe {max-width:720px; width:100%;}
.post-meta {font-weight:600;margin-bottom: 2rem;}
.archive-row .overline {margin-bottom:3px; margin-top: 4px;}

.jumbotron .text-white h1 a { color: #fff; }

.pink-gradient { background: linear-gradient(40deg, #F88600, #dd00a1) !important;}
.orange-gradient { background: linear-gradient(40deg, #f8b600, #F88600) !important;}
.btn-pink {
    color: #fff;
    background-color: var(--pink) !important;
}
.btn-yellow {
  color: #fff;
  background-color: var(--yellow) !important;
}

.btn.btn-md {
  font-size: 0.875rem;
}
.outline-card {
  padding: 0 1.5rem;
  border-left: 3px solid #dd00a1;
  margin: 0 0 3rem;
}

pre {
  background: whitesmoke;
  outline: 1px solid lightgray;
  padding: 10px;
  margin: 1rem 0.5rem;
}

code.language-plaintext {
  background-color: whitesmoke;
  border-radius: 5px;
  padding: 2px;
}

blockquote {
  background-color: whitesmoke;
  border-left: 4px solid lightgray;
  padding: 1rem 1.25rem 0.5rem;}

table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: #3f3f3f;
  border: 1px solid #e8e8e8;
}

table th, table td {
    padding: 10px 15px;
}

table th {
  background-color: #f0f0f0;
  border: 1px solid #dedede;
  border-bottom-color: #c9c9c9;
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: #f7f7f7;
}

table td {
  border: 1px solid #e8e8e8;
}

/* Resources Page */
.jumbotron + .container__resources {
  margin-top: -2rem;
}
.container__resources {
  background-color: whitesmoke;
  padding: 1.5rem 0;
}
.container__resources h2 {
  /*color: #001c93;*/
  margin-top: 4rem;
}
.container__resources h2:first-of-type{
  margin-top: 0;
}
.container__resources h3 {
    font-size:1.5rem;
}
.container__resources h4 {
  font-size:1.25rem;
}
.resourcesMain {
  background: white;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  padding: 2rem;
  border-radius: 5px;
  margin-bottom: 2rem;
}
.resourcesMain .item  {
  margin: 1rem 0;
  border-bottom: 2px solid whitesmoke;
  padding-bottom: 1rem;
}
.resourcesMain .item dl {
  padding-left: 1rem;

}
.resourcesMain .item:last-of-type {
  border-bottom: none;
}
.resourcesAnchors {
  padding: 2rem;
}

/* Development Page */
.container__development h3:not(:first-of-type) {
  margin-top: 2.5rem;
}

/* Features Page */
.container__features .col-md-4 {
  padding-bottom: 5rem;
}

/* Trino Summit Banner */

.trino-summit-banner {
  background-color: #000A2C;
  box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25), inset 0px 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.trino-summit-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  position: relative;
}

.trino-summit-content h3 {
  color: #ffffff;
  letter-spacing: 0.06rem;
  margin-bottom: 1rem;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.trino-summit-content img {
  filter: drop-shadow(0px 4px 2px rgba(0,0,0,0.1));
}

.trino-summit-logo {
  margin-top: -1.5rem;
  width: 100%;
  max-width: 535px;
}

.trino-summit-peek {
  position: absolute;
  bottom: -200px;
  width: 300px;
  right: -260px;
}

.trino-summit-button {
  background-color: var(--pink);
  color: #ffffff;
}

.trino-summit-button:hover {
  color: var(--orange);
}

@media screen and (max-width: 769px) {
  .trino-summit-peek {
    right: -200px;
  }
}

@media screen and (max-width: 414px) {
  .trino-summit-content h3 {
    font-size: 1.25rem;
    letter-spacing: 0;
  }
  .trino-summit-content img:first-of-type {
    width: 60%;
  }
  .trino-summit-logo {
    margin-top: -1rem;
  }
  .trino-summit-peek {
    display: none;
  }
}

/* Trino Birthday Banner */

.trino-birthday-banner {
  background-color: #000A2C;
  box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25), inset 0px 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  width: 100%;
  height: 270px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.trino-birthday-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  position: relative;
}

.trino-birthday-content h1 {
  color: #ffffff;
  letter-spacing: 0.06rem;
  margin-bottom: 1rem;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.trino-birthday-content img {
  filter: drop-shadow(0px 4px 2px rgba(0,0,0,0.1));
}

.trino-birthday-peek {
  position: absolute;
  bottom: -10px;
  width: 200px;
  right: -200px;
}

.trino-birthday-button {
  background-color: var(--pink);
  color: #ffffff;
}

.trino-birthday-button:hover {
  color: #ffffff;
}

@media screen and (max-width: 769px) {
  .trino-birthday-peek {
    right: -200px;
  }
}

@media screen and (max-width: 414px) {
  .trino-birthday-content h1 {
    font-size: 1.25rem;
    letter-spacing: 0;
  }
  .trino-birthday-content img:first-of-type {
    width: 60%;
  }
  .trino-birthday-peek {
    display: none;
  }
}

/* Community Page */
.community-content-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 6rem;
}

.slack-text-container {
  max-width: 50%
}

@media(max-width: 990px) {
  .slack-text-container{
    max-width: 100%;
  }
}

.slack-stats-container {
  display: flex;
  flex-direction: row;
}

@media(max-width: 440px) {
  .slack-stats-container {
    justify-content: space-between;
    width: 100%;
  }
}

.community-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 2rem;
  text-transform: uppercase;
}

.community-stats:last-of-type {
  margin-right: 0;
}

.community-stats > span {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: -0.5rem;
}

@media(max-width: 440px) {
  .community-stats > span {
    font-size: 1.5rem;
  }
  .community-stats {
    margin: 0;
    font-size: 0.7rem;
  }
}

.slack-channel {
  border-radius: 8px;
  height: 180px;
  margin-right: 1rem;
  flex: 1;
  color: #ffffff;
  font-family: 'Alata', sans-serif;
  font-size: 24px;
  font-weight: 500;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  word-break: break-all;
}

.slack-channel:hover {
  color: #ffffff;
  box-shadow: inset 0 0 100px 100px rgba(0,0,0, 0.05), 0 2px 4px rgba(0,0,0,0.1), 0 0 8px rgba(0,0,0,0.25);
  transform: translateY(-4px);
  transition: all 200ms ease-in-out;
}

.slack-channel > img {
  position: absolute;
}

.slack-channel:last-of-type {
  margin-right: 0;
}

.slack-channel > i {
  margin-bottom: 0.5rem;
}

.slack-channels-top {
  display: flex;
  margin-bottom: 1rem;
}

.slack-channels-top .slack-channel:first-of-type {
  flex: 2;
}

.slack-channels-top .slack-channel:first-of-type > img {
  right: 1rem;
}

.slack-channels-bottom .slack-channel:last-of-type {
  flex: 2;
}

.slack-channels-bottom .slack-channel:last-of-type > img {
  right: 1rem;
  top: 1rem;
}

@media (max-width: 990px) {
  .slack-channels-top, .slack-channels-bottom {
    flex-direction: column;
    flex-flow: wrap;
    justify-content: space-between;
  }

  .slack-channels-top .slack-channel:first-of-type {
    flex: 100%;
    margin-right: 0;
  }

  .slack-channels-bottom .slack-channel:last-of-type {
    flex: 100%;
    margin-top: 1rem;
  }

  .slack-channel {
    flex: calc(50% - 1rem);
    min-height: 180px;
    margin-right: 1rem;
    margin-bottom: 0rem;
    margin-top: 1rem;
  }

  .slack-channels-bottom .slack-channel {
    flex: calc(33.33% - 1rem);
    margin-top: 0;
  }
  .slack-channels-bottom .slack-channel:nth-of-type(2) {
    margin-right: 0;
  }
}

@media (max-width: 440px) {
  .slack-channel {
    flex: 100%;
    margin-right: 0;
  }

  .slack-channels-bottom .slack-channel {
    flex: 100%;
    margin-right: 0;
    margin-top: 1rem;
  }

  .slack-channels-bottom .slack-channel:first-of-type {
    margin-top: 0;
  }
}

.slack-blue-gradient {
  background: linear-gradient(130deg, #121259 20%, #000033 70%);
}
.slack-pink-gradient {
  background: linear-gradient(130deg, #DD00A1 12%, rgba(178, 0, 136, 0.93) 92%);
}
.slack-orange-gradient {
  background: linear-gradient(130deg, #F8B600 12%, rgba(248, 134, 0, 0.81) 92%);
}
.slack-pinkorange-gradient {
  background: linear-gradient(130deg, #DD00A1 5%, #F8B600 95%);
}

.community-broadcast-block {
  background-color: black;
  border-radius: 8px;
  margin-right: 1rem;
  flex: 1;
  overflow: hidden;
}

@media(max-width: 990px) {
  .community-broadcast-block {
    width: 100%;
    margin-bottom: 1rem;
  }
}

.community-broadcast-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.community-broadcast-image-wrapper > img:first-of-type {
  max-height: 260px;
}
.community-broadcast-image-wrapper > img:nth-of-type(2) {
  width: 100%;
}

@media(max-width: 440px) {
  .community-broadcast-image-wrapper > img:first-of-type {
    max-height: 180px;
  }
}

.events-thirds-container {
  display: flex;
  flex-direction: column;
  flex: 1
}

@media(max-width: 990px) {
  .events-thirds-container {
    width: 100%;
  }
}

.event-third-block {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 260px;
  margin-bottom: 1rem;
  padding: 2rem;
  color: #ffffff;
  font-family: 'Alata', sans-serif;
  font-size: 1.5rem;
}

.event-third-block > div {
  margin-right: auto;
}

.event-third-block:hover {
  color: #ffffff;
  box-shadow: inset 0 0 100px 100px rgba(0,0,0, 0.05), 0 2px 4px rgba(0,0,0,0.1), 0 0 8px rgba(0,0,0,0.25);
  transition: all 200ms ease-in-out;
}

.event-third-block:first-of-type {
  background-color: #121259;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 90%;
}
.event-third-block:nth-of-type(2) {
  background-color: var(--pink);
}
.event-third-block:last-of-type {
  background-color: var(--orange);
  margin-bottom: 0;
}

@media(max-width: 440px) {
  .event-third-block {
    height: 140px;
  }
  .event-third-block:last-of-type {
    font-size: 1.25rem;
  }
  .event-third-block > img {
    max-width: 80px;
    margin-left: 0.5rem;
  }
}

.community-content-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.slack-content-container {
  align-items: center;
}

@media (max-width: 990px) {
  .community-content-container, .slack-content-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contribute-content-container {
  align-items: flex-start;
}

.contribute-text-container {
  margin-right: 1rem;
  padding-right: 3rem;
  flex: 1 1 50%;
}

@media(max-width: 990px) {
  .contribute-text-container {
    margin-bottom: 1rem;
    padding: 0;
    margin-right: 0;
  }
}

.contribute-github-button > span {
  margin: 0.5rem 0.5rem 0.5rem 0;
}

.contribute-thirds-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 2rem;
}

@media(max-width: 440px) {
  .contribute-thirds-container {
    flex-direction: column;
  }
}

.circle-icon-container {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media(max-width: 440px) {
  .circle-icon-container {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
  }
}

.circle-bugs {
  background: rgba(221, 0, 161, 0.1);
  color: var(--pink);
}
.circle-docs {
  background: rgba(248, 134, 0, 0.1);
  color: var(--orange);
}
.circle-pr {
  background: rgba(18, 18, 89, 0.1);
  color: #121259;
}

/* Broadcast Pages */
.container__broadcast table {margin-top:40px;}
.container__broadcast thead {background:whitesmoke;}
.container__broadcast thead th {padding: 10px;}
.container__broadcast tbody td {padding: 10px;}
.container__broadcast tbody tr td:first-of-type {min-width: 200px;}
.container__broadcast tbody tr td:nth-of-type(2) {width: 40%; max-width: 200px;}
.container__broadcast .post-entry {padding:2rem; margin-bottom: 2rem; width: 100%;}
.container__broadcast .post-entry .post-meta {margin-bottom: 1rem;}

.container__episode {padding-bottom: 4rem;}

.container__broadcast .watch-listen-icon {margin: 0 10px;}

.container__broadcast .latest-entry {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 414px) {
  .container__broadcast .latest-entry {
    padding: 1.5rem;
  }
}

.container__broadcast .latest-entry .latest-entry-text-container {
  margin-right: 3rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  max-width: 50%;
}

@media (max-width: 990px) {
  .container__broadcast .latest-entry .latest-entry-text-container {
    margin-right: 0;
    margin-top: 1rem;
    max-width: initial;
  }
}

.container__broadcast .latest-entry .latest-entry-video-container {
  width: 100%;
  overflow:hidden;
}

.container__broadcast .latest-entry .latest-entry-video-wrapper {
  padding-top: 56.25%; /* Used to maintain a fluid 16:9 ratio */
  height: 0px;
  position: relative;
}

.container__broadcast .latest-entry .latest-entry-video-wrapper iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.container__broadcast .post-entry a {
  margin-top: auto;
}

.container__broadcast .post-entry ul {
  padding-inline-start: 1.25rem;
}

.container__broadcast .post-entry ul li {
  margin-bottom: 0.25rem;
}

.previous-episode-header {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.previous-episode-header p {
  margin-bottom: 0;
  margin-left: 1rem;
}

@media (max-width: 414px) {
  .previous-episode-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .previous-episode-header p{
    margin-left: 0;
  }
}

.episode-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.episode-grid .post-entry {
  max-width: calc(33.33% - 1rem); /* 3 Column */
  -ms-flex: calc(33.33% - 1rem);
  flex: calc(33.33% - 1rem);
  display: flex;
  flex-direction: column;
  justify-content: start;
  margin-right: 1.5rem;
}

@media (min-width: 991px) {
  .episode-grid .post-entry:nth-of-type(3n) {
    margin-right: 0;
  }
}

@media (max-width: 990px) {
  .episode-grid .post-entry {
    max-width: calc(50% - 0.75rem); /* 2 Column */
    -ms-flex: calc(50% - 0.75rem);
    flex: calc(50% - 0.75rem);
  }

  .episode-grid .post-entry:nth-of-type(2n) {
    margin-right: 0;
  }
}

@media (max-width: 414px) {
  .episode-grid .post-entry {
    max-width: 100%; /* 1 Column */
    -ms-flex: 100%;
    flex: 100%;
    margin-right: 0;
    padding: 1.5rem;
  }
}

/* Users logos */
.user-logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.user-logo-item {
  max-width: 9%; /* 10 Column */
  -ms-flex: 0 0 9%;
  flex: 0 0 9%;
}

@media (max-width: 769px) {
  .user-logo-item {
    max-width: 20%; /* 5 Column */
    -ms-flex: 20%;
    flex: 20%;
  }
}

/* Tools logos */
.tool-logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.tool-logo-item {
  max-width: 16.6%; /* 6 Column */
  -ms-flex: 0 0 16.6%;
  flex: 0 0 16.6%;
  padding: 5px;
}

@media (max-width: 769px) {
  .tool-logo-item {
    max-width: 33%; /* 3 Column */
    -ms-flex: 33%;
    flex: 33%;
    padding: 5px;
  }
}

.sponsorsline img {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: auto;
}

#topBtn {
  display: none;
  position: fixed; 
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #f57c00;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 3px;
}

#topBtn:hover {
  background-color: #f8b600;
