
@font-face {
  font-family: 'Bookerly'; /* set name */
  src: url(/font/Bookerly.ttf) format('truetype'); /* url of the font */
}
.blog-container {
    max-width: 800px;
    margin: 0 auto; /* Center the container */
    padding: 0 2rem 2rem; /* Remove top padding */
    font-family: 'Bookerly', serif;
}

.blog-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    /* Space after the title */
}

.blog-container h3 {
    font-family: 'Merriweather','Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    /* Space after the title */
}
.blog-content img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.2s ease;
    border-radius: 8px;
    margin: 1rem 0 2rem 0;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* --- Image Zoom Modal --- */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-zoom-overlay.visible {
    opacity: 1;
}

.image-zoom-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 5px;
}

.blog-content img:hover {
    transform: scale(1.02);
}

.image-zoom-close-btn {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.image-zoom-close-btn:hover {
    color: #ddd;
}

/* Zoom stage wraps the image and receives transforms */
.image-zoom-stage {
    will-change: transform;
    transform-origin: center center;
    transition: transform 0.05s ease-out;
    cursor: default;
}

/* Controls container */
.image-zoom-controls {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    gap: 10px;
    z-index: 1;
}

.image-zoom-ctrl {
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.image-zoom-ctrl:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}
