/**
 * Document: YMAL SCSS
 * DESC:
 */
.sgr-ymal.this-is-the-top-of-the-page {
    padding-top: 60px !important;
}
.sgr-ymal h5 {
    font-size: 1.2rem;
}
.sgr-ymal .card-body {
    min-height: 90px;
    font-weight: bold;

    padding: 1.25rem 0rem;
}
@media (max-width: 414px) {
    .sgr-ymal .tile-inner {
        padding: 10px !important;
    }
    .sgr-ymal .tile-inner a {
        font-size: 15px !important;
        line-height: 18px !important;
    }
}
.sgr-ymal .tile-inner:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.sgr-ymal .zoom {
    transition: transform 0.4s;
    /* Animation */
    z-index: 0;
}
.sgr-ymal .zoom:hover {
    transform: scale(1.15);
    z-index: 111;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
    border: 3px solid #e0e0ef;
}
@media (min-width: 576px) {
    .sgr-ymal .zoom:hover {
        transform: scale(1.075);
    }
}
.sgr-ymal .ymal-title-container {
    transition: width 0.5s ease;
    width: 100%;
}
.sgr-ymal .ymal-excerpt {
    font-weight: normal;
    line-height: 20px;
    font-size: smaller;
    height: 93px;
    padding-right: 25px;
}
.sgr-ymal .ymal-button {
    height: 50px;
}
.sgr-ymal .ymal-button i {
    -webkit-animation: bounce-left 0.8s both;
    animation: bounce-left 0.8s both;
}
.sgr-ymal figure.blkymal {
    padding-right: 0px !important;
    padding-left: 0px !important;
    position: relative;
    margin: 0 !important;
    max-width: 490px !important;
    border: 3px solid #d13902;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    background: #101010;
}
.sgr-ymal .blkymal a {
    text-decoration: none;
}
.sgr-ymal .blkymal a:hover {
    text-decoration: none;
}
.sgr-ymal .blkymal figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 7px 25px;
    z-index: 1;
    cursor: pointer;
    background: #101010;
}
@media (max-width: 993px) {
    .sgr-ymal .blkymal figcaption {

    }
}
@media (max-width: 768px) {
    .sgr-ymal .blkymal figcaption {

    }
}
@media (max-width: 375px) {
    .sgr-ymal .blkymal figcaption {

    }
}
.sgr-ymal .blkymal figcaption h3 {
    font-size: 20px;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 22px;
    margin: 7px !important;
    padding: 0 !important;
}
@media (max-width: 993px) {
    .sgr-ymal .blkymal figcaption h3 {
        font-size: 20px !important;
        line-height: 22px !important;
    }
}
@media (max-width: 768px) {
    .sgr-ymal .blkymal figcaption h3 {
        font-size: 20px !important;
        line-height: 22px !important;
    }
}

.hover-effect-rightymal_Youmightalsolike:hover .fal.fa-angle-right {
    color: yellow !important;
}

