/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.ctt-podcasts {
    width: 100%;
    height: 432px;
    background-size: 100% !important;
    background-position: center center !important;
    position: relative;
    margin: 0 0 20px 0;
    transition: all 0.6s ease 0s;
}
.ctt-podcasts:hover {
  background-size: 120% !important;
  transition: all 0.6s ease 0s;
}
.ctt-podcasts.ctt-podcasts-small {
    height: 206px;
}
.ctt-podcasts h1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    display: flex;
    font-size:25px !important;
    line-height: normal !important;
}
.ctt-podcasts h1 > small {
  background: rgba(255, 255, 255, 0.8);
padding: 10px 20px;
font-size: 19px;
display: flex;
align-items: center;
position: relative;
padding-right: 0;
}
.ctt-podcasts h1 > small date {
    width: 50px;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}
.ctt-podcasts h1 span {
    background:rgba(250, 220, 36, 0.9);
    padding: 10px 20px;
    width: 100%;
    line-height: normal;
    margin: 0 0 0 80px;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    flex-flow: wrap;
    padding-left: 0;
}
.ctt-podcasts h1 span small {
    display: block;
    font-size: 16px;
    width: 100%;
}
.ctt-podcasts h1 > small:after {
    content: "";
    border: 40px solid transparent;
    border-top-color:rgba(255,255,255,.8);
    border-left-color:rgba(255,255,255,.8);
    display: inline-block;
    position: absolute;
    right: -80px;
    top: 0;
}
.ctt-podcasts h1 span:before {
    content: "";
    border: 40px solid transparent;
    border-bottom-color:rgba(250, 220, 36, 0.9);
    border-right-color:rgba(250, 220, 36, 0.9);
    display: inline-block;
    position: absolute;
    left: -80px;
    top: 0;
}
.ctt-podcasts.ctt-podcasts-small h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    background:rgba(250, 220, 36, 0.9);
    padding: 10px 15px;
    font-size: 18px !important;
    line-height: normal !important;
}


.ctt-podcasts.ctt-most-popular h1 span, .ctt-podcasts.ctt-podcasts-small.ctt-most-popular h2 {
    background:rgba(69, 118, 183, 0.9);
    color: #ffffff !important;
}
.ctt-podcasts.ctt-most-popular h1 span:before {
    border-bottom-color:rgba(69, 118, 183, 0.9);
    border-right-color:rgba(69, 118, 183, 0.9);
}
.ctt-podcasts h1 span a, .ctt-podcasts.ctt-podcasts-small h2 a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    max-height: 100px;
    color: #022345 !important;
}
.ctt-podcasts .link-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.ctt-article-wrapper .row:nth-child(even) {
    display: flex;
    flex-flow: wrap;
    flex-direction: row-reverse;
}
.ctt-article-wrapper .row:nth-child(even) .ctt-podcasts.ctt-most-popular h1 span, .ctt-article-wrapper .row:nth-child(even) .ctt-podcasts.ctt-podcasts-small.ctt-most-popular h2 {
    background:rgba(68, 98, 123, 0.9);
    color: #ffffff !important;
}
.ctt-article-wrapper .row:nth-child(even) .ctt-podcasts.ctt-most-popular h1 span:before {
    border-bottom-color:rgba(68, 98, 123, 0.9);
    border-right-color:rgba(68, 98, 123, 0.9);
}
.ctt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin:40px 0;
}
.ctt-pagination .page-numbers {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
}
.ctt-pagination .page-numbers:hover {
  color: #ff8800;
}
.ctt-pagination .next, .ctt-pagination .prev {
    border: 1px solid #e4e4e4;
    border-radius: 50px;
    color: #aba8a8;
    margin: 0 30px;
}
.ctt-pagination .next:hover, .ctt-pagination .prev:hover {
  background: #ff8800;
  color: #ffffff;
  border-color: #ff8800;
}
.ctt-article-wrapper .ctt-podcasts, .recent-podcasts-wrapper .ctt-podcasts{
    background-size: cover !important;
}
.ctt-pagination .page-numbers.current {
    color: #3275c3;
}
.recent-podcasts-wrapper {
    background: #f1f1f1;
    padding: 50px 20px 40px 20px;
    margin: 20px 0 0 0;
}
.ctt-article-wrapper > .row {
    max-width: 1170px;
    margin: 0 auto;
}
.recent-podcasts-wrapper .row {
    max-width: 1170px;
    margin: 0 auto;
}
.recent-podcasts-wrapper h2 {
    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.26;
    letter-spacing: 0px;
    font-style: normal;
}
@media all and (max-width:991px){
.ctt-podcasts.ctt-podcasts-small {
  height: 280px;
}
}
@media all and (max-width:800px){
.ctt-podcasts {
    height:auto !important;
    padding: 35%;
}
.ctt-podcasts {
    background-size:cover !important;
}
.ctt-podcasts:hover {
  background-size:cover !important;
}
.recent-podcasts-wrapper .row .col-xs-12 {
    float: left;
}
}

@media all and (max-width:700px){
.ctt-podcasts h1 {
  flex-flow: wrap;
}
.ctt-podcasts h1 > small {
    padding: 5px 20px;
    font-size: 16px;
    width: auto;
}
.ctt-podcasts h1 > small:after {
    border-width: 24px;
    right: -48px;
}
.ctt-podcasts h1 span {
  margin: 0;
  padding-left: 20px;
}
.ctt-podcasts h1 span {
    padding: 5px 20px;
}
.ctt-podcasts h1 {
  font-size: 20px !important;
}
.ctt-podcasts h1 span:before {
  display: none;
}
.ctt-podcasts h1 > small, .ctt-podcasts h1 span small {
  display: none;
}
.ctt-podcasts h1 span {
    padding: 10px 20px;
    font-size: 18px !important;
    min-height: inherit;
}
}

.row.ctt-recent-posts {
    /*display: flex;*/
    flex-flow: wrap;
    flex-direction: row-reverse;
}
.ctt-podcasts.ctt-most-popular h1 span a, .ctt-podcasts.ctt-podcasts-small.ctt-most-popular h2 a {
  color: #ffffff !important;
}
.custom-search form.searchform.fusion-search-form {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}
.custom-search form.searchform.fusion-search-form .searchsubmit {
    background: #fdcf00;
    color: #26351a;
}
body.home .row.ctt-recent-podcasts {
    display: flex;
    flex-flow: row;
    flex-direction: row-reverse;
}

/* Footer menu tidy (2026-11-04): main menu now has sub-items; show them flush-left at the same spacing as top-level links */
.fusion-footer-widget-area .widget_nav_menu .sub-menu { margin: 0 !important; }
.fusion-footer-widget-area .widget_nav_menu .sub-menu li { padding: 0 0 3px !important; }
.fusion-footer-widget-area .widget_nav_menu .sub-menu li a { padding: 0 !important; }

/* Tile title clamp (2026-11-04): keep tile titles to one line with an ellipsis so a second line never shows through the bar padding */
.ctt-podcasts h1 span a, .ctt-podcasts.ctt-podcasts-small h2 a { display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
