:root {
  /* existing palette (kept for navbar) */
  --black:#000; --off-white:#e0e0e0; --white:#fff; --light-grey:#dadada;
  /* site palette */
  --bg:#0b1220; --bg-soft:#0f1a30; --text:#e8ecf3; --muted:#ffffff;
  --brand:#e7b44b; --brand-2:#5cc8ff; --stroke:rgba(255,255,255,.08);
  --shadow:0 10px 30px rgba(0,0,0,.35); --radius:16px;


}



/* General Styles */
html { background: var(--bg); scroll-padding-top: 55; }
html, body { height: 100%; }
body {
  margin: 0; color: var(--text);
  font-family: 'Lato', sans-serif;
  line-height: 1.35;
  min-height: 100dvh;
  padding-top: 55px;        
  position: relative;               
}

.btn{padding:10px 16px; border-radius:999px; border:2px solid var(--stroke);
     background:rgba(255,255,255,.02); color:var(--text); font-weight:600; text-decoration:none; display:inline-block}

     .btn:hover{transform:translateY(-1px)}

.btn.gold{background:linear-gradient(135deg, var(--brand), #ffd98a); color:#1a1a1a; border:none}



/* Insights Header */
.insights-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #111; /* Darker background for header */
    margin-top: 75px;
}

.insights-header h1 {
    font-size: 2.5em;
    color: #fff; /* White text for contrast */
    margin-bottom: 10px;
}

.insights-header p {
    font-size: 1.2em;
    color: #bbb; /* Light gray for readability */
    max-width: 800px;
    margin: 0 auto;
}

/* Posts Container */
.posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Post Card */
.post-card {
    background-color: #2a2a2a; /* Dark background for posts */
    border: 1px solid #3e3e3e; /* Slight border */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Deeper shadow */
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h2 {
    font-size: 1.5em;
    color: #FFD700; /* Gold color for headings */
    margin: 0 0 10px;
}

.post-content .date {
    font-size: 0.9em;
    color: #888; /* Subtle gray */
    margin-bottom: 15px;
}

.post-content .excerpt {
    font-size: 1em;
    color: #ccc; /* Light text for body */
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 8px 12px;
    color: #FFD700; /* Gold for CTA */
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #444; /* Darker background on hover */
}



/* Footer */

/* Base Footer Styles */
footer {
    background-color: var(--black);
    color: var(--off-white);
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid var(--silver);
    font-size: 80em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer a {
    color: var(--copper);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    text-decoration: underline;
    color: var(--deep-blue); /* Adds a slight color change on hover */
}

/* Footer Content Container */
.footer-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Footer Links Styling */
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links li {
    margin: 0 5px;
}

.footer-links a {
    font-size: 0.9em;
}

/* Mobile-first approach already provided */

/* Medium screens (tablets, 768px and up) */
@media (min-width: 768px) {
    .insights-header h1 {
        font-size: 3em;
    }

    .insights-header p {
        font-size: 1.3em;
    }

    .posts-container {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        padding: 30px;
    }

    .post-card img {
        height: 250px;
    }

    .post-content {
        padding: 25px;
    }
}

/* Large screens (desktops, 992px and up) */
@media (min-width: 992px) {
    .insights-header h1 {
        font-size: 3.5em;
    }

    .insights-header p {
        font-size: 1.5em;
    }

    .posts-container {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 30px;
    }

    .post-card {
        border-radius: 12px;
    }

    .post-card img {
        height: 300px;
    }
}

/* Extra large screens (1200px and up) */
@media (min-width: 1200px) {
    .insights-header h1 {
        font-size: 4em;
    }

    .insights-header p {
        font-size: 1.7em;
    }

    .posts-container {
        padding: 40px;
        gap: 40px;
    }

    .post-content h2 {
        font-size: 1.8em;
    }

    .post-content .excerpt {
        font-size: 1.1em;
    }
}

/* Small screens (max-width: 600px) */
@media (max-width: 600px) {
    .insights-header {
        padding: 30px 15px;
    }

    .insights-header h1 {
        font-size: 2em;
    }

    .insights-header p {
        font-size: 1em;
    }

    .posts-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .post-card {
        border-radius: 6px;
    }

    .post-card img {
        height: 150px;
    }

    .post-content {
        padding: 15px;
    }

    .read-more {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}


/* Small screens (max-width: 600px) */
@media (max-width: 600px) {
    footer {
        padding: 15px 20px;
        font-size: 0.50em;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Medium screens (600px to 992px) */
@media (min-width: 600px) and (max-width: 992px) {
    footer {
        padding: 20px 30px;
        font-size: 0.70em;
    }

    .footer-content {
        justify-content: space-around;
    }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
    footer {
        padding: 25px 50px;
        font-size: 0.80em;
    }

    .footer-content {
        justify-content: space-between;
    }
}

/* Extra large screens (1200px and up) */
@media (min-width: 1200px) {
    footer {
        padding: 30px 60px;
    }

    .footer-content {
        max-width: 1400px;
    }
}