head {
  background-image: url("bg.png");
} 


video, img, figure {
  /* override other styles to make responsive */
  width: 100%; /*    !important;*/
  height: auto   !important;
  margin: 0px 0px 0px;
  border-radius: 8px;
}

figcaption {
  font-family: noto-sans, sans-serif;
  font-size: 14px;
  color: #757575;
  margin-bottom: 24px;
}

h1 {
  font-family: plantin, serif;
  font-weight: 600;
  font-size: 42px;
  color: #020202;
  margin-bottom: 0em;
}

h3 {
  font-family: plantin, serif;
  font-weight: 600;
  font-size: clamp(16px, 8vw, 42px);
  color: #020202;
  margin-bottom: 0;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis; 
}

h2 {
  font-family: plantin, serif;
  font-weight: 300;
  font-size: 22px;
  color: #020202;
  margin-top: 0em;
  margin-bottom: 0em;
}

p, ul {
  font-family: noto-sans, sans-serif;
  font-size: 18px;
  font-weight: 200;
  color: #6b6b6b;
  margin-top: 0em;
  margin-bottom: 0em;
}

#adr{
  margin-top: 0px;
  padding-top: 0px;
  width: 80%;
  opacity: 0.85;
  max-width: 240px;
}

.footer {
  color:rgba(140, 140, 140);
  bottom: 10px;
  font-size: 9pt;
  font-family: Sans-serif;
  font-weight: lighter;
  height: 2em;
  margin-top: 10px;
  text-align: center;
}


a:link {
  font-weight: 300;
  text-decoration: none;
}
/*
a.style1 {
  color: #F47BEF;
}

a.style2 {
  color: #7A9BF7;
}

a.style3 {
  color: #f5bb3a;
}

a.style4{
  color: #fab54d;
}
*/

a.style1 {
  color: #F0C94A;
}

a.style2 {
  color: #2a6bcc;
}

a.style3 {
  color: #8B0000;
}

a.style4{
  color: #FAB95F;
}
a.mealmoodstyle{
  color: #52c134;
}

a.no_style{
  color: inherit;
}


/*
#A6767E
#78ABBF
#F27A5E
#F26B5E
#BF6060
*/

a.style_back {
  color: #757575;
  font-weight: 600;
  font-family: noto-sans, sans-serif;
  font-size: 18px;
}

a:link,
a:visited {
  text-decoration: none;
}


a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: none;
}


#post-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
  /* padding: 20px; */
  grid-template-columns: 1fr;  /* Default: 1 column (mobile view) */
  max-width: 1200px;  /* Set maximum width of content */
  width: 100%;        /* Take full width within max-width */
  margin: 0 auto;     /* Center horizontally */
}

@media (min-width: 600px) {
  #post-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  /* Multiple columns (2 or more) on large screens */
  }
}

.post-tile {
  width: 100%;
  /* max-width: 400px; */
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background-color:  #ffd82c1c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.post-tile:link,
.post-tile:visited {
  color: inherit
}

.post-tile:hover {
  box-shadow: 0 4px 12px rgba(148, 89, 0, 0.1);
}

.post-tile img {
  width: 100%;
  height: 100%; /* fixed height for cropping */
  object-fit: cover; /* crops the image inside the box */
  display: block;
}

.post-info {
  padding: 0.8rem;
}

.post-interaction {
  text-align: center;
  display: flex;
  gap: 10px; /* space between buttons */
  margin-top: 2rem; /* optional: adds space above it */
}


#load-more {
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}


.post-img {
  width: 100%;
  height: auto;
  margin: .4rem 0;
}

.post-content {
  line-height: 1.6;
  margin: 0px;
  max-width: 100vw;
  
}

.like-button {
  flex: 1;
  margin-top: 2rem;
  background-color: transparent;
  border: 1px solid #aaa;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

.like-button:hover {
  background-color: #fdc0324f;
}

.post {
  align-items: center;
  width: 100%;
  max-width: 600px;     /* preferred content max width */
  padding: 0 15px;      /* global horizontal padding */
  box-sizing: border-box;
  padding-bottom: 20px;
}
.spacer {
  display: inline-block;
  margin: 0 0.5em;
}


html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #ffd82c1c;
}


body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

/* The wrapper for max width + side padding */
.page-container {
  width: 100%;
  max-width: 800px;     /* preferred content max width */
  padding: 0 20px;      /* global horizontal padding */
  box-sizing: border-box;
  padding-bottom: 20px;
}

.comments-section {
  max-width: 600px;
}

.comment {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.comment p {
  margin: 4px 0;
}

.comment strong {
  font-weight: 600;
}

.comment small {
  color: #777;
  font-size: 0.85em;
}

