/* GLOBAL */


.section {
    padding: 60px 0;
}

.section-title {
    font-weight: 700;
    font-size: 1.6rem;
}

.view-all {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: none;
}
.view-all:hover {
    color: #0d6efd;
}

/* HERO GRID */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hero-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

.hero-card.large {
    grid-column: span 1;
    min-height: 400px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.1));
}

.hero-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
}

.hero-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* CARD GRID */
.media-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: all .25s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.media-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.media-body {
    padding: 16px;
}

.media-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.media-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

/* SIDEBAR LIST */
.side-list a {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    text-decoration: none;
    color: #212529;
}

.side-list img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}

/* FOOTER FIX */
.footer {
    background: #1f3b4d;
    color: #cfd8dc;
    padding: 60px 0;
}


/* HEADER BACKGROUND */
.techmedia-header {
  background-color: #6b8692;
  padding: 14px 0;
}

/* LOGO */
.logo-text {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.logo-text .dot {
  color: #4da3ff;
}

/* NAV LINKS */
.techmedia-header .nav-link {
  color: #dbe6ec !important;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.techmedia-header .nav-link:hover,
.techmedia-header .nav-link.active {
  color: #ffffff !important;
}

/* SEARCH BAR */
.header-search {
  margin-left: auto;
}

.search-wrapper {
  position: relative;
}

.search-wrapper input {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 6px 12px 6px 34px;
  color: #ffffff;
  font-size: 14px;
  width: 250px;
}

.search-wrapper input::placeholder {
  color: #b7cbd6;
}

.search-wrapper i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7cbd6;
  font-size: 14px;
}

/* MOBILE FIX */
@media (max-width: 991px) {
  .header-search {
    margin-top: 15px;
  }
}


.whitepaper-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whitepaper-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.object-fit-cover {
    object-fit: cover;
}


.webinar-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.webinar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.object-fit-cover {
    object-fit: cover;
}


.case-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.object-fit-cover {
    object-fit: cover;
}


.blog-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.object-fit-cover {
    object-fit: cover;
}
