/* Base Styles */

.header {
    font-size  : 68px;
    font-style : normal;
    line-height: 80px;
}

.col {
    flex-grow      : 1;
    justify-content: space-between;
}

.articles .col {
    justify-content: inherit;
}

.articles .col .article-description {
    margin-bottom: auto !important;
}

.articles .col .gap {
    margin-bottom: 12px;
}

.articles .col .article-title {
    margin-bottom: 18px;
}

.bg-warning {
    background: var(--Brand-Primary, #FCD447) !important;
}

.col-12 .col {
    flex-grow: 1;
}

.fs-14 {
    font-size: 16px;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

/* Size Utilities */
.w-45px {
    width: 45px !important;
}

.h-45px {
    height: 40px !important;
}

.h-md-250 {
    height    : auto !important;
    min-height: 250px;
}

/* Categories Styles */
.categories-style-03 .categories-box {
    position          : relative;
    -webkit-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition        : all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
}

.categories-style-03 .categories-box .category-title {
    position: absolute;
    left    : 0;
    bottom  : 0;
    width   : 100%;
    height  : auto;
    gap: 20px;
}

.text-small{
    display: none;
}
.text-desktop{
    display: block;
}

.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    color: #333;
    font-size: 16px;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #27239a;
    border-radius: 50%;
    margin-right: 10px;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {transform: rotate(360deg);}
}

.text-borders {
    padding      : 10px;
    margin-top   : 48px;
    margin-bottom: 48px;
}

.category-title {
    padding         : 16px;
    background-color: rgba(0, 0, 0, 0.406);
    backdrop-filter : blur(3px);
    text-transform  : uppercase;
}

.categories-style-03 .categories-box:hover {
    -webkit-transform: scale(1.05);
    transform        : scale(1.05);
}

.categories-style-03 .categories-box:hover .category-image {
    -webkit-transform: scale(1.1);
    transform        : scale(1.1);
}

/* Box Layout */
.box-layout {
    padding: 0 0;
}

.box-layout .articles {
    width     : 100%;
    gap       : 48px;
    margin-top: 0;
}

.article-row {
    margin-top: 0;
    display: flex;
    gap: 24px;
}

/* Category Background Images */
.category-image {
    width              : 300px;
    height             : 400px;
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;
    background-size: cover;
    position           : relative;
}

.category::before {
    content         : '';
    position        : absolute;
    top             : 0;
    left            : 0;
    width           : 100%;
    height          : 100%;
    background-color: rgba(36, 46, 45, 0.5);
    pointer-events  : none;
}

.page-photo {
    width              : 359px;
    height             : 400px;
    background-image   : url('../img/blog/e495a7655901fca2b6398a5264e9cb3c.png');
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;
    transform          : translate(0%, -30%);
}

/* Image Placeholders */
.bd-placeholder-img {
    width  : 100% !important;
    height : auto !important;
    display: block;
}

.font {
    font-size: 14px;
}

.article-row .row {
    gap   : 24px;
}

.gap {
    gap: 12px !important;
}

/* p {
    margin   : 0 !important;
    font-size: 18px;
} */

.article-image a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.article-image {
    position: relative;
    border-radius      : 12px;
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;
    width: 360px;
    min-height: 200px;
    max-width: 40%;
}

.col.d-flex.flex-column p {
    color        : #61666C;
    margin-bottom: 20px;
}


.rounded-circle {
    border-radius: 99px !important;
}

.article-description  {
    display           : -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow          : hidden;
    text-overflow     : ellipsis;
    min-height        : 42px;
    line-height       : 1.33;
}

.article-title {
    display           : -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow          : hidden;
    text-overflow     : ellipsis;
    line-height       : 1.28;
    margin-bottom: 0;
    font-weight: 700;
}

@media (min-width: 721px) and (max-width: 1200px) {
    .page-photo {
        width              : 290px;
        height             : 170px;
        background-image   : url('../img/blog/e495a7655901fca2b6398a5264e9cb3c.png');
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
        transform          : translate(0%, -5%);
        margin-right       : 5px;
    }

    .col {
        flex-grow: 0;
    }

    .articles-row {
        padding: 0 15px;
    }

    .articles-row .article-card {
        margin-bottom: 15px;
    }

    .articles-row .article-title {
        font-size: 0.95rem;
    }

    .nutritie,
    .fitness,
    .retete-fitness,
    .stil-viata {
        width : 220px;
        height: 320px;
    }
}

@media (min-width: 992px) {
    .row.flex-column {
        display       : flex;
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .col {
        flex-grow: 0;
        padding  : 0;
    }
}

@media (min-width: 1024px) and (max-width: 1192px) {
    .custom-two-cols>* {
        flex     : 0 0 35%;
        max-width: 50%;
    }
}

@media (min-width: 1200px) and (max-width: 1450px) {
    .w-45px,
    .h-45px {
        width : 40px !important;
        height: 35px !important;
    }

    .rounded-cards {
        height  : 200px;
        overflow: hidden;
    }
}

/* Mobile specific styles */
@media (max-width: 720px) {
    .row-cols-2>* {
        flex: 1 0 0%;
    }

    .stretched-link{
        display: block;
    }

    .col {
        flex-grow: 0;
    }

    .text-borders {
        padding-top   : 12px;
        padding-bottom: 12px;
        margin-top    : 32px;
        margin-bottom : 32px;
    }

    .page-photo {
        width              : 290px;
        height             : 160px;
        background-image   : url('../img/blog/e495a7655901fca2b6398a5264e9cb3c.png');
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
        transform          : translate(0%, -5%);
        margin-right       : 5px;
    }

    .header {
        font-size    : 24px;
        font-style   : normal;
        line-height  : 32px;
        margin-bottom: 0;
        text-align: start;
        padding: 12px;
        width: 350px;
    }

    .text-borders .header{
        text-align: center;
    }

    .box-layout {
        padding: 0 0;
    }

    .nutritie {
        width              : 167px;
        height             : 160px;
        background-image   : url('../img/blog/dccd3d7ad03aaa10533e9ec313344597.png');
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
    }

    .fitness {
        width              : 167px;
        height             : 200px;
        background-image   : url('../img/blog/544fff0f6c241d432a8417295f1d0138.png');
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
    }

    .retete-fitness {
        width              : 167px;
        height             : 200px;
        background-image   : url('../img/blog//5991773c3478f98146267f2d0009f3df.png');
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
    }

    .stil-viata {
        width              : 167px;
        height             : 200px;
        background-image   : url('../img/blog/ecd35ef90d70ceaaadada9e7be50af13.png');
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
    }

    .w-45px,
    .h-45px {
        width : 43px !important;
        height: 32px !important;
    }

    .margin {
        margin: 0px !important;
    }

    .rounded-cards {
        border-radius: 5% !important;
    }

    .row .text-center h4 {
        font-size: 5px;
    }

    .rounded-cards {
        height: auto;
    }

    .rounded-cards .bd-placeholder-img {
        width     : 100%;
        object-fit: cover;
    }

    .card-text {
        display: none;
    }

    .col {
        flex-grow: 0 !important;
        overflow : visible;
        width    : 100%;
        display  : flex;
        padding  : 0;
    }

    section .container-fluid {
        padding: 0;
    }

    .title-category {
        font-size: 12px;
    }

    .col p {
        display: none;
    }

    .rounded-cards {
        overflow: hidden;
    }

    .margin-top {
        margin-top: 10px;
    }

    .col.d-flex.flex-column h3 {
        font-size  : 16px;
        font-weight: 700;
    }

    strong {
        color: #61666C;
    }

    .fs-15 {
        font-size: 1rem;
    }

    .fs-14 {
        font-size: 16px;
    }

    .article-row .row {
        display       : flex;
        align-items   : flex-start;
        gap           : 18px;
    }

    .article-image {
        position: relative;
        height             : 180px;
        flex               : none;
        margin             : 0;
        border-radius      : 12px;
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
    }

    .article-image a{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

    .col.d-flex.flex-column p {
        margin-bottom: 5px;
    }

    .col-12.article-row {
        padding: 0;
        margin : 0;
    }

    .text-small{
        display: block;
    }
    .text-desktop{
        display: none;
    }
}

@media (min-width:1024px) and (max-width: 1439px) {
    .header {
        font-size: 68px;
    }
}

@media (min-width: 720px) and (max-width: 1023px){
    .justify-content-center{
        gap: 5px;
    }
}


@media (min-width: 600px) and (max-width: 1023px) {
    .header {
        font-size: 42px;
        line-height: 48px;
    }
    
    .article-row .row {
        gap: 16px;
        height: auto;
        flex-wrap: wrap;
    }
    
    .col.d-flex.flex-column {
        flex: 1;
        max-height: none;
    }
    
    .category-image {
        width: 190px;
        height: 260px;
    }
    
    .font {
        font-size: 13px;
    }
    
    .w-45px {
        width: 40px !important;
    }
    
    .h-45px {
        height: 35px !important;
    }
    
    .article-title {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .article-description {
        font-size: 15px;
        line-height: 1.3;
        min-height: 36px;
    }
    
    p {
        font-size: 15px;
    }
    
    .justify-content-center {
        gap: 10px;
    }
    
    .box-layout .articles {
        gap: 24px;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .category-image {
        width: 170px;
        height: 220px;
    }
    
    .article-title {
        font-size: 16px;
    }
    
    .article-description {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .article-row .row {
        display: flex;
        flex-direction: row;
        height: auto;
        min-height: 180px;
    }
    
    .article-image {
        flex: 0 0 300px;
        height: 180px;
    }

    .text-small {
        display: none;
    }
    
    .text-desktop {
        display: block;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .categories-style-03 .categories-box:hover {
        -webkit-transform: scale(1.02);
        transform: scale(1.02);
    }
}


@media screen and (max-width: 768px) {
    .article-row {
      flex-direction: column;
      gap: 18px;
    }
  
    .article-image {
      max-width: 100%;
      width: 100%;
    }

    .title-category {
        font-size: 12px;
        margin-bottom: 12px;
        display: block;
    }

    .article-description {
        display: none;
    }

    .article-title {
        margin-bottom: 12px;
    }
}