
body {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.7;
    color: #242424;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Responsive container */
.container {
  width: 100%;
  max-width: 1200px;   /* Keeps content from stretching too wide */
  margin: 0 auto;      /* Centers the container */
  padding: 0 1rem;     /* Side padding for small screens */
  box-sizing: border-box;
}

/* Adjustments for tablets */
@media (max-width: 992px) {
  .container {
    max-width: 900px;
    padding: 0 1.2rem;
  }
}

/* Adjustments for mobile */
@media (max-width: 600px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
}


article {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px;
}

article h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

article h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

article h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

article p {
    margin-bottom: 1.5rem;
}

article blockquote {
    font-style: italic;
    border-left: 4px solid #e0e0e0;
    padding-left: 1rem;
    margin: 2rem 0;
    color: #555;
}

article a {
    color: #1a8917;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 137, 23, 0.3);
}

article a:hover {
    color: #0f730c;
    border-bottom-color: rgba(26, 137, 23, 0.6);
}

article img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 6px;
}

article ul,
article ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

article li {
    margin-bottom: 0.5rem;
}

article pre {
    background: #f6f8fa;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.95rem;
}

article code {
    font-family: "Courier New", monospace;
    background: #f6f8fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

article .end-note {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

.example {
    font-style: italic;
    color: #808080;
}

.explore-more {
    border-top: 1px solid #e0e0e0;
    margin-top: 3rem;
    padding-top: 2rem;
}

.explore-more h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #242424;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.explore-card {
    background: #fafafa;
    border-radius: 8px;
    padding: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.explore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.explore-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.explore-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 0.5rem;
}

.explore-card a {
    text-decoration: none;
    font-weight: 500;
}

.explore-card a:hover {
    text-decoration: underline;
}
/* Navbar container */
.navbar {
    background-color: #ffffff;
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* allows wrapping on small screens */
}

/* Logo */
.navbar .logo {
    font-size: 1.2rem;
    font-weight: 700; /* bold for Hideload */
    color: #242424;
}

/* Buttons container */
.navbar .buttons {
    display: flex;
    align-items: center;
}

/* Navbar links */
.navbar a {
    color: #242424;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}

.navbar a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-position: under;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* stack logo and buttons */
        align-items: flex-start;
    }

    .navbar .buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 0.8rem;
    }

    .navbar a {
        margin: 0.5rem 0; /* spacing between stacked links */
    }
}

/* Resource Section */
.resource-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* Links inside */
.resource-section a {
    text-decoration: none;
    color: #1a8917; /* accent color */
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .resource-section {
        padding: 1.5rem;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .resource-section {
        padding: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-section {
        padding: 0.8rem;
    }

    .resource-section a {
        display: block;   /* stack links vertically */
        margin-bottom: 0.6rem;
    }
}


.results {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.result-item {
    padding: 1.2rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.result-item:hover {
    background: #f9f9f9;
    text-decoration: underline;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.result-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.result-item .meta {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.4rem;
}