/* =========================================================
   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: #fff;
    padding: 0 2px;
    transition: all 0.2s ease-in-out;
}

a:hover {
    text-decoration: none;
}

#footer a,
#center a {
    color: #000;
}

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

#center a:visited {
    text-decoration: underline;
    color: grey;
}


/* =========================================================
   HEADINGS & TEXT
========================================================= */

h1 {
    background: #fff;
    color: #8ca863;
    font-size: 150%;
    clear: both;
    padding: 5px;
}

h2,
h3,
h4,
p {
    margin: 1em 0;
    text-align: left;
    font-size: 98%;
}

ol {
    margin: 3px;
    padding: 0;
    list-style-position: inside;
}

ul {
    margin: 2em;
    padding: 5px;
}

li {
    margin: 0.5em;
}

hr {
    height: 1px;
    margin: 0 0 1px;
    background-color: #8ca863;
    color: #8ca863;
}


/* =========================================================
   IMAGES
========================================================= */

img {
    max-width: 100%;
    height: auto;
    padding: 3px;
    border-color: #fff;
}

#club_photo {
    float: right;
    margin: 1em 0;
    border: 7px outset gray;
}

#club_pictures {
    padding: 3px;
    border-color: #fff;
}

#image_right {
    float: right;
    margin-left: 3px;
}

.rightimg {
    float: right;
    margin: 0.75em;
}


/* =========================================================
   LAYOUT WRAPPERS
========================================================= */

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

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


/* =========================================================
   HEADER / NAV / FOOTER
========================================================= */

#header,
#subnav,
#footer {
    clear: both;
    width: 100%;
}

#header {
    background: #8ca863;
    color: #8ca863;
    text-align: right;
    padding: 0;
}

#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;
}

#footer {
    text-align: center;
    color: gray;
    background: #fff;
}

#footer div {
    padding: 1px 0;
}


/* =========================================================
   MAIN 2-COLUMN LAYOUT (CENTER + RIGHT ONLY)
========================================================= */

#contentfloatholder {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

/* CENTER CONTENT */
#center {
    flex: 1;
    min-width: 0;
    color: #000;
}

/* RIGHT SIDEBAR */
#right {
    flex: 0 0 300px;
}

/* =========================================================
   SIDEBARS
========================================================= */


#right a:link {
    color: #0000ee;
    text-decoration: none;
    word-break: break-all;
}

#right a:visited {
    color: gray;
    text-decoration: underline;
}

#right a:hover {
    color: #000;
    text-decoration: none;
}


#right h3,
#right p {
    padding: 0 5px;
}


/* =========================================================
   TOP AREA
========================================================= */

#pagetop {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

#hdim {
    display: inline;
}


/* =========================================================
   SMALL TEXT / DATE
========================================================= */

#date {
    text-align: right;
    color: #fff;
    font-size: 80%;
}

#small {
    text-align: center;
    font-size: 50%;
}

#sitemeter {
    text-align: left;
    visibility: hidden;
}


/* =========================================================
   ROUNDED BOX COMPONENTS
========================================================= */

.rjrounded,
.zrounded {
    width: 100%;
    float: left;
    margin: 0;
    line-height: 125%;
    background: transparent;
}

.rjrounded h6,
.zrounded h6 {
    margin: 0;
    padding: 0 8px 3px;
    font-size: 1em;
    border-bottom: 1px solid #8ca863;
}

.rjrounded p,
.zrounded p {
    margin: 0;
    padding: 5px 0;
    font-size: 10px;
    line-height: 125%;
}

.rjtop,
.rjbottom {
    display: block;
    background: transparent;
    font-size: 1px;
}

.rjb1,
.rjb2,
.rjb3,
.rjb4 {
    display: block;
    overflow: hidden;
}

.rjb1,
.rjb2,
.rjb3 {
    height: 1px;
}

.rjb2,
.rjb3,
.rjb4 {
    background: #fff;
    border-left: 1px solid #8ca863;
    border-right: 1px solid #8ca863;
}

.rjb1 {
    margin: 0 5px;
    background: #8ca863;
}

.rjb2 {
    margin: 0 3px;
    border-width: 0 2px;
}

.rjb3 {
    margin: 0 2px;
}

.rjb4 {
    height: 2px;
    margin: 0 1px;
}

div.rjboxcontent div {
    padding: 0;
}

* html .rjboxcontent {
    height: 1px;
}

.color_a {
    background: #8ca863;
    color: #000;
}


/* =========================================================
   PARTNERS
========================================================= */

#partners p,
#rightcentre p {
    text-align: center;
    font-size: 100%;
}

#rightcentre p {
    width: 180px;
    margin: 0 auto;
}


/* =========================================================
   MAP SECTION
========================================================= */

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

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

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


/* =========================================================
   BUTTONS
========================================================= */

.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;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media only screen and (max-width: 900px) {

    #hdim img {
        max-width: 450px;
    }
}

@media only screen and (max-width: 760px) {

    h1 {
        font-size: 150%;
        padding: 5px;
    }

    #cc {
        font-size: 155%;
    }

    img {
        max-width: 100%;
    }

    #date {
        display: none;
    }

    #pagetop {
        width: 100%;
    }

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

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

    #subnav a:hover {
        background: #f2f2f2;
        color: #000 !important;
    }

    #subnav::after {
        content: "";
        display: table;
        clear: both;
    }

    #centerpad {
        margin: 0;
    }


    #footer img {
        max-width: 100%;
    }

    #topimage-right,
    #topimage-rightr,
    #topimage-rightt {
        display: none;
    }

    .toggle {
        display: block;
        position: fixed;
        top: 10px;
        right: 5px;
        cursor: pointer;
        user-select: none;
    }

    #hdim {
        display: none;
    }

    #sidenavcontainer {
        flex: 1 1 100%;
    }
}


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

    #right {
        flex: 1 1 100%;
        width: 100%;
    }

    #center {
        width: 100%;
    }
}

/* ================================
   BREADCRUMB STYLES (MODERN)
================================ */

.breadcrumb {
  font-size: 14px;
  margin: 10px 0 20px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #666;
}

/* Separator */
.breadcrumb li + li::before {
  content: "/";
  padding: 0 8px;
  color: #bbb;
  font-size: 12px;
}

/* Links */
.breadcrumb a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.breadcrumb a:hover {
  color: #005177;
  text-decoration: underline;
}

/* Current page */
.breadcrumb li[aria-current="page"] {
  color: #222;
  font-weight: 500;
}

/* Optional: subtle background pill style */
.breadcrumb {
  background: #f7f7f7;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* Mobile tweak */
@media (max-width: 600px) {
  .breadcrumb {
    font-size: 13px;
  }

  .breadcrumb li + li::before {
    padding: 0 6px;
  }
}