/*
Theme Name: Coffee Shop Corner Child
Theme URI: https://cafesulreal.de/
Description: Child theme of Coffee Shop Corner. Custom tweaks for cafesulreal.de, including disabled comments.
Author: Café Sul Real
Template: coffee-shop-corner
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: coffee-shop-corner-child
*/

/* Custom CSS below */

/* ===== SulReal home page tweaks (added via child theme) ===== */

/* Hide hero "Read More" button */
.read-btn { display: none !important; }

/* Single hero image: hide carousel controls (no slider needed) */
#slider .carousel-control-prev,
#slider .carousel-control-next { display: none !important; }

/* Logo only: hide text site-title + tagline in header */
.site-title,
.site-description { display: none !important; }


/* Header logo: keep aspect ratio + visibility halo */
.logo a.custom-logo-link {
  display: inline-block;
  padding: 20px 26px;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 15%, rgba(255,255,255,0.82) 70%, rgba(255,255,255,0) 73%);
  border-radius: 50%;
  line-height: 0;
}
.logo a.custom-logo-link img.custom-logo {
  width: 175px !important;
  height: auto !important;
  max-width: 60vw;
  object-fit: contain !important;
  max-height: none !important;
}

/* Hero title is display-only: disable link to the slider page */
#slider h2 a {
  pointer-events: none;
  cursor: default;
  color: inherit;
  text-decoration: none;
}

/* ===== Static "Spezialitäten" cards (page-content, no posts) ===== */
.sr-spezial { padding: 10px 0 30px; }
.sr-head { text-align: center; margin-bottom: 35px; }
.sr-head .sr-small { display: block; color: #e8a33d; font-style: italic; margin-bottom: 6px; }
.sr-head h2 { margin: 0; }
.sr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sr-card { background: #fff; box-shadow: 0 6px 22px rgba(0,0,0,0.08); display: flex; flex-direction: column; overflow: hidden; }
.sr-card-img img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  -webkit-mask-image: url(https://cafesulreal.de/wp-content/themes/coffee-shop-corner/assets/images/shape1.png);
  mask-image: url(https://cafesulreal.de/wp-content/themes/coffee-shop-corner/assets/images/shape1.png);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.sr-card-body { padding: 20px 22px 26px; flex: 1 1 auto; }
.sr-card-body h3 { margin: 0 0 8px; color: #2a59b5; }
.sr-card-body p { margin: 0; color: #777; }
@media (max-width: 991px) { .sr-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sr-cards { grid-template-columns: 1fr; } }

/* Empty native service section not used (cards now in page content) */
#service-section { display: none !important; }
