:root {
    --primary-color: #c72727;
    --secondary-color: #f99500;
    --light-color: #f3f3f3;
    --dark-color: #ffffff;
    --max-width: 1100px;
}

html {
    scroll-behavior: smooth;
  }

.category {
    --sports-color: #f99500;
    --ent-color: #a66bbe;
    --tech-color: #009cff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}

body {
    font-family: "Lato", sans-serif;
    line-height: 1.5;
    background-color: var(--light-color);
}

a{
    color: #333;
    text-decoration: none;
}

ul {
    list-style:none;
}

p {
    margin: .5rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:rgb(255, 255, 255);
}

img {
    width: 100%;
}

h1 h2 h3 h4 h5 h6 {
font-family: 'Staatliches', cursive;
margin-bottom: .55rem;
line-height: 1.3;
}

/* Utility */

.container {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 2rem;
    overflow:hidden ;
}

.category {
    display: inline-block;
    color: #fff;
    font-size: 0.55rem;
    text-transform: uppercase;
    padding: 0.4rem 0.6rem;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}

.category-sports {background: var(--sports-color);}
.category-ent {background: var(--ent-color);}
.category-tech {background: var(--tech-color);}

.btn {
    display: inline-block;
    border: none;
    background: var(--dark-color);
    color: #fff;
    padding: 0.5rem 1.5rem;
    
}

.btn-light {background: var(--light-color);}
.btn-primary {background-color: #ff914d;
    border: 2px rgb(253, 253, 253) solid !important;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;}
.btn-secondary {background: var(--secondary-color);}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
}

.card {
    background: #ff914d;
    padding: 1rem;
}

.bg-dark {
    background: #27c5be;
    color: #fff;
}

.bg-primary {
    background: #a66bbe;
    color: #fff;
}

.py-1 {
    padding: 1.5rem 0;
}

.py-2 {
    padding: 2rem 0;
    color: white;
}
.py-3 {
    padding: 3rem 0;
}

.p-1 {
    padding: 1.5rem;
}

.p-2 {
    padding: 2rem;
}
.p-3 {
    padding: 3rem;
}

.bg-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.list li {
    padding: .5rem 0;
    border-bottom: #555 dotted 1px;
    width: 90%;
}

.list li a:hover {
    color: var(--primary-color) !important;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark a,
.bg-primary h1,
.bg-primary  h2,
.bg-primary  h3,
.bg-primary  a,
.bg-secondary h1,
.bg-secondary  h2,
.bg-secondary  h3,
.bg-secondary  a {
    color: #fff;
}

.l-heading {
    font-size: 3rem;
}
/* Navbar */

/* Navbar */

.logo {
    
    margin-bottom: 0;
    padding-bottom: 0;
    vertical-align: middle;
    height: 125px ;
    width: 125px;
    position: relative;
    top: -35px;
    margin-top: -12px;
}

/* Navbar */
#navbar {
    background-color: #fff;
    color: #fff;
    position: relative;
    max-height: 67px;
    top: 0;
    z-index: 100;
    animation: slideInFromTop 1s ease-out;
    
}

#navbar a {
    color: #000000;
    transition: all 1s ease;
}

#navbar h1 {
    float: left;
    padding-top: 20px;
}

#navbar ul {
    list-style: none;
    float: right;
}

#navbar ul li {
    float: left;
}

#navbar ul li a {
    display: block;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: top;
    margin-top: -20px;
}

#navbar ul li a:hover {
    background: #444;
    color: #f59e47;
}

#navbar ul li a.current {
    background: #222;
    color: #f59e47;
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f7c08a;
    transition: width 0.3s ease;
}

#navbar ul li a:hover::after {
    width: 100%;
}


#showcase {
    color: #fff;
    background: #333;
    padding: 2rem;
    position: relative;
}

#showcase:before {
    content: '';
    background: url('https://images.pexels.com/photos/594077/pexels-photo-594077.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

#showcase .showcase-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    height: 50dvh;
}

#showcase .showcase-content-blog{
    z-index: 1;
}

#showcase .showcase-content-blog p {
    margin-bottom: 1rem;
    color: white;
}

/* Home Article */

#home-articles {
    background-color: #ffffff;
}
#home-articles .articles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}



#article .meta .category {
    margin-top: 0.4rem;
}

#article .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eee;
    padding: 0.5rem;
}

footer {
    background: #0d0d0d;
    color: #f1f1f1;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}

.footer-logo img {
    
    margin-top: -50px;
    margin-bottom: -50px;
    width: 150px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #f1f1f1;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #feb47b;
}

.footer-socials a {
    color: #f1f1f1;
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s, color 0.3s;
}

.footer-socials a:hover {
    color: #feb47b;
    transform: scale(1.1);
}


/* Custom Blog Styling */
.nh-blog-section {
    padding: 40px 0;
    background-color: #fff;
}

.nh-blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.7;
    font-size: 17px;
    color: #333;
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.nh-blog-article h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #3fbaeb;
}

.nh-blog-article h3 {
    font-size: 24px;
    margin-top: 30px;
    color: #444444;
}

.nh-blog-article h4 {
    font-size: 20px;
    margin-top: 20px;
    color: #555;
  }


.nh-blog-article p {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    
}

.nh-blog-article ul {
    margin-left: 20px;
    margin-bottom: 20px;
  }
  
  .nh-blog-article ul li {
    margin-bottom: 10px;
  }


  .card--placeholder {
  position: relative;
  overflow: hidden;
}

.card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(118, 146, 240, 0.5); /* dark tint */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}

.card__content--blurred {
  filter: blur(4px);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}