
       h1 {font-family: Verdana, Arial, Helvetica, sans-serif; 
        font-size: 12px; 
        color:#000000;  
        margin-left: 5%; 
        margin-right: 5%;
        margin-top:5%; 
        background-color: #FFFFFF; 
        text-align:left; 
        margin-top: 5%
    }

h2 {font-family: varela round; 
    font-size: 36px; 
    color:#000000;  
    margin-left: 5%; 
    margin-right: 5%; 
    margin-top:5%; 
    background-color: #FFFFFF; 
    text-align:left; 
    margin-top: 5%; 
    border-bottom: solid #66CCCC;}

h3 {
    font-family: Lucida Sans; 
    font-size: 10px; 
    background-color: #ffffff; 
    margin-left: 20%; 
    margin-right: 20%; 
    text-align: center; 
    border: black solid 1px; 
    font-weight: normal}


       p {
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; 
        font-size:14px; 
        color: #000000; 
        }


       /* Basic reset */
      

        body, margin, padding {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Banner style */
        header {
            font-family: helvitica Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
            background-color: #ffffff;
            color: #000000;
            text-align: center;
            padding: 20px;
            font-size: 24px;
        }

        /* Main container */
        .container {
            background-color: #FFFFFF;
            display: flex; 
            gap: 20px; 
            padding: 20px; 
        
        } 

        /* Left column */
        .left-column {
         flex: 1;
            background-color: #ffffff; 
            padding:20px;
            border: solid 1px #000000  }
       

        /* Center column */
        .center-column {
            flex: 2;
            background-color: #ffffff; 
            padding: 20px;
            border: solid 1px #000000 }
        

        /* Right column */
        .right-column {
           flex: 1;
            background-color: #ffffff;
            padding: 20px;
            border: solid 1px #000000
        }

        /* Footer style */
        footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 10px;
            position: relative;
            bottom: 0;
            width: 100%;
        }

        a:link {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FF3399; text-decoration: none; font-weight: bold}

        a:visited {ont-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #ff3399; text-decoration: none; font-weight: bold}

        a:hover {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; text-decoration: none; font-weight: bold}

img {
    max-widtgh:100%;
    height:auto;
}

/* Tablet */
@media (max-width: 480px) {
    .portfolio-item {
        flex: 0 0 100%;
    }
}

.wrap-text {
            float: left;
            margin-right: 15px;
            margin-bottom: 15px;
        }
        .container {
            width: 80%;
            margin: 20px auto;
        }
   :root { --gap: 16px; --overlay: rgba(0,0,0,0.9); }
    body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background:#ffffff; color:#111; }
    header { padding: 24px clamp(16px,5vw,48px); }
    .gallery { list-style: none; padding: 0 clamp(16px,5vw,48px) 48px; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: var(--gap); }
    .gallery a { display:block; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08); background:#eaeaea; cursor: zoom-in; }
    .gallery img { width: 100%; height: auto; display:block; object-fit: contain; }

    .lightbox { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--overlay); opacity: 0; pointer-events: none; transition: opacity .18s ease; z-index: 9999; }
    .lightbox.is-open { opacity: 1; pointer-events: auto; }
    .lightbox-content { overflow-y: auto; -webkit-overflow-scrolling: touch;}

    .lb-figure { margin: 0; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; max-width: 92vw; max-height: 92vh; background: white; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); aspect-ratio: 1 / 1; }
    .lb-figure img { max-width: 100%; max-height: 100%; object-fit: contain; background: white; }
    .lb-figure figcaption { color: #000; text-align: center; font-size: 14px; opacity: .9; }

    .lb-btn { appearance: none; border: 0; color: #fff; background: rgba(255,255,255,.14); padding: 12px 14px; cursor: pointer; font: inherit; transition: background .18s ease, transform .18s ease; display: inline-flex; align-items: center; justify-content: center; }
    .lb-btn:hover, .lb-btn:focus-visible { background: rgb(255, 255, 255); }
    .lb-btn:active { transform: translateY(1px); }

    .lb-prev, .lb-next { font-size: 18px; width: 44px; height: 44px; }
    .lb-close { position: fixed; top: 16px; right: 16px; width: 42px; height: 42px; font-size: 28px; background: none; color: white; cursor: pointer; border: none; }

    :focus:not(:focus-visible) { outline: none; }

    /* --- Mobile-only overrides (safe: won't affect desktop) --- */
@media (max-width: 768px) {
  /* Stack columns without assuming your desktop layout method */
  .container {
    display: block;              /* don't change desktop layout, only on small screens */
  }

  .left-column,
  .center-column,
  .right-column {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 24px 0;
  }

  /* Profile image stops wrapping text on small screens */
  .wrap-text {
    float: none !important;
    display: block;
    margin: 0 auto 16px;
  }

  /* Banner scales down on phones only */
  .site-banner img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Gallery becomes a neat grid on phones only */
  .gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .gallery li { margin: 0; }
  .gallery a { display: block; }
  .gallery img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Type scales a touch for readability */
  h2 { font-size: 1.25rem; line-height: 1.2; }
  p, a { font-size: 1rem; line-height: 1.5; }
}

/* --- Lightbox hardening (desktop + mobile) ---
   Keeps lightbox visuals consistent even if global rules exist. 
   These are intentionally specific so they don't interfere elsewhere. */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.75);
  z-index: 9999;
}
.lightbox.is-open { display: flex; }

.lb-figure {
  margin: 0;
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lb-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
}

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.18);
  border: 0;
  padding: .35rem .6rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

.lb-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,.18);
  border: 0;
  padding: .15rem .45rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

/* Paintings thumbnails - uniform size */
.gallery.paintings img {
  width: 180px;         /* set a fixed width */
  height: 180px;        /* set a fixed height */
  object-fit: cover;    /* crop instead of squish */
  border-radius: 4px;   /* optional: soften corners */
  display: block;
}

