/*
Theme Name:     Foxiz child
Template:      	foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Foxiz in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */
.caricatureSwiper {
    max-width: 900px;
    margin: auto;
}

.caricatureSwiper .image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.caricatureSwiper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* keeps full caricature visible */
    background: #000; /* optional: matches your dark theme */
}

.caricatureSwiper .image-wrapper:hover img {
    transform: scale(1.05);
}

/* Overlay */
.caricatureSwiper .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

/* Title */
.caricatureSwiper .title {
    color: #fff;
    font-size: 20px;
    margin: 0;
    text-align: right; /* RTL */
    line-height: 1.4;
}

/* Date */
.caricatureSwiper .date {
    color: #ccc;
    font-size: 13px;
    display: block;
    margin-top: 5px;
    text-align: right;
}

/* Arrows fix for RTL */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}
.caricatureSwiper .swiper-slide {
    height: 450px; /* adjust: 350–500 depending on your taste */
    display: flex;
    align-items: center;
    justify-content: center;
}
.foxiz-followed-authors-wrap {
    margin-top: 20px;
}

.gwlv-live-posts {
    margin-top: 15px;
}

.gwlv-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.gwlv-text {
    flex: 1;
}

.gwlv-text a {
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.gwlv-cat {
    display: inline-block;
    color: #0173C1;
    font-weight: bold;
    margin-bottom: 6px;
    border-right: 3px solid #FDB712;
    padding-right: 6px;
}

.gwlv-thumb img {
    width: 120px;
    height: 80px;
    object-fit: cover;
}

.gwlv-count {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.sx-footer{
    display: none!important;
}

/* hide all author elements */
.hide-author .entry-author,
.hide-author .meta-author,
.hide-author .author,
.hide-author .byline,
.hide-author .post-author {
    display: none !important;
}

.poll-home  {
    font-family: Cairo ,Arial, Helvetica, sans-serif;
}
.ays_poll_answers.ays_poll_question p {
    font-family: "Cairo", "Tajawal", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #000 !important;
}
/* Sudanile Poll Font Override */
.box-apm .ays_question p {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600;
    line-height: 1.8;
}

/* Answers */
.container.poll-home label,
.container.poll-home .ays_label_poll {
    font-family: 'Cairo', sans-serif !important;
}

/* Buttons */
.container.poll-home .ays-poll-btn {
    font-family: 'Cairo', sans-serif !important;
}
#ays-poll-id-69efa3db60ef2,
#ays-poll-id-69efa3db60ef2 * {
    font-family: 'Cairo', sans-serif !important;
}
.box-apm .ays_question p,
.box-apm .answer-text,
.box-apm .answer-votes,
.box-apm .ays-poll-btn,
.box-apm label {
    font-family: 'Cairo', sans-serif !important;
}


/* FORCE list layout */
.foxiz-custom-grid.layout-list .p-wrap {
    display: flex !important;
    align-items: center;
    gap: 15px;
}

/* Image size */
.foxiz-custom-grid.layout-list .feat-holder {
    flex: 0 0 120px;
    max-width: 120px;
}

/* Content grows */
.foxiz-custom-grid.layout-list .entry-content {
    flex: 1;
}

/* Right position */
.foxiz-custom-grid.layout-right .p-wrap {
    flex-direction: row-reverse;
}

[id^='ays-poll-container-'] .fa,
[id^='ays-poll-container-'] .fas,
[id^='ays-poll-container-'] .far,
[id^='ays-poll-container-'] .fab {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

#header-mobile .mobile-slogan {
    text-align: center;
    padding: 6px 10px;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

#header-mobile .slogan-main {
    font-size: 9px;
    color: #f59e0b;
    font-weight: 700;
    line-height: 1.3;
}

#header-mobile .slogan-sub {
    font-size: 7px;
    color: #777;
    margin-top: 2px;
}

a.loadmore-authors {
    background-color: #0074c1;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
}

@media (max-width: 767px) {
    .mbnav-center .navbar-center {
        width: 45%;
    }
}