/*
Theme Name: Estampados Medellin Blog
Author: Estampados Medellin
Description: Tema minimalista Dark Mode con Bootstrap 5.3 para blog de estampados.
Version: 1.2
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');


[data-bs-theme="dark"] {
    --bs-primary: #ffc107; 
    --bs-primary-rgb: 255, 193, 7;
    
    --bs-warning: #F6E63C;
    --bs-warning-rgb: 246, 230, 60;
    
    --bs-body-bg: #101218;
    --bs-body-color: #929398;
    --bs-tertiary-bg-rgb: 16, 18, 24;
    
    --bs-link-color: #F6E63C;
    --bs-link-color-rgb: 246, 230, 60;
    --bs-link-hover-color: #ffca2c;
}

html { scroll-behavior: smooth; }

.post-content [id] { scroll-margin-top: 140px; }

body {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: #929398;
}

article.post a{
    text-decoration: none;
}

article.post a:hover{
    text-decoration: underline;
    color: #F6E63C !important;
}

article.post a span{
    color: #F6E63C !important;
    text-decoration: none !important;
}

article.post a:hover span{
    color: #F6E63C;
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

.bg-black{
	background: #000000;
}

#menu-main-menu{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

#menu-main-menu li{
    display: inline-block;
    flex-grow: 1;
    list-style-type: none;
    text-align: center;
    margin-bottom: 1px;
}

#menu-main-menu li a{
    position: relative;
    text-decoration: none;
    text-decoration:none;
    color: #929398;
    transition: all .2s ease-in-out;
    padding: 16px 12px;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
}

#menu-main-menu li a::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #FFD400; /* amarillo */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#menu-main-menu li a:hover{
    text-decoration:none;
    color: #F6E63C;
}

#menu-main-menu li a:hover::after {
    width: 100%;
}

.gray-text{
    color: #929398;
}

.gray-link{
    color: #929398;
}

.gray-link:hover{
    color: #F6E63C;
}

.bg-body-tertiary-light{
    background-color: #171921;
}

.navbar {
    border-bottom: 1px solid rgb(16, 18, 24);
}

.custom-logo-link img{
    max-height: 62px;
    width: auto; 
}

.card {
    transition: transform 0.3s ease;
}

.postcard {
  flex-wrap: wrap;
  display: flex;
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #ffffff;
}
.postcard.dark {
  background-color: #18151f;
}
.postcard .t-dark {
  color: #18151f;
}
.postcard a {
  color: inherit;
  transition: all 0.3s ease;
}
.postcard h1, .postcard .h1 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.postcard .small {
  font-size: 80%;
}
.postcard .postcard__title {
  font-size: 1.75rem;
}
.postcard .postcard__title a{
  text-decoration: none;
  transition: all 0.3s ease;
}
.postcard .postcard__img {
  max-height: 180px;
  width: 100%;
  object-fit: cover;
  position: relative;
}
.postcard .postcard__img_link {
  display: contents;
}
.postcard .postcard__bar {
  width: 50px;
  height: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #424242;
  transition: width 0.2s ease;
}
.postcard .postcard__text {
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.postcard .postcard__preview-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  height: 100%;
}
.postcard .postcard__tagbox {
  display: flex;
  flex-flow: row wrap;
  font-size: 14px;
  margin: 20px 0 0 0;
  padding: 0;
  justify-content: center;
}
.postcard .postcard__tagbox .tag__item {
  display: inline-block;
  background: rgba(83, 83, 83, 0.4);
  border-radius: 3px;
  padding: 2.5px 10px;
  margin: 0 5px 5px 0;
  cursor: default;
  user-select: none;
  transition: background-color 0.3s;
}
.postcard .postcard__tagbox .tag__item:hover {
  background: rgba(83, 83, 83, 0.8);
}
.postcard:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(-70deg, #424242, transparent 50%);
  opacity: 1;
  border-radius: 10px;
}
.postcard:hover .postcard__bar {
  width: 100px;
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;
  }
  .postcard .postcard__title {
    font-size: 2rem;
  }
  .postcard .postcard__tagbox {
    justify-content: start;
  }
  .postcard .postcard__img {
    max-width: 300px;
    max-height: 100%;
    transition: transform 0.3s ease;
  }
  .postcard .postcard__text {
    padding: 3rem;
    width: 100%;
  }
  .postcard .media.postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    background: #18151f;
    top: -20%;
    height: 130%;
    width: 55px;
  }
  .postcard:hover .postcard__img {
    transform: scale(1.1);
  }
  .postcard:nth-child(2n+1) {
    flex-direction: row;
  }
  .postcard:nth-child(2n+0) {
    flex-direction: row-reverse;
  }
  .postcard:nth-child(2n+1) .postcard__text::before {
    left: -12px !important;
    transform: rotate(4deg);
  }
  .postcard:nth-child(2n+0) .postcard__text::before {
    right: -12px !important;
    transform: rotate(-4deg);
  }
}
@media screen and (min-width: 1024px) {
  .postcard__text {
    padding: 2rem 3.5rem;
  }

  .postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    top: -20%;
    height: 130%;
    width: 55px;
  }

  .postcard.dark .postcard__text:before {
    background: #18151f;
  }

  .postcard.light .postcard__text:before {
    background: #e1e5ea;
  }
}

