/* Reset / normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
    font-size: .9rem;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
   
}

body {
    margin-bottom: 60px;
    zoom: 0.95; /* Ensure 90% zoom */
}

.blog-details img {
    max-width: 100%;
}

/* --- Light, modern look for primary buttons --- */
.btn-primary {
    background-color: #e9f0fb; /* light pastel blue */
    color: #0d6efd;
    border: 1px solid #bcd0f7;
    font-size: .8rem;
}

    .btn-primary:hover {
        background-color: #d6e4fa;
        color: #084298;
        font-size: .8rem;
    }

/* --- Neutral secondary --- */
.btn-secondary {
    background-color: #f5f5f5;
    color: #444;
    border: 1px solid #ccc;
    font-size: .8rem;
}

    .btn-secondary:hover {
        background-color: #e6e6e6;
        color: #222;
        font-size: .8rem;
    }

/* --- Softer red for destructive actions --- */
.btn-danger {
    background-color: #fbe9e9;
    color: #dc3545;
    border: 1px solid #f5b5b5;
    font-size: .8rem;
}

    .btn-danger:hover {
        background-color: #f8d7da;
        color: #b02a37;
        font-size: .8rem;
    }

/* --- Informative actions --- */
.btn-info {
    background-color: antiquewhite;
    color: #dc3545;
    border: 1px solid #f5b5b5;
    font-size: .8rem;
}

    .btn-info:hover {
        background-color: #f8d7da;
        color: #b02a37;
        font-size: .8rem;
    }

/* --- Warning actions --- */
.btn-warning {
    background-color: azure;
    color: #dc3545;
    border: 1px solid #f5b5b5;
    font-size: .8rem;
}

    .btn-warning:hover {
        background-color: #f8d7da;
        color: #b02a37;
        font-size: .8rem;
    }

/* --- Special action like Reinstate (success, soft green) --- */
.btn-success {
    background-color: #e8f6ec;
    color: #198754;
    border: 1px solid #b6e2c3;
    font-size: .8rem;
}

    .btn-success:hover {
        background-color: #d1efdb;
        color: #146c43;
        font-size: .8rem;
    }

/* --- Anchor links styled like buttons --- */
a.btn {
    text-align: center;
    font-size: .8rem;
}


h3 {
    color: #343a40;
    margin-bottom: 20px;
    text-align: center;
}

.quick-links-container {
    margin: 20px 0;
    padding: 12px 0;
    border-bottom: 2px solid #e0e0e0;
}

.quick-links-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.quick-links-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.quick-links-nav {
    display: flex;
    gap: 8px;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-link:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
    text-decoration: none;
}

.quick-link:active {
    transform: translateY(0);
}

.quick-links-nav {
    flex-wrap: wrap;
    gap: 6px;
}

.quick-link {
    padding: 6px 12px;
    font-size: 13px;
}

.quick-link.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white !important;
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

.quick-link:not(.active):hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    transform: translateY(-1px);
}

.guide-card {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    background-color: #f0f8ff; /* light gray background */
    border-radius: 6px; /* optional: soft rounded corners */
}

.guide-card .card-body {
    padding: 1rem;
}

.guide-card .card-subtitle {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.guide-card .card-text {
    line-height: 1.4;
}

.fade-edges {
    --fade-size: 50px; /* adjust fading amount */
    mask-image: radial-gradient(circle, black calc(100% - var(--fade-size)), transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black calc(100% - var(--fade-size)), transparent 100%);
}