/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
}

body {
    font-family: "Verdana", "Tahoma", "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
    text-align: center;
}

/* Links */
a {
    color: #8ca863;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #d6aeb5;
    text-decoration: underline;
}

/* Headings */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #333;
clear: both;
}

h1 {
    font-size: 2rem;
    text-align: left;
}

h2 {
    font-size: 1.5rem;
    color: #8ca863;
}

/* Paragraphs */
p {
    margin: 1rem 0;
    line-height: 1.6;
    font-size: 1rem;
}

#small {
    color: #000 !important;
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}

/* Wrapper */
#wrapperc {
    background: #8ca863;
    padding: 2rem 0;
}

#wrapper {
    background: #fff;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

/* Header & Navigation */
#pagetop {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

#subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

#subnav a {
    padding: 0.5rem 1rem;
    background: #f2f2f2;
    border-radius: 6px;
    color: #8ca863;
    font-weight: 500;
}

#subnav a:hover {
    background: #8ca863;
    color: #fff;
}

/* Content Layout */
#contentfloatholder {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Left Sidebar */
#left {
    flex: 0 0 250px;
    background: #ffffff;
    color: #8ca863;
    padding: 1.25rem;
    border: 2px solid #8ca863;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Links */
#left a {
    display: block;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.35rem;
    color: #8ca863;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hover Effect */
#left a:hover {
    background: #f4f8ed;
    color: #3f571c;
    padding-left: 1rem;
}

/* Center content */
#center {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#members_photo  {
  padding:10px;
  
}


#members_photo img {
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
  
}

/* Right column (if used) */
#right {
    flex: 1 1 200px;
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 10px;
}

/* Footer */
#footer {
    margin-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Small text */
#small {
    font-size: 0.7rem;
    margin-top: 1rem;
    color: #999;
}

/* Box elements */
.rjrounded, .zrounded {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
    #hdim img { max-width: 100%; }
}

@media (max-width: 760px) {
    #contentfloatholder {
        flex-direction: column;
    }

    #left, #right {
        flex: 1 1 100%;
    }

    #members_photo img {
        float: none;
        display: block;
        margin: 0 auto 1rem auto;
    }

#subnav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

#subnav a {
    width: auto;
    padding: 0.45rem 0.8rem;
    font-size: 0.9rem;
}
}


.member-gallery-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.member-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1000px;
}

.member-gallery .gallery-item {
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
    border: 1px solid #ccc;
    padding: 2px;
    cursor: pointer;
    transition: transform 0.2s;
}

.member-gallery .gallery-item:hover {
    transform: scale(1.05);
}

/* Lightbox overlay */
#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px #000;
}
@media (max-width:760px){
    #wrapper {
        width: 95%;
        padding: 1rem;
    }

    #center {
        padding: 1rem;
    }
}

a.button {
    background-color: #0073e6!important;
    color: white!important;
    padding: 8px 15px!important;
    border-radius: 5px!important;
    text-decoration: none!important;
    font-weight: bold!important;
    flex: 0 0 100%!important;
    display: block!important;
    margin-bottom: 0.5rem!important;text-align: center;
}

a.button:hover {
    background-color: #005bb5!important;
}

.photographer-listing {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;

    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 30px;      
    background-color: #f9f9f9;
    box-sizing: border-box;      /* ensures padding is included in width */
    transition: box-shadow 0.3s;
}

.photographer-listing > * {
    margin-left: 10px;            /* small spacing between inner items */
}

.photographer-listing:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.photographer-listing img.thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}
.photographer-listing .name {
    font-weight: bold;
    margin-right: 5px;
}
.photographer-listing .category {
    font-size: 0.9em;
    color: #555;
    margin-right: 10px;
}
.photographer-listing .town {
    font-size: 0.85em;
    color: #777;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(20%) contrast(1.1);
    border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.map-info {
  padding: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.map-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.btn.primary {
  background: #0073e6;
  color: #000;
}

.btn.primary:hover {
  background: #005bb5;
}

.btn.secondary {
    background: #0073e6;
  border: 1px solid #888;
  color: #fff;
}

.btn.secondary:hover {
  background: #005bb5;
}

/* Mobile */
@media (max-width: 768px) {
  .premium-map-section {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    min-height: 250px;
  }
}