/* ============================================
   Beanie Blossom Custom Styles
   ============================================ */

/* Bootstrap Color Overrides */
:root {
  --bs-primary: #9b59b6;
  --bs-primary-rgb: 155, 89, 182;
  --bs-secondary: #4caf50;
  --bs-secondary-rgb: 76, 175, 80;
  --bs-success: #80deac;
  --bs-info: #d8b5e3;
  --bs-warning: #ffd700;
  --bs-danger: #e91e63;
  --bs-light: #f8f9fa;
  --bs-dark: #2c2c2c;
  --bs-link-color: #9b59b6;
  --bs-link-hover-color: #e91e63;
}

/* Warm, Clean Body Background */
body {
  background: #fafafa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3a3a3a;
}

body>* {
  position: relative;
  z-index: 1;
}

.btn-primary {
  --bs-btn-bg: #9b59b6;
  --bs-btn-border-color: #9b59b6;
  --bs-btn-hover-bg: #8e44ad;
  --bs-btn-hover-border-color: #8e44ad;
  --bs-btn-active-bg: #8e44ad;
  --bs-btn-active-border-color: #8e44ad;
}

.btn-outline-primary {
  --bs-btn-color: #9b59b6;
  --bs-btn-border-color: #9b59b6;
  --bs-btn-hover-bg: #9b59b6;
  --bs-btn-hover-border-color: #9b59b6;
  --bs-btn-active-bg: #9b59b6;
  --bs-btn-active-border-color: #9b59b6;
}

a {
  color: #9b59b6;
  text-decoration: none;
}

a:hover {
  color: #e91e63;
}

/* Header Styles */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 4px 20px rgba(155, 89, 182, 0.08);
}

/* Row 1: Brand */
.site-header-brand {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(155, 89, 182, 0.1);
}

/* Row 2: Navigation */
.site-header-nav {
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50) 1;
}

.site-header .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #9b59b6, #e91e63) border-box;
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.25);
  transition: all 0.4s ease;
}

.site-header .avatar:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 20px rgba(155, 89, 182, 0.35);
}

.site-logo-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: #9b59b6;
  margin-left: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-logo-text:hover {
  color: #e91e63;
}

/* Navigation */
.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 0.65rem;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #9b59b6, #e91e63);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  color: #e91e63 !important;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: 2px solid #9b59b6;
  border-radius: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(155, 89, 182, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%239b59b6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Main Content Area */
.main-content {
  min-height: calc(100vh - 300px);
  padding: 3rem 0;
  position: relative;
  container-type: inline-size;
  container-name: main;
}

/* Hero Section with Warmth */
.hero-section {
  padding: 2rem 0;
  position: relative;
}

.hero-section img {
  border-radius: 1.5rem;
  box-shadow: 0 15px 50px rgba(155, 89, 182, 0.2),
    0 5px 15px rgba(233, 30, 99, 0.1);
  transition: all 0.5s ease;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.hero-section img:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 20px 60px rgba(155, 89, 182, 0.25),
    0 8px 20px rgba(233, 30, 99, 0.15);
}

.hero-section h1 {
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1.25rem;
  font-size: 2.5rem;
}

.hero-section .lead {
  color: #5a5a5a;
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero-section p {
  color: #6a6a6a;
  line-height: 1.7;
}

/* Section Headers */
.section-header {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.section-header h1,
.section-header h2 {
  color: #2c2c2c;
  font-weight: 700;
}

.frame {
  padding-bottom: 0;
}

/* Cards & Content Blocks */

/* Equal-height stretch for the Content Cards layout (layout=170).
   Targets the standard TYPO3 frame-layout-{layout} class, so this works
   wherever layout=170 is used, without touching the shared universal
   Layouts/Default.html markup used by every other content element. */
.frame-layout-170 {
  display: flex;
}
.frame-layout-170 > .ce-cards-container {
  width: 100%;
}

.content-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.12),
    0 2px 8px rgba(233, 30, 99, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.content-card:hover::before {
  opacity: 1;
}

.content-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(155, 89, 182, 0.2),
    0 5px 15px rgba(233, 30, 99, 0.15);
  border-color: rgba(155, 89, 182, 0.3);
}

.content-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.content-card:hover img {
  transform: scale(1.05);
}

.content-card .card-body {
  padding: 1.75rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.content-card .card-title {
  color: #9b59b6;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #b565d8 0%, #9b59b6 50%, #8e44ad 100%);
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c77ae0 0%, #a865c9 50%, #9b59b6 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #66bb6a 0%, #4caf50 50%, #45a049 100%);
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.4s ease;
  color: #fff;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  border-radius: 2rem;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #81c784 0%, #66bb6a 50%, #4caf50 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-outline-primary {
  border: 2px solid #9b59b6;
  color: #9b59b6;
  font-weight: 600;
  transition: all 0.4s ease;
  background: transparent;
  padding: 0.7rem 2rem;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}

.btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #9b59b6;
  transition: width 0.4s ease, height 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.btn-outline-primary:hover::before {
  width: 300%;
  height: 300%;
}

.btn-outline-primary:hover {
  border-color: #9b59b6;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
}

/* Copy Button Styling (for PromptShares) */
.copy-prompt-btn {
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.copy-prompt-btn:hover {
  background: linear-gradient(135deg, #d81b60 0%, #e91e63 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.3);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #3a2a4a 0%, #2c2c2c 50%, #2a3a2e 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50) 1;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(155, 89, 182, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.site-footer h5 {
  color: #e6d5f0;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #9b59b6, #e91e63);
  border-radius: 3px;
}

.site-footer a {
  color: #d8b5e3;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.site-footer a:hover {
  color: #ffd4e5;
  padding-left: 5px;
}

.footer-social-links a {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(233, 30, 99, 0.2));
  margin-right: 0.75rem;
  transition: all 0.4s ease;
  font-size: 1.1rem;
  border: 2px solid rgba(155, 89, 182, 0.3);
}

.footer-social-links a:hover {
  background: linear-gradient(135deg, #9b59b6, #e91e63);
  color: #fff;
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
  border-color: transparent;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Accent Elements */
.accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #9b59b6, #e91e63);
  border-radius: 3px;
  margin: 1rem 0;
}

.gradient-bg-light {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.03) 0%, rgba(233, 30, 99, 0.03) 100%);
}

.gradient-bg-green {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.03) 0%, rgba(128, 222, 172, 0.03) 100%);
}

/* Utility Classes */
.text-purple {
  color: #9b59b6 !important;
}

.text-pink {
  color: #e91e63 !important;
}

.text-green {
  color: #4caf50 !important;
}

.bg-purple-light {
  background-color: rgba(155, 89, 182, 0.1) !important;
}

.bg-pink-light {
  background-color: rgba(233, 30, 99, 0.1) !important;
}

.bg-green-light {
  background-color: rgba(76, 175, 80, 0.1) !important;
}

/* Global Spacing Utilities */
/* Before (Margin Top) */
.frame-space-before-large {
  margin-top: 3rem !important;
}

.frame-space-before-medium {
  margin-top: 1.5rem !important;
}

.frame-space-before-small {
  margin-top: 0.5rem !important;
}

/* After (Margin Bottom) */
.frame-space-after-large {
  margin-bottom: 3rem !important;
}

.frame-space-after-medium {
  margin-bottom: 1.5rem !important;
}

.frame-space-after-small {
  margin-bottom: 0.5rem !important;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background-color: #9b59b6;
  color: #fff;
}

::-moz-selection {
  background-color: #9b59b6;
  color: #fff;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #9b59b6;
  outline-offset: 2px;
}

/* Loading Animation (if needed) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Pagination Styles */
.pagination .page-link {
  color: #9b59b6;
  border-color: rgba(155, 89, 182, 0.2);
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #9b59b6;
  color: #fff;
  border-color: #9b59b6;
}

.pagination .page-item.active .page-link {
  background-color: #9b59b6;
  border-color: #9b59b6;
  color: #fff;
}

/* ============================================
   UPDATES PAGE STYLES
   ============================================ */

/* Page Header */
.page-header {
  padding: 2rem 0;
}

.page-header h1 {
  font-weight: 700;
  color: #2c2c2c;
}

/* Featured Post */
.featured-post {
  animation: fadeIn 0.8s ease-out;
}

.featured-post .content-card {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
}

.featured-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
  transition: transform 0.6s ease;
}

