body 
{
    font-family: Georgia, serif;
    font-size: 1.2em;
    line-height: 1.6;
    color: #4b4032; /* Optional: a softer text color */
    background-color: #fdfcf9; /* Optional: gentle off-white background */

}

#title {
  padding: 0em;
}

article {
  padding: 1em;
}
#content,
#navigation,
#homeContent,
#footer,
#teaserNavigation {
  padding: 0.8em; /* or whatever you prefer */
}
#social-share{padding-left: 1.6em;}

.icon-textlabel {
    display: inline-flex;
    align-items: center;   /* perfect vertical centering */
    gap: 6px;              /* space between icon and text */
    text-decoration: none; /* optional, depending on your style */
}

.icon-textlabel img {
    display: block;        /* removes baseline gap under images */
}



body {
  margin: 0;
  padding: 0;
}


#spotlight
{
  display: flex; 
  align-items: center;

}

.site-brand {
    display: inline-block;
    transition: transform 0.2s ease;
}

.site-brand:hover {transform: translateY(-2px);
}




h1:hover,h2:hover{color: #8b5e3c;}

.toc-link {text-decoration: none;}
.toc-link:hover {
    text-decoration: underline;
    color: #8b5e3c;
}


.textArea, .article-signoff, .highlight
{
    margin-left:1em;
}



a{text-decoration: none; color: inherit;}
.tiny{font-size: 0.7em; }
.specialLink{color: #8b5e3c;}
.link{text-decoration: underline;}
.link:hover{color: #8b5e3c;}
.specialLink:hover{text-decoration: underline;}
hr{color: #ffffff;}
.rounded {border-radius: 6px; }
.iconHolder{border-radius:1em; }
.tag-link:hover{text-decoration: underline;}
#title
{
  background-image: url('assets/banner.jpg');
  background-size: cover;       /* scales image to cover the div */
  background-position: center;  /* centers the image */
  background-repeat: no-repeat; /* prevents tiling */
  width: 100%;        /* 100% of the viewport width */
  height: 180px; /* adjust to taste */
  position: relative;
}
.site-brand
{
  font-size: 4em;
  color: white;
  text-shadow:
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}
#title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px; /* fade height */
  background: linear-gradient(to bottom, rgba(255,255,255,0), white);
  pointer-events: none;
}

.article-banner
{
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px; /* Optional: controls vertical size */
    object-fit: cover;
    margin: 2em 0;
    border-radius: 0;
}

.article-banner-large
{
    display: block;
    width: 100%;
    height: auto;
    max-height: 350px; /* Optional: controls vertical size */
    object-fit: cover;
    margin: 2em 0;
    border-radius: 0;
}



.iconHolder img {
  transition: transform 0.3s ease;
  padding-right: 1em;
}

.iconHolder img:hover {
  transform: translateY(-5px);
}

.navBoxHeadings{color:#8b5e3c; }

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    text-shadow: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 8px rgba(139, 94, 60, 0.4); /* soft umber glow */

  }
}

.navBoxHeadings {
  display: inline-block;
  animation: fadeSlideUp 1.2s ease-in-out;
}


.article-signoff {
  margin-top: 2em;
  margin-left: 1em;
  font-size: 0.85em;
  font-style: italic;
  color: #6a5d4b; /* soft, warm brown */
  opacity: 0.7;
  letter-spacing: 0.2px;
}



.card {
  margin-bottom: 14px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card {
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.12);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
    box-shadow: 3px 3px 8px rgba(0,0,0,0.18);
    transform: translateY(-2px);
}

.thumb {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  border-radius: 6px;
}

.title {
  margin: 0;
  font-size: 1.1rem;
}

.desc {
  margin: 6px 0 0 0;
}



blockquote, .indentBox {
  background-color: #f4f1ec; /* soft beige, matches teaserNavigation */
  border-left: 4px solid #c2b8a3; /* warm accent */
  color: #4b4032; /* matches body text */
  margin: 1.5em 1em;
  padding: 1em 1.5em;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* subtle shadow */
  transition: background-color 0.3s ease;
}

blockquote:hover {
  background-color: #eae6df; /* gentle hover effect */
}




#teaserNavigation {
  margin-top: 50px;
  padding: 15px;
  background-color: #f4f1ec; /* soft beige */
  border: 1px solid #e0ddd7;
  border-radius: 10px;
  font-family: 'Georgia', serif;
}

#teaserNavigation h2 {
  font-size: 1.4em;
  color: #5a4e3c; /* warm brown */
  margin-bottom: 8px;
  font-weight: normal;
}