body.high-contrast figure.blkymal:after {
    background: linear-gradient(to bottom, #42414200 0%, #424142 100%);
}

.ymal-text h1 {
    padding: 0px 25px;
}
.ymal-text h2 {
    padding: 0px 25px;
}
.ymal-text h3 {
    padding: 0px 25px;
}
.ymal-text p {
    padding: 0px 25px;
}

/* YMAL Hover/Tap Reveal Styles */
.ymal-hover-card {
    overflow: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.ymal-hover-card .ymal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease-in-out;
    z-index: 10;
}
.ymal-hover-card .ymal-excerpt {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
    margin-top: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
/* Show excerpt on hover for desktop */
@media (hover: hover) and (pointer: fine) {
    .ymal-hover-card:hover .ymal-excerpt {
        opacity: 1;
        max-height: 200px;
        margin-top: 5px;
    }
}
/* Show excerpt on tap/focus for mobile and touch devices */
@media (hover: none) and (pointer: coarse) {
    .ymal-hover-card.active .ymal-excerpt {
        opacity: 1;
        max-height: 200px;
        margin-top: 5px;
    }
}
/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .ymal-hover-card .ymal-excerpt {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: opacity, max-height;
    }
}
/* iPad specific - treat as desktop if it supports hover */
@media (hover: hover) and (pointer: fine) and (max-width: 1024px) {
    .ymal-hover-card:hover .ymal-excerpt {
        opacity: 1;
        max-height: 200px;
        margin-top: 5px;
    }
}
/* iPhone and iOS specific touch handling */
@media (max-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
    .ymal-hover-card.active .ymal-excerpt {
        opacity: 1;
        max-height: 200px;
        margin-top: 5px;
    }
}
/* Focus states for accessibility */
.ymal-hover-card:focus-within .ymal-excerpt {
    opacity: 1;
    max-height: 200px;
    margin-top: 5px;
}


.sgr-ymal.v1 {
    /* make the track a flex row and force slide wrappers to stretch */
}
.sgr-ymal.v1 .slick-list,
.sgr-ymal.v1 .slick-track {
    height: 100%;
}
.sgr-ymal.v1 {
    /* turn the track into a real flex container so children can stretch */
}
.sgr-ymal.v1 .slick-track {
    display: flex !important;
    align-items: stretch !important;
}
.sgr-ymal.v1 {
    /* slick adds an extra wrapper inside .slick-slide — make both wrappers flexible */
}
.sgr-ymal.v1 .slick-slide,
.sgr-ymal.v1 .slick-slide > div {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important; /* allow natural height, but children will stretch */
    min-height: 0; /* prevents flex overflow issues */
}
.sgr-ymal.v1 {
    /* your content card container — make it a column flex and fill available height */
}
.sgr-ymal.v1 .sg-content-postblock {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    min-height: 0;
}
.sgr-ymal.v1 {
    /* make the clickable card fill the column so card-body can stretch */
}
.sgr-ymal.v1 .sg-content-postblock .card {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.sgr-ymal.v1 {
    /* ensure the image block doesn't force the whole card to shrink - keep it natural */
}
.sgr-ymal.v1 .sg-content-postblock .background-image {
    flex: 0 0 auto; /* image keeps its aspect but doesn't stop card-body from stretching */
}
.sgr-ymal.v1 {
    /* card body grows to fill remainder and allows text block to space itself */
}
.sgr-ymal.v1 .sg-content-postblock .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    min-height: 0;
}
.sgr-ymal.v1 {
    /* if you use a line-clamp: make sure it doesn't overflow the flex container */
}
.sgr-ymal.v1 .sg-content-postblock .sg-line-clamp {
    overflow: hidden;
}
.sgr-ymal.v1 {
    /* Fix the anonymous slick inner wrapper */
}
.sgr-ymal.v1 .slick-slide > div {
    display: flex !important; /* allows child (your .col-12) to stretch */
    flex: 1 1 auto;
    height: 100%;
    width: 100%;
}
.sgr-ymal.v1 {
    /* Make your main card stretch within */
}
.sgr-ymal.v1 .slick-slide .col-12.on-slider {
    height: 100%;
    width: 100%;
}
.sgr-ymal.v1 {
    /* Make sure figure and its image layers stretch properly */
}
.sgr-ymal.v1 .slick-slide figure.blkymal {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sgr-ymal.v1 {
    /* Optional: make background anchors fill the figure */
}
.sgr-ymal.v1 .slick-slide a.background-image {
    height: 100%;
    display: block;
    position: relative;
}
.sgr-ymal.v1 .ymal-slider-fade-desktop .sg-content-postblock {
    min-width: 100% !important;
}
@media (max-width: 768px) {
    .sgr-ymal.v1 .ymal-slider-fade .sg-content-postblock {
        min-width: 100% !important;
    }
}