/* Some basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  max-width: 98%;
  height: auto;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  text-transform: lowercase;
}
h1 {
  font-size: calc(0.8rem + 0.2vw);
  font-weight: 100;
  font-style: italic;
}
h2 {
  font-size: calc(1.3rem + 0.2vw);
  font-weight: 600;
  font-style: normal;
}
h3, h4, h5, h6 {
  font-size: calc(0.6rem + 0.2vw);
  font-weight: 100;
  font-style: italic;
  margin-bottom: 5px;
}
p {
  font-size: calc(0.8rem + 0.2vw);
  font-weight: 100;
  font-style: normal;
}
li {
  font-size: calc(0.9rem + 0.2vw);
  font-weight: 300;
  font-style: normal;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
header {
  background: url('/bee.png') no-repeat left center;
  padding: 0 0 0 70px;
  height: 61px;
  display: flex;
  align-items: flex-end;
  font-style: italic;
  font-size: calc(0.8rem + 0.2vw);
  font-weight: 100;
}
.header-text {
  opacity: 0;
  transform: translateY(-20px);
  animation: slideIn 1s ease-out forwards;
  margin-bottom: 1px;
}
.columns {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
}
.left-column {
  flex: 1 1 66.66%;
  text-align: right;
}
.right-column {
  flex: 1 1 33.33%;
  text-align: left; /* Desktop: left-aligned */
}
.cs {
  margin-bottom: 20px;
}
.gallery-link {
  position: relative;  /* Establish positioning context */
  display: inline-block;
}
.gallery-link img {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  border: 1px solid #fff;
  background: #fff;
  padding: 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  width: 150px;
  opacity: 0;          /* Hide image by default */
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.gallery-link:hover img {
  opacity: 1;          /* Show image on hover */
  visibility: visible;
}
footer {
  font-size: calc(0.6rem + 0.2vw);
  font-weight: 100;
  text-align: center;
  padding: 10px;
  background: #f4f4f4;
}
.search-form {
  background: #f2fcff;
  padding: 20px;
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.search-form input[type="text"] {
  padding: 10px;
  border: 1px solid #f1f1f1;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
}
.search-form input[type="submit"] {
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-form input[type="submit"]:hover {
  background: #111;
}
.search-form label {
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}
.search-form input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
/* Like button — clean (no native border), hover color + bulge */
.like-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;

  display: inline-block;              /* needed for transform */
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 120ms cubic-bezier(.2,.8,.2,1), color .15s ease;

  text-decoration: none;
  font-size: 20px;
  color: #ffdcdc;
  margin-right: 0;                    /* tightened gap */
}
.like-btn:hover {
  color: #ffbcbc;                     /* your original hover color */
  transform: scale(1.15);             /* bulge on hover */
}
.like-btn:active {
  transform: scale(0.92);             /* quick press feedback */
}
.like-btn:focus { outline: none; }
.like-btn::-moz-focus-inner { border: 0; padding: 0; }

/* Like count — keep original sizing */
.like-count {
  font-size: 16px;
  vertical-align: middle;
  padding-left: 0;                    /* tightened gap */
}

/* Thin gradient line through the heart and the count */
.like-inline,
.like-count {
  background-image: linear-gradient(to right, #e6e6e6 0%, #b3b3b3 50%, #e6e6e6 100%);
  background-repeat: no-repeat;
  background-size: 100% 1px;          /* thickness (use 0.5px for hairline) */
  background-position: 0 50%;         /* dead-center through the text */
  padding: 0 4px;
  vertical-align: middle;
}

/* Join the two pieces so the line looks continuous and tight */
.like-inline {
  display: inline;
  padding-right: 0;                   /* no extra space after the heart */
  margin-right: -6px;                 /* hides tiny inline gap; tweak to -8px if needed */
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .like-btn { transition: color .15s ease; transform: none !important; }
  .like-btn:hover, .like-btn:active { transform: none !important; }
}

.load-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  text-align: center;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}
@keyframes slideIn {
  to {
  opacity: 1;
  transform: translateY(0);
}
}
input[type="submit"] {
  background-color: #000;
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.favorite {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
.favorite h2 {
  font-size: 1.2rem;
  margin: 0 0 5px;
}
.favorite p {
  margin: 5px 0;
}
.favorite .images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.favorite .images img {
  max-width: 100px;
  height: auto;
  padding: 5px;
}
.input-upload {
  width: auto;
  border-style: none;
  font-size: 16px;
  color:#000;
}

textarea {
  width: 100%; max-width: 600px;
}
.social-widget {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.social-widget a.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background-color: #000;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}
.social-widget a.social-btn:hover {
  background-color: #444;
}
/* Force any network-specific classes to use black background */
  .social-widget a.facebook,
  .social-widget a.twitter,
  .social-widget a.linkedin {
  background-color: #000;
}
  .social-widget a.facebook:hover,
  .social-widget a.twitter:hover,
  .social-widget a.linkedin:hover {
  background-color: #444;
}
/* show hand cursor over the heart */
.like-btn { cursor: pointer; }

/* optional: don't show hand when disabled */
.like-btn[disabled] { cursor: default; }

@media (max-width: 600px) {
  .columns {
  flex-direction: column;
}
  .left-column,
  .right-column {
  flex: 1 1 100%;
}
.right-column {
  text-align: right;
}
.poll label {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
}
.poll label input[type="radio"] {
  margin-left: 5px;
}
.poll br {
  margin: 0;
  line-height: 1;
}
/* Added: space between vote count and gender option */
.poll label .vote-count {
  margin-right: 4px;
}
}