/* CSS Document */

 
    /*** Global Styles ***/

    :root {
        --askx-purple: #340A6B;
        --askx-font-primary: 'Roboto', sans-serif;
        --askx-font-secondary: 'Tiro Bangla', serif;
    }
    
    #horo-comp {
            font-family:var(--askx-font-primary);
        }

    #horo-comp h1 {
        font-family:var(--askx-font-secondary);
        color: var(--askx-purple);
        line-height: 2.5rem;
    }
    
    #horo-comp p {
        max-width: 800px;
        margin: auto;
        text-align: left;
    }

    #horo-comp strong {
        color: var(--askx-purple);
    }
    
    #horo-comp a,
#horo-comp a:hover {
        color: #6308D5;
        text-decoration: underline;
    }
    
    #horo-comp .heroImage {
        width: 900px;
    }
    
    #horo-comp .horoscope-wrapper{
        max-width:1000px;
        background-color: #fff;
        border-radius: 30px;
    }

   #horo-comp  .custom-image {
        width: 850px;
        margin: auto;
    }

    #horo-comp .custom-image-2 {
        width: 650px;
        margin: auto;
    }
    
    #horo-comp .custom-image-blurb {
        width: 450px;
        margin: auto;
    }

    #horo-comp .famous-table {
        position: relative;
        border-radius: 18px;
        overflow: visible;
        max-width: 950px;
        margin: 0 auto 0;
        padding-top: 60px;
        /*background-image: url(images/aries-famous-bg.png);*/
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-bottom: 17px;
        font-size: 15px;
        padding-left: 4px;
        padding-right: 10px;

    }

    #horo-comp .zodiac-icon{
        position:absolute;
        top:5px;
        left:50%;
        transform:translateX(-50%);
        z-index:10;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    #horo-comp .zodiac-icon img{
        width:265px;
        height:auto;
        display:block;
    }

    #horo-comp .famous-table td{
        padding: 0 20px;
        vertical-align:middle;
        border-color:#E8D8BC;
        background-color: transparent;
    }

    .famous-table .star{
        width:80px;
        text-align:center;
        color:#C89845;
        font-size:26px;
    }

    #horo-comp .famous-table .name{
        font-weight:700;
        color:#641A12;
        line-height: 1rem;
    }

    #horo-comp .famous-table .birthday{
        text-align:center;
        line-height: 1rem;
    }

    #horo-comp .famous-table .occupation{
        text-align:left;
    }

   #horo-comp  .famous-table h1 {
        font-family: var(--askx-font-secondary);
    }
    /* Mobile */
    @media (max-width:768px){

        #horo-comp h1 {
            line-height: 1.8rem;
        }
        
        #horo-comp .custom-image {
            width: 400px;
            margin: auto;
            border-radius: 30px;
        }
        

        #horo-comp .custom-image-2 {
            width: 270px;
            margin: auto;
        }

    #horo-comp .famous-table .name {
        text-align: center;
    }

        #horo-comp .famous-table .star {
            display: none;
        }

        #horo-comp .famous-table td {
            padding: 5px;
        }

       #horo-comp  .zodiac-icon img {
            width: 220px;
        }

       #horo-comp  .zodiac-icon {
            top: 15px;
        }
        

    }

    
    #horo-comp .planet-right {
        float: right;
        width: 180px;
        margin: 0 0 20px 30px;
    }

    #horo-comp .img-right {
        float: right;
        width: 250px;
        margin: 0 0 20px 30px;
    }

    @media (max-width: 991px) {
       #horo-comp  .planet-right {
            float: none;
            display: block;
            margin: auto;
        }
        
       #horo-comp  .img-right {
            float: none;
            display: block;
            margin: auto;
        }
        
    }
    
   #horo-comp  .quick-facts-wrapper {
        max-width: 1100px;
        margin: auto;
        background: #fff;
        border-radius: 30px;
    }

    #horo-comp .quick-facts-main-image {
        width: 100%;
        max-width: 380px;
        height: auto;
        display: block;
        margin: auto;
    }

    #horo-comp .fact-card {
        height: 100%;
        background: #fff;
        border: 1px solid #d7d7d7;
        border-radius: 18px;
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.75);
    }

    #horo-comp .fact-icon {
        width: 64px;
        height: 64px;
        object-fit: contain;
    }

    #horo-comp .fact-content {
        min-width: 0;
    }

    #horo-comp .fact-title {
        color: #8a100f;
        font-family: var(--askx-font-secondary);
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 0;
    }

    #horo-comp .fact-text {
        margin: 0;
        color: #111;
        /*font-size: 1.15rem;*/
        line-height: 1.4;
    }
    
    #horo-comp .bg-aries {
        background-image: url("https://asknow.b-cdn.net/horo-guide/aries-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-taurus {
        background-image: url("https://asknow.b-cdn.net/horo-guide/taurus-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-cancer {
        background-image: url("https://asknow.b-cdn.net/horo-guide/cancer-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-gemini {
        background-image: url("https://asknow.b-cdn.net/horo-guide/gemini-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-leo {
        background-image: url("https://asknow.b-cdn.net/horo-guide/leo-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-virgo {
        background-image: url("https://asknow.b-cdn.net/horo-guide/virgo-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-libra {
        background-image: url("https://asknow.b-cdn.net/horo-guide/libra-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-scorpio {
        background-image: url("https://asknow.b-cdn.net/horo-guide/scorpio-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-sagittarius {
        background-image: url("https://asknow.b-cdn.net/horo-guide/sagittarius-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-capricorn {
        background-image: url("https://asknow.b-cdn.net/horo-guide/capricorn-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-aquarius {
        background-image: url("https://asknow.b-cdn.net/horo-guide/aquarius-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #horo-comp .bg-pisces {
        background-image: url("https://asknow.b-cdn.net/horo-guide/pisces-bg.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    @media (max-width: 991.98px) {
       #horo-comp  .quick-facts-wrapper {
            padding: 25px;
        }
        
       #horo-comp  .custom-image-logo {
            width: 250px;
            margin: auto;
            border-radius: 30px;
        }

        #horo-comp .quick-facts-main-image {
            max-width: 300px;
            margin-bottom: 25px;
        }
    }

    @media (max-width: 767.98px) {
       #horo-comp  .quick-facts-wrapper {
            padding: 18px;
            border-radius: 20px;
        }

        #horo-comp .fact-card {
            min-height: 105px;
            padding: 14px;
            gap: 14px;
        }

       #horo-comp  .fact-icon {
            width: 72px;
            height: 72px;
            flex-basis: 72px;
        }

       #horo-comp  .fact-title {
            font-size: 1.05rem;
        }

       #horo-comp  .fact-text {
            font-size: 1rem;
        }
        
       #horo-comp  .bg-aries {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-taurus {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-cancer {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-gemini {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-leo {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-virgo {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-libra {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-scorpio {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-sagittarius {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-capricorn {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
       #horo-comp  .bg-pisces {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
        
    }

    @media (max-width: 400px) {
       #horo-comp  .fact-icon {
            width: 60px;
            height: 60px;
            flex-basis: 60px;
        }

        #horo-comp .fact-card {
            gap: 10px;
        }

       #horo-comp  .fact-title {
            font-size: 0.95rem;
        }

       #horo-comp  .fact-text {
            font-size: 0.95rem;
        }
        
    }

    #horo-comp .bottomBox {
        background-color: #fff2e1;
        border-radius: 0;
        max-width: 900px;
    }

    


/* CLS and responsive stability */
#horo-comp {
    font-family: var(--askx-font-primary);
    overflow-x: clip;
}

#horo-comp img {
    max-width: 100%;
}

#horo-comp .heroImage,
#horo-comp .custom-image,
#horo-comp .custom-image-2,
#horo-comp .custom-image-blurb,
#horo-comp .quick-facts-main-image,
#horo-comp .planet-right {
    height: auto;
}

#horo-comp .quick-facts-main-image {
    margin: 0 auto;
}

#horo-comp h1 {
    line-height: 1.2;
}

#horo-comp .zodiac-icon {
    width: 265px;
    height: 70px;
}

#horo-comp .zodiac-icon img {
    width: 265px;
    height: 70px;
    object-fit: contain;
}

@media (max-width: 768px) {
    #horo-comp .zodiac-icon {
        width: 220px;
        height: 58px;
    }

    #horo-comp .zodiac-icon img {
        width: 220px;
        height: 58px;
    }
}