.postcard .postcard__tagbox .yellow.play:hover {
  background: #F6E63C;
  color: black;
}

.yellow .postcard__title:hover {
  color: #F6E63C;
}

.yellow .postcard__bar {
  background-color: #F6E63C;
}

.yellow::before {
  background-image: linear-gradient(-30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}

.yellow:nth-child(2n)::before {
  background-image: linear-gradient(30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}

@media screen and (min-width: 769px) {
  .green::before {
    background-image: linear-gradient(-80deg, rgba(121, 221, 9, 0.1), transparent 50%);
  }

  .green:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(121, 221, 9, 0.1), transparent 50%);
  }

  .blue::before {
    background-image: linear-gradient(-80deg, rgba(0, 118, 189, 0.1), transparent 50%);
  }

  .blue:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(0, 118, 189, 0.1), transparent 50%);
  }

  .red::before {
    background-image: linear-gradient(-80deg, rgba(189, 21, 11, 0.1), transparent 50%);
  }

  .red:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(189, 21, 11, 0.1), transparent 50%);
  }

  .yellow::before {
    background-image: linear-gradient(-80deg, rgba(189, 187, 73, 0.1), transparent 50%);
  }

  .yellow:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(189, 187, 73, 0.1), transparent 50%);
  }
}

#navbar-ajax-results.dropdown-menu {
  border-radius: 0px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

#navbar-ajax-results .dropdown-item:hover {
  background: rgba(255,255,255,.06);
}

#navbar-ajax-search.form-control {
  height: 44px;
}

.form-control:focus{
    border-color: #F6E63C;
    box-shadow:none;
}

.btn,
.form-control{
    border-radius: 0 !important;
}

.btn-outline-warning {
  --bs-btn-color: #F6E63C;
  --bs-btn-border-color: #F6E63C;

  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #F6E63C;
  --bs-btn-hover-border-color: #F6E63C;

  --bs-btn-focus-shadow-rgb: 246, 230, 60;

  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #F6E63C;
  --bs-btn-active-border-color: #F6E63C;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

  --bs-btn-disabled-color: #F6E63C;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #F6E63C;

  --bs-gradient: none;
}

.hero-collage{
  min-height: 280px;
  background-image: url('https://blog.estampadosmedellin.com/wp-content/uploads/2026/01/ideas-y-consejos-para-tu-empresa-.webp');
  background-size: cover;
  background-position: center;
}

.hero-collage__overlay{
  background: rgba(0,0,0,.05);
}

.hero-collage__card{
  background: #101218;
  max-width: 760px;
}

#pageHeaderTitle{
    color: #F6E63C;
}

a.badge:hover{
    color: #000000 !important;
}

.index-list{
    margin: 0;
    padding:0;
    list-style: none;
}

.index-list li{
    border-bottom: solid 1px gray;
}

.index-list li:last-child{
    border-bottom: none;
}

.index-list li a{
    display: block;
    padding: 5px 0;
}

.index-list li a:hover{
    color: #F6E63C !important;
    text-decoration: underline !important;
}

.footer-widget a{
    color: #929398;
    transition: all .2 ease-in-out !important;
}

.footer-widget a:hover{
    color: #F6E63C;
}

.widget-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}



.footer-widget ul{
	list-style: none;
    margin:0;
    padding:0;
}

.footer-widget ul li a{
	text-decoration: none;
    display: inline-block;
    padding-bottom:5px;
}