/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    /* Ensure it's always centered from the start */
    box-sizing: border-box;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    /* Prevent any movement */
    position: relative;
}

.loader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #667eea;
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #764ba2;
    animation-duration: 1.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: #667eea;
    animation-duration: 1s;
    opacity: 0.7;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loader-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
}

.loader-subtitle {
    font-size: 1rem;
    color: #764ba2;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Prevent scrolling when loader is visible */
body.loading {
    overflow: hidden;
    height: 100vh;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: white;
}

/* Mobile Back Button - Hidden by default */
.mobile-back-btn {
    display: none;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    margin-right: 0.5rem;
}

.mobile-back-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-back-btn i {
    display: inline-block;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffd700;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-bottom: 3rem;
    border-radius: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* Category chips */
.category-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.category-chip {
    padding: 0.4rem 0.8rem;
    background: #f1f3f4;
    color: #333;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}
.category-chip:hover { transform: translateY(-2px); }
.category-chip.active {
    background: #667eea;
    color: white;
    border-color: rgba(0,0,0,0.06);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Image wrapper shows the skeleton while the image downloads */
.blog-card-image-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* The actual image is invisible until it loads; when loaded, we add .loaded */
.blog-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.blog-card-image.loaded {
    opacity: 1;
}

/* When the wrapper receives .has-loaded we'll stop the skeleton animation */
.blog-card-image-wrapper.has-loaded {
    animation: none;
    background: transparent;
}

/* Lazy Loading Styles */
.lazy-load {
    opacity: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.lazy-load.loaded {
    opacity: 1;
    animation: none;
    background: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.blog-card-category {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-card-tag {
    background: #f1f3f4;
    color: #5f6368;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-author {
    font-weight: 600;
    color: #667eea;
}

.blog-card-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Blog View Styles */
.breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #7f8c8d;
}

.blog-post {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-meta span {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-meta .category {
    background: #667eea;
    color: white;
}

.blog-meta .date {
    background: #f1f3f4;
    color: #5f6368;
}

.blog-meta .author {
    background: #e8f5e8;
    color: #2d5a2d;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.2;
}

.blog-excerpt {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.blog-image {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.blog-tag {
    background: #f1f3f4;
    color: #5f6368;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Related Posts */
.related-posts {
    margin-bottom: 2rem;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.related-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Related card image + layout */
.related-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.related-card-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.related-card-body {
    flex: 1 1 auto;
}
.related-card p {
    margin: 0.25rem 0 0.5rem;
    color: #7f8c8d;
}

.related-card p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin: 3rem 0;
    flex-wrap: nowrap; /* keep buttons on same row */
}

.load-more-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap; /* prevent inner text from wrapping */
    flex-shrink: 0;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn i {
    font-size: 1rem;
}

/* Show All button (placed next to Load More) */
.show-all-btn {
    padding: 1rem 1.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
    white-space: nowrap; /* keep "Show All (N)" on one line */
    flex-shrink: 0;
}

.show-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.show-all-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 0rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .filters {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-actions {
        flex-direction: column;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .load-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* make Show All button match on tablets */
    .show-all-btn {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Smaller banner/header for mobile */
    .header {
        padding: 0.5rem 0;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }

    .logo i {
        font-size: 0.9rem;
    }

    /* Show mobile back button on screens < 480px */
    .mobile-back-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Adjust header container for mobile with back button */
    .header .container {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
    }

    .blog-post {
        padding: 1rem;
    }

    /* Loader mobile adjustments */
    .loader-spinner {
        width: 80px;
        height: 80px;
    }

    .loader-title {
        font-size: 1.8rem;
    }

    .loader-subtitle {
        font-size: 0.85rem;
    }

    /* Blog View specific mobile adjustments */
    .blog-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    /* Make navigation button smaller on mobile */
    .navigation .btn-outline {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .navigation .btn-outline i {
        font-size: 0.85rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-excerpt {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .blog-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .blog-content h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .blog-content h3 {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .blog-content p {
        margin-bottom: 1rem;
    }

    /* Related posts mobile optimization */
    .related-card {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .related-card-image {
        width: 80px;
        height: 60px;
    }

    .related-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .related-card p {
        font-size: 0.8rem;
        margin: 0;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        display: box;
        -webkit-box-orient: vertical;
        box-orient: vertical;
        overflow: hidden;
    }

    /* Reduce base font size on small phones to avoid overly large text */
    body {
        font-size: 14px;
    }

    /* Make blog banner image shorter on small phones */
    .blog-image img {
        height: 180px; /* previously 400px; reduced for better mobile fit */
        object-fit: cover;
    }

    /* Hide meta info (category / author / date) on blog view for phones */
    .blog-post .blog-meta {
        display: none;
        visibility: hidden;
        height: 0;
        margin: 0;
        padding: 0;
    }

    /* Slightly reduce card text sizes for better fit */
    .blog-card-title {
        font-size: 1.1rem;
    }

    .blog-card-excerpt {
        font-size: 0.95rem;
    }

    .blog-card-meta {
        font-size: 0.85rem;
    }

    /* Make load/show buttons smaller on phones */
    .load-more-btn, .show-all-btn {
        padding: 0.6rem 0.6rem;
        font-size: 0.95rem;
    }

    /* Shrink header/site title on small phones */
    .logo h1 {
        font-size: 1.25rem;
        font-weight: 700;
    }

    /* Reduce blog card title and excerpt further for tight screens */
    .blog-card-title {
        font-size: 1rem;
    }

    .blog-card-excerpt {
        font-size: 0.9rem;
    }

    /* Make the filters card (first card) more compact on phones */
    .filters {
        padding: 0.6rem;
        margin-bottom: 1rem;
        gap: 0.6rem;
        border-radius: 8px;
    }

    .filter-group {
        gap: 0.25rem;
        width:100%;
    }

    .filter-group label {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.55rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    /* Make category chips horizontally scrollable on screens <=480px */
    .category-chips {
        gap: 0.35rem;
        margin-top: 0.4rem;
        flex-wrap: nowrap;              /* keep chips on one line */
        overflow-x: auto;               /* enable horizontal scroll */
        overflow-y: hidden;             /* prevent vertical scroll */
        -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
        scroll-snap-type: x proximity;  /* optional, nicer feel */
        scrollbar-width: none;
    }

    .category-chip.active{
        transform: translateY(0px);
    }
    
    .category-chip {
        padding: 0.3rem 0.6rem;
        font-size: 0.82rem;
        border-radius: 16px;
        flex: 0 0 auto;                 /* prevent shrinking/wrapping */
        scroll-snap-align: start;       /* align on snap */
    }

   /* Reduce the vertical footprint of the load container */
    .load-more-container {
        margin: 2rem 0;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* List Styles for Blog Content */
.blog-content ol,
.blog-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content ol {
    counter-reset: item;
}

.blog-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
}

.blog-content ol li::marker {
    color: #667eea;
    font-weight: bold;
}

.blog-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
    list-style: none;
}

.blog-content ul li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    top: 0;
}

/* Nested lists */
.blog-content ol ol,
.blog-content ul ul,
.blog-content ol ul,
.blog-content ul ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

/* List spacing */
.blog-content p + ol,
.blog-content p + ul {
    margin-top: 1rem;
}

.blog-content ol + p,
.blog-content ul + p {
    margin-top: 1rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }


.email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;             /* icon size */
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
  background: white;
  color: #0b57d0;              /* change color easily */
}
.email-icon:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(11,87,208,.12); }
.email-icon:active { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
