body {
    /*padding-top: 20px;*/
    font-family: 'Cabin', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /*font-family: 'Playball', cursive;*/
    color: darkred;
}


.divLast 
{
   /*top: 0px;*/
   /*margin:0px;*/
  /* padding: 0px 2px 2px 3px;*/    
   border-width: 2px;
   border-bottom: 1px black solid;
   /*width: 100%;*/
}


/* NAV-BAR */

.navbar {
    background-color: #8B0000;
}

#custom-nav {
    -webkit-box-shadow: 0px 0px 4px darkgray;
    -moz-box-shadow: 0px 0px 4px darkgray;
    box-shadow: 0 0 4px darkgray;
    z-index: 999;
}

#custom-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

#custom-nav .nav-link:hover,
#custom-nav .nav-link.active {
    color: #fff;
}

#custom-nav .nav-link i {
    margin-right: 0.3rem;
}

/* Mobile bottom nav (app-style) */
#mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #8B0000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    padding-bottom: max(calc(0.5rem + env(safe-area-inset-bottom, 0px)), 20px);
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    min-width: 60px;
    transition: color 0.2s;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #fff;
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

/* Add bottom padding to body on mobile for fixed bottom nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
}

/* Full-bleed magazine containers on mobile */
@media (max-width: 767.98px) {
    .home-magazine,
    .article-magazine,
    .quiz-magazine,
    .game-magazine,
    .about-magazine,
    .product-magazine,
    .cheese-magazine {
        border-left: none;
        border-radius: 0;
        border-right: none;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        overflow-x: clip;
        padding-left: 0;
        padding-right: 0;
    }
}

 a {
       text-decoration: none;
}

/* CARD */

.even_cards .card {
    min-height: 320px;
}

.cheese_cards .card {
    min-height: 340px;
}

.tools_cards .card {
    min-height: 360px;
}

.card {
    margin-bottom: 10px;
    margin-left:  -10px;
    margin-right: -10px;
    background-color: rgba(255, 255, 255, 1);

    -webkit-box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.3);
}




@include media-breakpoint-up(sm) {
    html {
        font-size: 16px;
    }
}

@include media-breakpoint-up(md) {
    html {
        font-size: 20px;
    }
}

@include media-breakpoint-up(lg) {
    html {
        font-size: 28px;
    }
}

.pagination {
    margin-bottom: 30px;
}

/* Multi-line truncation utility */
.truncate-3-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* non-standard, added for linters/compat */
    overflow: hidden;
}