/* Ana sayfa — Sizden gelenler yatay şerit + paylaşım kutusu */

.community-teaser-section {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  padding: 2.75rem 0 3rem;
  margin: 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

@media (min-width: 768px) {
  .community-teaser-section {
    padding: 3.25rem 0 3.5rem;
  }
}

.community-teaser-section .container {
  max-width: 1140px;
}

.community-teaser-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
}

@media (min-width: 576px) {
  .community-teaser-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
  }
}

.community-teaser-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}

.community-teaser-title a {
  color: inherit;
  text-decoration: none;
}

.community-teaser-title a:hover {
  color: #c36a43;
}

.community-teaser-sub {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.45;
  max-width: 520px;
}

.community-teaser-strip-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0 0.5rem;
}

.community-teaser-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
  padding-bottom: 4px;
}

.community-teaser-thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #f0f0f0;
  display: block;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.community-teaser-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.community-teaser-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.community-teaser-add {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 12px;
  border: 2px dashed #c36a43;
  background: linear-gradient(145deg, rgba(195, 106, 67, 0.09) 0%, rgba(195, 106, 67, 0.02) 100%);
  color: #c36a43;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.community-teaser-add:hover {
  background: linear-gradient(145deg, rgba(195, 106, 67, 0.16) 0%, rgba(195, 106, 67, 0.06) 100%);
  border-color: #a85a38;
  color: #a85a38;
  transform: translateY(-2px);
}

.community-teaser-add i {
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 6px;
}

/* ——— Paylaşım modalı ——— */
.community-compose-root .modal-dialog {
  max-width: 480px;
}

@media (min-width: 576px) {
  .community-compose-root .modal-dialog {
    max-width: 520px;
  }
}

.community-compose-root .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.community-compose-root .modal-header {
  border: none;
  padding: 1.25rem 1.5rem 0.75rem;
  background: linear-gradient(135deg, #2d2a28 0%, #1a1816 100%);
  color: #fff;
}

.community-compose-root .modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.community-compose-root .modal-title .bi {
  font-size: 1.25rem;
  opacity: 0.9;
}

.community-compose-root .modal-header .close {
  color: #fff;
  opacity: 0.85;
  text-shadow: none;
  font-size: 1.5rem;
  font-weight: 300;
  padding: 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
}

.community-compose-root .modal-header .close:hover {
  opacity: 1;
  color: #fff;
}

.community-compose-root .modal-body {
  padding: 1.5rem 1.5rem 1.65rem;
  background: #faf9f8;
}

.community-compose-root .community-compose-lead {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  text-align: left;
}

.community-compose-root .community-compose-lead a {
  font-weight: 600;
  color: #c36a43;
}

.community-compose-root .community-compose-callout {
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}

.community-compose-root .community-compose-callout a {
  font-weight: 600;
  color: #c36a43;
}

.community-compose-root .community-compose-form .form-group {
  margin-bottom: 1.15rem;
}

.community-compose-root .community-compose-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.community-compose-root .community-compose-drop {
  position: relative;
  border: 2px dashed #cfc8c2;
  border-radius: 12px;
  padding: 1.35rem 1rem;
  text-align: center;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.community-compose-root .community-compose-drop:hover,
.community-compose-root .community-compose-drop:focus-within {
  border-color: #c36a43;
  background: rgba(195, 106, 67, 0.04);
}

.community-compose-root .community-compose-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.community-compose-root .community-compose-drop-inner {
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.community-compose-root .community-compose-drop-inner .bi {
  font-size: 2rem;
  color: #c36a43;
  display: block;
  margin-bottom: 0.35rem;
}

.community-compose-root .community-compose-drop-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.2rem;
}

.community-compose-root .community-compose-drop-hint {
  font-size: 0.78rem;
  color: #888;
  margin: 0;
}

.community-compose-root .community-compose-form textarea.form-control {
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 0.92rem;
  resize: vertical;
  padding: 0.75rem 1rem;
}

.community-compose-root .community-compose-form textarea.form-control:focus {
  border-color: #c36a43;
  box-shadow: 0 0 0 0.15rem rgba(195, 106, 67, 0.2);
}

.community-compose-root .community-compose-form .btn-primary {
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  background: #c36a43;
  border-color: #c36a43;
}

.community-compose-root .community-compose-form .btn-primary:hover {
  background: #a85a38;
  border-color: #a85a38;
}

.community-compose-root #communityComposeErr {
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: #fdecea;
}