.fade-in {
    opacity: 0;
    animation: fadeIn 5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.video-container {
  width: 90%;              /* Adjust this to match your title's width */
  max-width: 500px;        /* Optional: cap the width */
  border-radius: 8px;      /* Optional: soft corners */
  box-shadow: 0 4px 16px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

.video-container iframe {
  width: 100%;
  height: 300px;           /* Adjust height as needed */
  border: 0;
}

@media (max-width: 600px) {
  .video-container iframe {
    height: 200px; /* or even 180px for tighter fit */
  }
}

.image
{
    width:25%;
}

.bigimage {
  max-width: 100%;   /* keeps image within screen/container */
  height: auto;      /* preserves aspect ratio */
  display: block;    /* avoids inline spacing issues */
  margin: 0 auto;    /* centers image horizontally */
}

/* Optional: limit size on larger screens */
@media (min-width: 768px) {
  .bigimage {
    max-width: 500px;  /* adjust to your preferred desktop width */
  }
}


#navigation {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 1em;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media screen and (max-width: 600px) {
  .tag-cloud-container {
    width: 90%;
    margin: 0 auto;
  }
}

.italic
{
    font-style: italic;  
}



.nav-separator {
  margin: 0 0.5rem;
  color: #aaa;
}





.contact-form {
    display: flex;
    flex-direction: column;
    gap: 6px; /* tighter spacing */
    max-width: 360px; /* keeps it neat */
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 2px; /* small space between label and field */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 6px; /* reduced padding */
    font-size: 1rem;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical; /* allow resizing but only vertically */
}

.contact-form button {
    margin-top: 8px;
    padding: 8px 12px; /* smaller button */
    font-size: 1rem;
    cursor: pointer;
}


.highlight {
    display: inline-block;
    background: #fff8c4; /* soft sticky-note yellow */
    border: 2px solid #e0c96d; /* warm golden border */
    padding: 0.6em 1em;
    margin: 1em 1em;
    font-weight: bold;
    color: #4b4032;
    box-shadow: 2px 3px 6px rgba(0,0,0,0.2);
    transform: rotate(-1.5deg);
}





.poll-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

.poll-question {
    margin: 0 0 16px 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.poll-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    cursor: pointer;
}

.poll-option:hover
{
    font-weight: bold;
}
.poll-option input[type="radio"] {
    transform: scale(1.2);
}

.poll-submit {
    margin-top: 12px;
    padding: 8px 14px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: #333;
    color: white;
    border-radius: 4px;
}

.poll-results-link {
    margin-top: 12px;
    text-align: center;
}

.poll-results-link a {
    font-size: 0.9rem;
    color: #555;
    text-decoration: underline;
}



/* container centering */
.profile-wrap {
  text-align: center;
  margin: 1.25rem 0;
}

/* frame that looks like a small painted canvas */
.profile-frame {
  width: 240px;
  height: 240px;
  padding: 10px;                       /* inner mat */
  background: #f6f2ea;                 /* warm paper */
  border: 6px solid #e6dccb;           /* painted frame edge */
  box-shadow:
    0 6px 18px rgba(20,20,20,0.12),    /* soft drop shadow */
    inset 0 1px 0 rgba(255,255,255,0.35); /* subtle highlight */
  overflow: hidden;
  display: inline-block;
  transform: rotate(-4deg);            /* frame tilt */
  transition: transform 180ms ease;
  will-change: transform;
  border-radius: 6px;                  /* slight rounding like a canvas */
  position: relative;
}

/* faint textured edge to feel like paint */
.profile-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(255,255,255,0.02));
  mix-blend-mode: multiply;
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.02) inset;
}

/* the image itself, slightly rotated for a jaunty look */
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: rotate(6deg);             /* jaunty angle inside the frame */
  transition: transform 220ms ease, filter 220ms ease;
  filter: contrast(1.02) saturate(0.98);
}

/* hover: gentle straighten and lift */
.profile-frame:hover {
  transform: rotate(-1deg) translateY(-4px);
}
.profile-frame:hover .profile-photo {
  transform: rotate(0deg);
  filter: contrast(1.04) saturate(1.02);
}


/* Applies only to <figure class="img-polished"> and its children */
figure.img-polished {
  /* Layout and spacing */
  display: inline-block;
  margin: 1rem;
  width: fit-content;

  /* Visual polish */
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  background-color: #fff; /* optional, helps shadow stand out */
}

/* Targets only the <img> inside that figure */
figure.img-polished img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px; /* matches figure corners */
}

/* Optional: subtle fade at bottom of image */
figure.img-polished img {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* Caption styling scoped to this figure only */
figure.img-polished figcaption {
  font-size: 0.8rem;
  color: #666;
  margin-top: 8px;
  text-align: center;
}


.hamburger-container {
    position: relative;
}

.hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Mobile menu hidden by default */
.mobile-menu {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-menu a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
}

.mobile-menu a:hover {
    background: #f5f5f5;
}

/* When active */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu.active {
    display: block;
}


.top-bar {
    display: flex;
    align-items: center;
    gap: 12px;          /* space between burger and search box */
    padding: 8px 0;
}
.top-bar {
    justify-content: flex-start;
}


#search-box {
    flex: 1;                     /* expands to fill remaining space */
    max-width: 250px;            /* optional: keeps it tidy */
    padding: 6px 8px;
    font-size: 1rem;
}


.search-result {
    margin-bottom: 16px;
}

.search-result a {
    text-decoration: none;
    color: inherit;
}

.search-result a:hover {
    text-decoration: underline;
}

.search-container {
    position: relative;
}

#search-panel {
    display: none; /* hidden by default */
    position: absolute;
    top: 40px;        /* below the search box */
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
}

#search-panel.active {
    display: block;
}

.search-container {
    position: relative;
}

#search-panel {
    display: none;
    position: absolute;
    top: 40px; /* below the search box */
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
}

#search-panel.active {
    display: block;
}
