/* -----------------------------------------------------------
   TurboMind design tokens
----------------------------------------------------------- */
:root{
  --tm-black:#000;            /* logo background */
  --tm-yellow:#E4A307;        /* brand yellow    */
  --tm-ice:#FFF9C6;           /* pale accent     */
  --tm-red:#E62728;           /* highlight red   */
  --tm-offwhite:#FFFFFF;      /* body background */
  --border-theme-color:#E4A307;
  /* --tm-bg-body:url("assets/img/bg-body.jpg"); */
  font-family:sans-serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

.fs-7{
  font-size: 0.875rem !important;
}
.fs-8{
  font-size: 0.75rem !important;
}
/* -----------------------------------------------------------
   Buttons
----------------------------------------------------------- */
.btn-custom{
  border:1px solid var(--tm-yellow);
  padding:5px 12px;border-radius:4px;
  color:#8d6911;text-decoration:none;
}
.btn-custom:hover{background:#8d6911;color:#fff}

.btn-outline-warning{
  --bs-btn-color:var(--tm-yellow);
  --bs-btn-border-color:var(--tm-yellow);
}
.btn-outline-warning:hover{
  background:var(--tm-yellow);color:#000;
}

/* -----------------------------------------------------------
   Navbar
----------------------------------------------------------- */
.navbar{
  background:var(--tm-black);
  box-shadow:0 2px 6px rgba(0,0,0,.6);
}
.navbar .nav-link,
.navbar .btn,
.navbar .dropdown-toggle::after,
.navbar i{
  color:var(--tm-yellow)!important;
  font-weight:600;letter-spacing:.5px;
  transition:color .15s;
}
.navbar .nav-link:hover,
.navbar .btn:hover{color:var(--tm-ice)!important}

/* custom burger colour */
.navbar-toggler-icon{
  --bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23EBAC0F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* off-canvas (mobile) */
.offcanvas-start{width:260px}
.list-group-item a{color:var(--tm-black)}
.list-group-item a:hover{color:var(--tm-yellow)}

/* -----------------------------------------------------------
   Headings
----------------------------------------------------------- */
h2.category-title{
  font-family:'Bangers',cursive;
  font-size:2.2rem;color:var(--tm-black);
  /* border-bottom:3px solid var(--tm-gray); */
  padding-bottom:6px;
}

/* -----------------------------------------------------------
   Image card + lazy shimmer
----------------------------------------------------------- */
.image-card{
  border:3px solid var(--tm-gray);
  border-radius:14px;background:#fff;
  transition:transform .2s,box-shadow .2s;
  position:relative;
}
.image-card:hover{
  transform:translateY(-4px);
  box-shadow:0 6px 14px rgba(0,0,0,.25);
}
/* limit any element with .clamp-2 to two visible lines */
.clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;     /* change to 3 for three lines */
  overflow: hidden;
}

/* make the card a vertical flex box */
.card.flex-column {
  display: flex;
  flex-direction: column;
}

/* push the body to the bottom so icons line‑up */
.card-body.mt-auto {
  margin-top: auto;          /* pushes it down inside the flex column */
}


.fixed-height-img{height:250px;width:100%;object-fit:cover}
.image-actions i{
  color:#D81B21 !important;
  /* margin-right:12px;*/
  cursor:pointer;
  transition:color .15s;
}
.image-actions i:hover{color:#FABC2C !important}
.action-button-color{
  color: #84949C !important;
}

/* lazy */
.lazy-image{opacity:0;transition:opacity .35s}
.lazy-image.loaded{opacity:1}
.image-card.loading::after{
  content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;
  background:
    radial-gradient(circle 16px at center,
      rgba(0,0,0,.35) 40%,transparent 42%) 50% 50%/32px 32px no-repeat,
    rgba(255,255,255,.6);
  animation:spin 1s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* -----------------------------------------------------------
   Detail-page specific (card around main image)
----------------------------------------------------------- */
.card-style{
  background:#fff;border-radius:.5rem;
  box-shadow:0 0 10px rgba(0,0,0,.06);
  padding:1.5rem;
}
.image-meta span{
  display:flex;align-items:center;gap:4px;color:#666
}
.image-meta i{font-size:1.2rem}
.action-icons i{cursor:pointer;transition:.2s}
.action-icons i:hover{transform:scale(1.2)}

/* sidebar thumbnails */
.sidebar-thumb{
  width:100%;height:130px;
  object-fit:cover;object-position:center
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.tm-footer{
  background:var(--tm-black);color:var(--tm-ice);
  font-size:.95rem;border-top:4px solid var(--tm-yellow);
}
.tm-footer h5{
  font-family:'Bangers',cursive;
  color:var(--tm-yellow)
}
.tm-footer a{color:var(--tm-ice);transition:color .15s}
.tm-footer a:hover{color:var(--tm-yellow)}
.tm-footer .social i{font-size:1.4rem}

/* miscellaneous */
.box-shadow1{box-shadow:0 3px 8px rgba(0,0,0,.24)}
.breadcrumb{background:none;padding:0;margin-bottom:1.5rem}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fffdec !important;
    background-color: #000000 !important;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
    background: #ebac0f !important;
    border: 1px solid #9c8801 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.mt-10rem {
  margin-top: 10rem;
}


.border-theme-color {
  border: 1px solid var(--tm-gray) !important;
}

/* all category images  */

.image-fixed-height {
  max-height: 50vh;
  width: 100%;
  object-fit: contain;
  display: block;
}

.image-wrapper {
  overflow: hidden;
}

.views-badge {
  z-index: 2;
}

.card-body h5 {
  font-size: 1.2rem;
  font-weight: bold;
}

.description {
  line-height: 1.5;
}

@media (max-width: 768px) {
  .image-fixed-height {
    max-height: 40vh;
  }
}


  .image-card {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden;
  }

  .image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .image-card .card-body {
    padding: 0.5rem 0.5rem 1rem;
  }

  .image-card .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .image-actions {
    font-size: 1.25rem;
    gap: 1rem;
    padding-bottom: 0.3rem;
  }

  .image-time {
    font-size: 0.8rem;
    color: #888;
  }

 

@media (min-width: 768px) {
  .image-container {
    height: 200px; /* or whatever height you prefer */
    background-color: #f8f9fa; /* optional, for visual consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
}