.featured-post .content-card:hover .featured-post-image {
  transform: scale(1.1);
}

.featured-post h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.3;
}

/* Category Badges */
.badge-category {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-category.updates {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.badge-category.open-calls {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: #fff;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Badge on Image Overlay */
.badge-category-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.badge-category-overlay.updates {
  background: rgba(155, 89, 182, 0.9);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.badge-category-overlay.open-calls {
  background: rgba(76, 175, 80, 0.9);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Post Meta Info */
.post-meta {
  color: #888;
  font-size: 0.9rem;
}

.post-date {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
}

.post-date i {
  color: #9b59b6;
}

/* Update Cards */
.update-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
}

.update-card:nth-child(1) {
  animation-delay: 0.1s;
}

.update-card:nth-child(2) {
  animation-delay: 0.2s;
}

.update-card:nth-child(3) {
  animation-delay: 0.3s;
}

.update-card:nth-child(4) {
  animation-delay: 0.4s;
}

.update-card:nth-child(5) {
  animation-delay: 0.5s;
}

.update-card:nth-child(6) {
  animation-delay: 0.6s;
}

.update-card img {
  height: 250px;
  object-fit: cover;
}

.update-card .card-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  min-height: 2.8em;
  color: #2c2c2c;
  font-weight: 700;
}

.update-card .text-muted {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-card .btn-outline-primary {
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
}

/* Updates Grid Spacing */
.updates-grid {
  margin-top: 3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .featured-post-image {
    min-height: 250px;
  }

  .featured-post h2 {
    font-size: 1.5rem;
  }

  .update-card img {
    height: 200px;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

/* Hover Effects for Update Cards */
.update-card:hover {
  transform: translateY(-6px);
}

.update-card:hover img {
  transform: scale(1.08);
}



/* ============================================
   PROMPTSHARES GALLERY STYLES
   ============================================ */

/* Prompt Card */
.prompt-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.12),
    0 2px 8px rgba(233, 30, 99, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
}

.prompt-card:nth-child(1) {
  animation-delay: 0.1s;
}

.prompt-card:nth-child(2) {
  animation-delay: 0.15s;
}

.prompt-card:nth-child(3) {
  animation-delay: 0.2s;
}

.prompt-card:nth-child(4) {
  animation-delay: 0.25s;
}

.prompt-card:nth-child(5) {
  animation-delay: 0.3s;
}

.prompt-card:nth-child(6) {
  animation-delay: 0.35s;
}

.prompt-card:nth-child(7) {
  animation-delay: 0.4s;
}

.prompt-card:nth-child(8) {
  animation-delay: 0.45s;
}

.prompt-card:nth-child(9) {
  animation-delay: 0.5s;
}

.prompt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.prompt-card:hover::before {
  opacity: 1;
}

.prompt-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(155, 89, 182, 0.2),
    0 5px 15px rgba(233, 30, 99, 0.15);
  border-color: rgba(155, 89, 182, 0.3);
}

/* Special One-Word Prompt Card */
.prompt-card-special {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
  border: 2px solid rgba(155, 89, 182, 0.2);
}

.prompt-card-special::before {
  opacity: 0.5;
}

.special-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #663399;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Prompt Image */
.prompt-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.prompt-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prompt-card:hover .prompt-image {
  transform: scale(1.1);
}

/* Prompt Overlay */
.prompt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(155, 89, 182, 0) 0%,
      rgba(155, 89, 182, 0.7) 70%,
      rgba(155, 89, 182, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.prompt-card:hover .prompt-overlay {
  opacity: 1;
}

/* Copy Prompt Button */
.btn-copy-prompt {
  background: linear-gradient(135deg, #e91e63, #d81b60);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-copy-prompt::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-copy-prompt:hover::before {
  left: 100%;
}

.btn-copy-prompt:hover {
  background: linear-gradient(135deg, #f50057, #e91e63);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

.btn-copy-prompt:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-copy-prompt.copied {
  background: linear-gradient(135deg, #4caf50, #45a049);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

/* Prompt Body */
.prompt-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.prompt-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #9b59b6;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.prompt-text {
  color: #5a5a5a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.prompt-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(155, 89, 182, 0.1);
}

.social-link {
  color: #9b59b6;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-link:hover {
  color: #e91e63;
  transform: translateX(3px);
}

.social-link i {
  margin-right: 0.35rem;
}

/* Toast Notification Styling */
#copyToast {
  background: linear-gradient(135deg, #4caf50, #45a049);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
  border-radius: 0.75rem;
}

#copyToast .toast-body {
  font-weight: 500;
  font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .prompt-card {
    margin-bottom: 1rem;
  }

  .btn-copy-prompt {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .prompt-title {
    font-size: 1.1rem;
  }
}

/* Grid Spacing */
.promptshare-gallery {
  margin-top: 2rem;
}

/* ============================================
   VIDEOS & ANIMATIONS PAGE STYLES
   ============================================ */

/* Video Card */
.video-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.12),
    0 2px 8px rgba(233, 30, 99, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.6s ease-out;
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.video-card:hover::before {
  opacity: 1;
}

.video-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(155, 89, 182, 0.2),
    0 5px 15px rgba(233, 30, 99, 0.15);
}

/* Video Thumbnail */
.video-thumbnail-wrapper {
  position: relative;
  overflow: hidden;
}

.video-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Core fluid_styled_content wraps YouTube/Vimeo embeds in .video-embed
   (see Media/Type/Video.html), with the iframe's width/height attributes
   coming from TYPO3's gallery column calculation - often small. Force it
   to a responsive 16:9 box that fills its column width instead. */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-embed iframe,
.video-embed .video-embed-item {
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Category Badges */
.badge-category-overlay.inspirational {
  background: rgba(155, 89, 182, 0.9);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.badge-category-overlay.fun {
  background: rgba(255, 193, 7, 0.9);
  color: #663399;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Video Body */
.video-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #9b59b6;
  margin-bottom: 0.5rem;
}

.video-subtitle {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: block;
}

.video-description {
  color: #5a5a5a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.video-meta {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(155, 89, 182, 0.1);
  margin-bottom: 1rem;
}

.video-tools {
  color: #888;
  font-size: 0.85rem;
}

/* ============================================
   SONGS PAGE STYLES
   ============================================ */

/* Platform Buttons */
.streaming-platforms {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
  border-radius: 1.25rem;
}

.platform-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-platform {
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  color: #fff;
}

.btn-platform.spotify {
  background: linear-gradient(135deg, #1DB954, #1ed760);
  box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.btn-platform.spotify:hover {
  background: linear-gradient(135deg, #1ed760, #1DB954);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.btn-platform.apple-music {
  background: linear-gradient(135deg, #FA243C, #ff4757);
  box-shadow: 0 4px 15px rgba(250, 36, 60, 0.3);
}

.btn-platform.apple-music:hover {
  background: linear-gradient(135deg, #ff4757, #FA243C);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(250, 36, 60, 0.4);
}

.btn-platform.youtube-music {
  background: linear-gradient(135deg, #FF0000, #ff3333);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-platform.youtube-music:hover {
  background: linear-gradient(135deg, #ff3333, #FF0000);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-platform.itunes {
  background: linear-gradient(135deg, #A561C4, #b579d1);
  box-shadow: 0 4px 15px rgba(165, 97, 196, 0.3);
}

.btn-platform.itunes:hover {
  background: linear-gradient(135deg, #b579d1, #A561C4);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(165, 97, 196, 0.4);
}

.btn-platform.amazon-music {
  background: linear-gradient(135deg, #FF9900, #ffb84d);
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.btn-platform.amazon-music:hover {
  background: linear-gradient(135deg, #ffb84d, #FF9900);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

/* Song Card */
.song-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.12),
    0 2px 8px rgba(233, 30, 99, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  height: 100%;
  animation: fadeIn 0.6s ease-out;
}

.song-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.song-card:hover::before {
  opacity: 1;
}

.song-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px rgba(155, 89, 182, 0.2),
    0 5px 15px rgba(233, 30, 99, 0.15);
}

/* Song Artwork */
.song-artwork-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 250px;
}

.song-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.song-card:hover .song-artwork {
  transform: scale(1.1);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(155, 89, 182, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.song-card:hover .play-overlay {
  opacity: 1;
}

.play-button {
  font-size: 4rem;
  color: #fff;
  transition: all 0.3s ease;
}

.play-button:hover {
  color: #ffd4e5;
  transform: scale(1.2);
}

/* Song Body */
.song-body {
  padding: 1.75rem;
}

.song-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.song-badge.resilience {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.song-badge.upcoming {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #663399;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.song-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 0.75rem;
}

.song-description {
  color: #5a5a5a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.song-details {
  font-size: 0.9rem;
  color: #6a6a6a;
}

.detail-item {
  margin-bottom: 0.5rem;
}

/* Streaming Links */
.streaming-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.streaming-icon {
  font-size: 1.5rem;
  color: #9b59b6;
  transition: all 0.3s ease;
}

.streaming-icon:hover {
  color: #e91e63;
  transform: scale(1.2);
}

/* Placeholder Song Card */
.song-card-placeholder {
  opacity: 0.7;
}

.song-artwork-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(233, 30, 99, 0.1));
  color: #9b59b6;
}

.song-artwork-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.song-artwork-placeholder p {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

/* ============================================
   INDIVIDUAL SONG PAGE STYLES
   ============================================ */

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item a {
  color: #9b59b6;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #e91e63;
}

.breadcrumb-item.active {
  color: #6a6a6a;
}

/* Song Hero */
.song-artwork-large {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(155, 89, 182, 0.25),
    0 5px 15px rgba(233, 30, 99, 0.15);
  transition: all 0.5s ease;
}

.song-artwork-large:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 20px 60px rgba(155, 89, 182, 0.3),
    0 8px 20px rgba(233, 30, 99, 0.2);
}

.song-badge-large {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.song-badge-large.resilience {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff;
  box-shadow: 0 3px 10px rgba(155, 89, 182, 0.3);
}

.song-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.2;
}

.song-hero-subtitle {
  font-size: 1.25rem;
  color: #6a6a6a;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.streaming-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.song-meta-info {
  background: rgba(155, 89, 182, 0.05);
  padding: 1.25rem;
  border-radius: 0.75rem;
  border-left: 4px solid #9b59b6;
}

.meta-item {
  margin-bottom: 0.75rem;
  color: #5a5a5a;
  font-size: 0.95rem;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-item strong {
  color: #9b59b6;
}

/* Story Content */
.story-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a3a3a;
}

.story-content h2 {
  font-weight: 700;
  color: #2c2c2c;
}

.story-content p {
  margin-bottom: 1.5rem;
}

.story-content a {
  color: #9b59b6;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid rgba(155, 89, 182, 0.3);
  transition: all 0.3s ease;
}

.story-content a:hover {
  color: #e91e63;
  border-bottom-color: #e91e63;
}

/* Quote Block */
.quote-block {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08), rgba(233, 30, 99, 0.08));
  border-left: 5px solid #9b59b6;
  padding: 2rem 2.5rem;
  border-radius: 0.75rem;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(155, 89, 182, 0.3);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.quote-text {
  font-size: 1.25rem;
  font-style: italic;
  color: #5a5a5a;
  margin: 0;
  padding-left: 2.5rem;
  line-height: 1.6;
}

/* YouTube Embed */
.youtube-embed-container {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(155, 89, 182, 0.2);
}

/* Related Content */
.related-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(155, 89, 182, 0.15);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(155, 89, 182, 0.15);
  border-color: rgba(155, 89, 182, 0.3);
}

.related-icon {
  font-size: 2.5rem;
  color: #9b59b6;
  margin-bottom: 1rem;
}

.related-card h4 {
  color: #9b59b6;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.related-card p {
  color: #6a6a6a;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Share Buttons */
.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share {
  padding: 0.65rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  color: #fff;
}

.btn-share.twitter {
  background: linear-gradient(135deg, #1DA1F2, #0c85d0);
  box-shadow: 0 3px 12px rgba(29, 161, 242, 0.3);
}

.btn-share.twitter:hover {
  background: linear-gradient(135deg, #0c85d0, #1DA1F2);
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(29, 161, 242, 0.4);
}

.btn-share.facebook {
  background: linear-gradient(135deg, #1877F2, #0e5ec7);
  box-shadow: 0 3px 12px rgba(24, 119, 242, 0.3);
}

.btn-share.facebook:hover {
  background: linear-gradient(135deg, #0e5ec7, #1877F2);
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(24, 119, 242, 0.4);
}

.btn-share.email {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  box-shadow: 0 3px 12px rgba(155, 89, 182, 0.3);
}

.btn-share.email:hover {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(155, 89, 182, 0.4);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05), rgba(233, 30, 99, 0.05));
  border-radius: 1.25rem;
  padding: 3rem 2rem !important;
}

.cta-section h2 {
  background: linear-gradient(135deg, #9b59b6, #e91e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .song-hero-title {
    font-size: 2rem;
  }

  .streaming-buttons {
    flex-direction: column;
  }

  .btn-platform {
    width: 100%;
  }

  .platform-buttons {
    flex-direction: column;
  }

  .quote-text {
    font-size: 1.1rem;
    padding-left: 1.5rem;
  }

  .share-buttons {
    flex-direction: column;
  }

  .btn-share {
    width: 100%;
  }
}

/* ============================================
   COMMUNITY CREATIONS STYLES
   ============================================ */

/* Community Intro */
.community-intro {
  padding: 2rem 0;
}

/* Intro Card */
.intro-card,
.frame-layout-150 {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05), rgba(76, 175, 80, 0.05));
  border-radius: 1.25rem;
  padding: 2.5rem;
  border: 2px solid rgba(155, 89, 182, 0.15);
  margin-left: auto;
  margin-right: auto;
}

.intro-card,
.frame-layout-151 {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05), rgba(76, 175, 80, 0.05));
  border-radius: 1.25rem;
  padding: 2.5rem;
  border: 2px solid rgba(155, 89, 182, 0.15);
  margin-left: auto;
  margin-right: auto;
}


@container main (min-width: 992px) {

  .intro-card,
  .frame-layout-150 .frame-layout-151 {
    width: 66.666667%;
  }
}

.intro-card.text-center,
.frame-layout-150,
.frame-layout-151 {
  text-align: center;
}

.intro-card .lead,
.frame-layout-150 p {
  font-size: 1.15rem;
  color: #5a5a5a;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.intro-card p,
.frame-layout-150 p {
  color: #6a6a6a;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Challenge Card */
.challenge-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.12),
    0 2px 8px rgba(76, 175, 80, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  height: 100%;
  animation: fadeIn 0.6s ease-out;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9b59b6, #4caf50, #e91e63);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.challenge-card:hover::before {
  opacity: 1;
}

.challenge-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(155, 89, 182, 0.2),
    0 5px 15px rgba(76, 175, 80, 0.15);
}

/* Challenge Image */
.challenge-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.challenge-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.challenge-card:hover .challenge-image {
  transform: scale(1.1);
}

.challenge-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(76, 175, 80, 0.7) 70%,
      rgba(76, 175, 80, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.challenge-card:hover .challenge-overlay {
  opacity: 1;
}

.btn-view-gallery {
  background: #fff;
  color: #4caf50;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-view-gallery:hover {
  background: #4caf50;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Challenge Body */
.challenge-body {
  padding: 1.75rem;
}

.challenge-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.challenge-date {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
}

.challenge-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.challenge-badge.webbie {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: #fff;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.challenge-badge.upcoming {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #663399;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.challenge-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;
}

.challenge-description {
  color: #5a5a5a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Upcoming Challenge Card */
.challenge-card-upcoming {
  opacity: 0.85;
}

.challenge-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(76, 175, 80, 0.1));
  color: #4caf50;
}

.challenge-image-placeholder i {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.challenge-image-placeholder p {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

/* ============================================
   INDIVIDUAL CHALLENGE PAGE STYLES
   ============================================ */

/* Challenge Header */
.challenge-badge-large {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.challenge-badge-large.webbie {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: #fff;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.challenge-page-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.2;
}

.challenge-page-date {
  font-size: 1.1rem;
  color: #888;
  font-weight: 500;
}

/* Artwork Gallery */
.artwork-grid {
  margin-top: 2rem;
}

.artwork-item {
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
}

.artwork-item:nth-child(1) {
  animation-delay: 0.1s;
}

.artwork-item:nth-child(2) {
  animation-delay: 0.15s;
}

.artwork-item:nth-child(3) {
  animation-delay: 0.2s;
}

.artwork-item:nth-child(4) {
  animation-delay: 0.25s;
}

.artwork-item:nth-child(5) {
  animation-delay: 0.3s;
}

.artwork-item:nth-child(6) {
  animation-delay: 0.35s;
}

.artwork-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(155, 89, 182, 0.15);
  transition: all 0.4s ease;
}

.artwork-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(155, 89, 182, 0.25);
}

.artwork-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.artwork-image-wrapper:hover .artwork-image {
  transform: scale(1.05);
}

.artwork-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(155, 89, 182, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artwork-image-wrapper:hover .artwork-hover-overlay {
  opacity: 1;
}

.btn-view-full {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #9b59b6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-view-full:hover {
  background: #fff;
  transform: scale(1.15);
  color: #e91e63;
}

.artwork-info {
  padding: 1rem 0 0.5rem;
}

.artist-name {
  margin: 0;
  font-size: 0.95rem;
  color: #6a6a6a;
}

.artist-name a {
  color: #9b59b6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.artist-name a:hover {
  color: #e91e63;
}

/* Social Card */
.social-card {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(155, 89, 182, 0.08));
  border: 2px solid rgba(76, 175, 80, 0.2);
  border-radius: 1.25rem;
  padding: 2.5rem;
}

.social-card h3 {
  color: #2c2c2c;
  font-weight: 700;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Lightbox Modal */
#lightboxModal .modal-content {
  background: rgba(0, 0, 0, 0.95) !important;
}

#lightboxModal .btn-close {
  z-index: 1050;
  opacity: 1;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Adjustments */
/* Responsive Adjustments */
@container main (max-width: 768px) {
  .challenge-page-title {
    font-size: 2rem;
  }

  .challenge-image-wrapper {
    height: 250px;
  }

  .intro-card,
  .frame-layout-150 {
    padding: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .social-buttons {
    flex-direction: column;
  }
}

/* ============================================
   ARTSHOWCASE PAGE STYLES
   ============================================ */

/* Showcase Intro */
.showcase-intro .intro-card {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05), rgba(233, 30, 99, 0.05));
  border-radius: 1.25rem;
  padding: 2.5rem;
  border: 2px solid rgba(155, 89, 182, 0.15);
}

.showcase-intro .lead {
  font-size: 1.15rem;
  color: #5a5a5a;
  line-height: 1.8;
  margin: 0;
}

/* Collection Card */
.collection-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(155, 89, 182, 0.15),
    0 3px 10px rgba(233, 30, 99, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease-out;
}

.collection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.collection-card:hover::before {
  opacity: 1;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(155, 89, 182, 0.25),
    0 5px 15px rgba(233, 30, 99, 0.15);
}

/* Featured Collection */
.collection-featured {
  border: 3px solid rgba(155, 89, 182, 0.25);
}

.collection-featured::before {
  opacity: 0.5;
  height: 6px;
}

/* Collection Image/Embed */
.collection-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05), rgba(233, 30, 99, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-embed {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.collection-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Collection Body */
.collection-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.collection-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.collection-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.collection-badge.featured {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #663399;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.collection-badge.open-calls {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff;
  box-shadow: 0 3px 10px rgba(155, 89, 182, 0.3);
}

.collection-badge.nft {
  background: linear-gradient(135deg, #e91e63, #d81b60);
  color: #fff;
  box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
}

.collection-badge.humor {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: #fff;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.collection-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.collection-description {
  color: #5a5a5a;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.collection-details {
  background: rgba(155, 89, 182, 0.05);
  padding: 1.25rem;
  border-radius: 0.75rem;
  border-left: 4px solid #9b59b6;
}

.collection-details .detail-item {
  margin-bottom: 0.75rem;
  color: #5a5a5a;
  font-size: 0.95rem;
}

.collection-details .detail-item:last-child {
  margin-bottom: 0;
}

.collection-details .detail-item i {
  color: #9b59b6;
}

.collection-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Collections Gallery */
.collections-gallery {
  margin-top: 3rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .collection-body {
    padding: 2rem;
  }

  .collection-title {
    font-size: 1.75rem;
  }

  .collection-image-wrapper {
    min-height: 400px;
  }

  .collection-embed {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .showcase-intro .intro-card {
    padding: 1.75rem;
  }

  .collection-body {
    padding: 1.5rem;
  }

  .collection-title {
    font-size: 1.5rem;
  }

  .collection-image-wrapper {
    min-height: 300px;
  }

  .collection-embed {
    min-height: 300px;
  }

  .collection-actions {
    flex-direction: column;
  }

  .collection-actions .btn {
    width: 100%;
  }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Hero */
.about-hero {
  padding: 2rem 0;
}

.about-avatar-wrapper {
  position: relative;
  display: inline-block;
}

.about-avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 6px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #9b59b6, #e91e63, #4caf50) border-box;
  box-shadow: 0 10px 40px rgba(155, 89, 182, 0.3),
    0 0 60px rgba(233, 30, 99, 0.2);
  transition: all 0.5s ease;
}

.about-avatar:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 15px 50px rgba(155, 89, 182, 0.4),
    0 0 80px rgba(233, 30, 99, 0.3);
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.2;
}

.about-subtitle {
  font-size: 1.5rem;
  color: #6a6a6a;
  font-weight: 400;
  font-style: italic;
}

/* Bio Content */
.bio-content {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.03), rgba(233, 30, 99, 0.03));
  border-radius: 1.5rem;
  padding: 3.5rem;
  border: 2px solid rgba(155, 89, 182, 0.1);
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.08);
}

.bio-paragraph {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #3a3a3a;
  margin-bottom: 1.8rem;
  text-align: justify;
}

.bio-paragraph.first-paragraph::first-letter {
  font-size: 3.5rem;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin: 0 0.1em 0 0;
  color: #9b59b6;
}

.bio-paragraph.last-paragraph {
  margin-bottom: 0;
}

.bio-paragraph strong {
  color: #9b59b6;
  font-weight: 700;
  font-size: 1.2em;
}

/* What I Create Section */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2c2c2c;
}

.create-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(155, 89, 182, 0.15);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.create-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(155, 89, 182, 0.2);
  border-color: rgba(155, 89, 182, 0.3);
}

.create-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, #9b59b6, #e91e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.create-card h3 {
  color: #9b59b6;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.create-card p {
  color: #6a6a6a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* My Goal Section */
.goal-card {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(233, 30, 99, 0.1));
  border: 3px solid rgba(155, 89, 182, 0.2);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.goal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
}

.goal-icon {
  font-size: 3rem;
  color: #e91e63;
  margin-bottom: 1rem;
}

.goal-card h2 {
  font-size: 2rem;
  color: #2c2c2c;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.goal-text {
  font-size: 1.25rem;
  color: #5a5a5a;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

/* Connect CTA */
.connect-cta h2 {
  color: #2c2c2c;
  font-weight: 700;
}

.connect-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive About Page */
@media (max-width: 768px) {
  .about-avatar {
    width: 200px;
    height: 200px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 1.15rem;
  }

  .bio-content {
    padding: 2rem;
  }

  .bio-paragraph {
    font-size: 1.05rem;
    text-align: left;
  }

  .goal-card {
    padding: 2rem;
  }

  .connect-buttons {
    flex-direction: column;
  }
}

/* ============================================
   CONNECT PAGE STYLES (Link Hub)
   ============================================ */

/* Connect Page Body */
.connect-page {
  background: #fafafa;
  min-height: 100vh;
  padding: 2rem 0;
}

.connect-main {
  padding: 2rem 0;
}

/* Connect Header */
.connect-header {
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}

.connect-avatar-wrapper {
  position: relative;
  display: inline-block;
}

.connect-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #9b59b6, #e91e63, #4caf50) border-box;
  box-shadow: 0 6px 20px rgba(155, 89, 182, 0.25);
  transition: all 0.4s ease;
}

.connect-avatar:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.35);
}

.connect-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.connect-subtitle {
  font-size: 1rem;
  color: #6a6a6a;
  font-weight: 500;
  margin-bottom: 1rem;
}

.connect-bio {
  max-width: 480px;
  margin: 0 auto;
  color: #5a5a5a;
  font-size: 1rem;
  line-height: 1.6;
}

/* Link Section Header */
.link-section-header {
  margin: 2rem 0 1rem;
  text-align: center;
}

.link-section-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #9b59b6;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding: 0 1rem;
}

.link-section-header h2::before,
.link-section-header h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, #9b59b6, transparent);
}

.link-section-header h2::before {
  right: 100%;
}

.link-section-header h2::after {
  left: 100%;
  background: linear-gradient(90deg, transparent, #9b59b6);
}

/* Link Cards */
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(155, 89, 182, 0.15);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-card:hover::before {
  opacity: 1;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(155, 89, 182, 0.2);
  border-color: rgba(155, 89, 182, 0.3);
  text-decoration: none;
}

.link-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

/* Link Card Colors */
.link-card.website .link-icon {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff;
}

.link-card.social.twitter .link-icon {
  background: linear-gradient(135deg, #1DA1F2, #0c85d0);
  color: #fff;
}

.link-card.social.webbie .link-icon {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: #fff;
}

.link-card.music.spotify .link-icon {
  background: linear-gradient(135deg, #1DB954, #1ed760);
  color: #fff;
}

.link-card.music.apple .link-icon {
  background: linear-gradient(135deg, #FA243C, #ff4757);
  color: #fff;
}

.link-card.music.youtube .link-icon {
  background: linear-gradient(135deg, #FF0000, #ff3333);
  color: #fff;
}

.link-card.nft .link-icon {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #663399;
}

.link-card.shop .link-icon {
  background: linear-gradient(135deg, #e91e63, #d81b60);
  color: #fff;
}

.link-card.contact .link-icon {
  background: linear-gradient(135deg, #9b59b6, #e91e63);
  color: #fff;
}

.link-card:hover .link-icon {
  transform: scale(1.1) rotate(5deg);
}

.link-content {
  flex-grow: 1;
}

.link-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 0.25rem;
}

.link-content p {
  font-size: 0.9rem;
  color: #6a6a6a;
  margin: 0;
}

.link-arrow {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: #9b59b6;
  transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
  transform: translateX(5px);
  color: #e91e63;
}

/* Connect Footer */
.connect-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(155, 89, 182, 0.15);
  color: #6a6a6a;
  font-size: 0.9rem;
}

.connect-footer a {
  color: #9b59b6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.connect-footer a:hover {
  color: #e91e63;
}

/* Responsive Connect Page */
@media (max-width: 768px) {
  .connect-avatar {
    width: 100px;
    height: 100px;
  }

  .connect-title {
    font-size: 1.75rem;
  }

  .connect-subtitle {
    font-size: 0.95rem;
  }

  .connect-bio {
    font-size: 0.95rem;
  }

  .link-card {
    padding: 1rem 1.25rem;
  }

  .link-icon {
    width: 45px;
    height: 45px;
    font-size: 1.35rem;
  }

  .link-content h3 {
    font-size: 1rem;
  }

  .link-content p {
    font-size: 0.85rem;
  }

  .link-section-header h2 {
    font-size: 1rem;
  }
}

/* ============================================
   PAGE HEADER PARTIAL
   ============================================ */

.bb-page-header {
    padding: 2rem 0;
    text-align: center;
}

.bb-page-header-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.bb-page-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.75rem;
}

.bb-page-header-subtitle {
    font-size: 1.1rem;
    color: #6a6a6a;
    margin-bottom: 0;
}

.bb-accent-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #9b59b6, #e91e63, #4caf50);
    border-radius: 4px;
    margin: 1.25rem auto 0;
}

@media (max-width: 768px) {
    .bb-page-header-title {
        font-size: 1.85rem;
    }
}

/* ============================================
   RIGHT SIDEBAR LAYOUT
   ============================================ */

.bb-sidebar {
    position: sticky;
    top: 2rem;
}

.bb-sidebar > * + * {
    margin-top: 2rem;
}

/* ============================================
   TEXTMEDIA ORIENTATION (ce-* classes)
   Standard TYPO3 core fluid_styled_content classes, computed by
   GalleryProcessor from the imageorient field. Core ships no CSS for
   these by design; migrated from jwmusterprojekt11's implementation
   since our Textmedia.html uses the same standard class names.
   ============================================ */

.ce-textpic,
.ce-nowrap .ce-bodytext,
.ce-gallery,
.ce-row,
.ce-uploads li,
.ce-uploads div {
    overflow: hidden;
}

.ce-left .ce-gallery {
    float: left;
}

[data-ce-columns="2"] .ce-column,
[data-ce-columns="3"] .ce-column,
[data-ce-columns="4"] .ce-column,
[data-ce-columns="6"] .ce-column {
    float: left;
}

.ce-right .ce-gallery {
    float: right;
}

.ce-right.ce-intext .ce-gallery {
    margin-left: 1.5rem;
}

.ce-left.ce-intext .ce-gallery {
    margin-right: 1.5rem;
}

.ce-below .ce-gallery {
    margin-top: 1.5rem;
}

.ce-column {
    padding-right: 0.75rem;
}

.ce-intext.ce-right .ce-column,
.ce-intext [data-ce-columns="1"] .ce-column {
    padding-right: 0;
}

.ce-column {
    margin-bottom: 0.75rem;
}

.ce-above .ce-bodytext {
    clear: both;
}

.ce-intext.ce-left ol,
.ce-intext.ce-left ul {
    padding-left: 3rem;
    overflow: auto;
}

.ce-center .ce-outer,
.ce-center .ce-inner {
    float: none;
    right: 0;
    text-align: center;
}
.ce-center figure,
.ce-center img {
    margin: 0 auto;
}

.ce-intext > .ce-gallery,
.ce-intext > .ce-bodytext {
    width: 100%;
}

.ce-above .ce-gallery,
.ce-below .ce-gallery {
    margin-right: -0.75rem;
}

.ce-right.ce-above,
.ce-right.ce-below {
    margin-left: -0.75rem;
    margin-right: 0;
}

.ce-left.ce-above .ce-gallery,
.ce-left.ce-below .ce-gallery {
    float: none;
}

[data-ce-columns="2"] .ce-column {
    width: 50%;
}

[data-ce-columns="3"] .ce-column {
    width: 33.33333333%;
}

[data-ce-columns="4"] .ce-column {
    width: 50%;
}

@media (min-width: 601px) {
    [data-ce-columns="4"] .ce-column {
        max-width: 25%;
        width: 25%;
    }
}
@media (min-width: 601px) {
    .ce-column, .ce-uploads-img-link {
        padding-right: 1.5rem;
    }

    .ce-intext [data-ce-columns="1"] .ce-column {
        padding-right: 0;
    }

    .ce-column {
        margin-bottom: 1.5rem;
    }

    .ce-intext .ce-gallery {
        width: 50%;
    }

    .ce-intext.ce-nowrap > .ce-bodytext {
        width: 50%;
    }

    .ce-intext.ce-left .ce-gallery {
        margin-right: 0.75rem;
    }

    .ce-intext.ce-left .ce-column {
        padding-right: 0.75rem;
    }

    .ce-left.ce-nowrap .ce-gallery {
        margin-right: -0.75rem;
        margin-left: 0;
    }

    .ce-left.ce-nowrap .ce-bodytext {
        padding-left: 1.5rem;
    }

    .ce-right.ce-nowrap.ce-intext .ce-gallery {
        margin-left: -0.75rem;
        margin-right: 0;
    }

    .ce-right.ce-nowrap .ce-bodytext {
        padding-right: 1.5rem;
    }

    .ce-intext.ce-right .ce-gallery {
        margin-left: 0.75rem;
    }

    .ce-intext.ce-right .ce-column {
        padding-left: 0.75rem;
    }

    .ce-above .ce-gallery,
    .ce-below .ce-gallery {
        margin-right: -1.5rem;
    }

    .ce-right.ce-above,
    .ce-right.ce-below {
        margin-left: -1.5rem;
        margin-right: 0;
    }
}
@media (max-width: 800px) {
    [data-ce-columns="2"] .ce-column:nth-child(odd) {
        clear: left;
    }
}
@media (max-width: 600px) {
    [data-ce-columns="4"] .ce-column:nth-child(odd) {
        clear: left;
    }
}

/* tx_beanieblossom_imagesizes field support */
.ce-gallery.imagesize25 {
    width: 25%;
}

.ce-nowrap .ce-gallery.imagesize25 + .ce-bodytext {
    width: calc(75% - 1.5rem);
}

.ce-center.ce-above .ce-gallery.imagesize25,
.ce-center.ce-below .ce-gallery.imagesize25 {
    margin-left: auto;
    margin-right: auto;
}

.ce-gallery.imagesize33 {
    width: 33.33333%;
}

.ce-nowrap .ce-gallery.imagesize33 + .ce-bodytext {
    width: calc(66.6666% - 1.5rem);
}

.ce-center.ce-above .ce-gallery.imagesize33,
.ce-center.ce-below .ce-gallery.imagesize33 {
    margin-left: auto;
    margin-right: auto;
}