﻿/*
Author: MK.XLII
Design: W3layout - https://w3layouts.com
License: Creative Commons Attribution 3.0 Unported - https://creativecommons.org/licenses/by/3.0/
*/
/* --main page--*/
/* CSS CODE — PASTE INTO YOUR STYLESHEET OR SITE BUILDER CUSTOM CSS HEADERS */
.valhalla-reviews-section {
  background-color: #1a1c1e; /* Deep tactical dark grey */
  padding: 60px 20px;
  font-family: 'Paytone One', 'Arial Black', -apple-system, sans-serif;
  color: #ffffff;
}
.valhalla-reviews-section h2{
  font-family: 'Paytone One', 'Arial Black', -apple-system, sans-serif;
  text-align:center;
  color: #f3f0e4;
}
.valhalla-reviews-section h4{
  font-family: 'Paytone One', 'Arial Black', -apple-system, sans-serif;
  text-align:left;
  color: #f3f0e4;
}



/* --- ALTERED CONTAINER FOR 4 SIDE-BY-SIDE BOXES --- */
.valhalla-reviews-container {
  max-width: 1200px; /* Expanded slightly to give 4 boxes breathing room */
  margin: 0 auto;
  display: flex !important;
  flex-direction: column !important; /* Stacked by default on mobile devices */
  gap: 20px !important;
}

/* Desktop override strictly for screens 1024px and wider */
@media screen and (min-width: 1024px) {
  .valhalla-reviews-container {
    flex-direction: row !important; /* Lines all 4 elements in a row */
    align-items: stretch !important; /* Forces all 4 cards to be the exact same height */
    justify-content: space-between !important;
  }
  
  /* Forces the big summary badge and the review cards to share width evenly */
  .valhalla-reviews-summary-card,
  .valhalla-review-card {
    flex: 1 1 0% !important; 
    width: 25% !important; /* Splits the space into 4 clean columns */
  }
}

/* Left Column / First Box Styling */
.valhalla-reviews-summary-card {
  background: #26292b;
  border: 2px solid #3b4044;
  border-top: 4px solid #ff5500; /* Valhalla Action Orange */
  border-radius: 6px;
  padding: 30px 20px; /* Tightened padding for better desktop spacing */
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important; /* Centers the vertical contents */
}

.google-badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 2px;
  color: #a0a5a9;
  justify-content: center;
}

.rating-huge-score {
  font-size: 64px; /* Scaled down slightly to fit beautifully inside a smaller column layout */
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin: 10px 0 5px 0;
  text-shadow: 2px 2px 0px #000;
}

.rating-stars-row {
  font-size: 24px;
  color: #ffaa00; /* Rich gold stars */
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-total-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: #cdd2d6;
  margin-bottom: 20px;
}

.valhalla-review-btn {
  display: inline-block;
  background-color: #ff5500;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 0px #b33c00;
}

.valhalla-review-btn:hover {
  background-color: #ff661a;
  transform: translateY(-1px);
}

/* --- ALTERED FEED STRUCTURE --- */
/* Completely flattens the feed wrapper so the review boxes escape it and lock up with the summary card */
.valhalla-reviews-feed {
  display: contents !important; 
}

/* Individual Review Box Styling */
.valhalla-review-card {
  background: #212427;
  border-left: none !important; /* Removed side border accent for clean column grid */
  border-top: 4px solid #4d5c41; /* Switched accent to top border to match summary block */
  border-radius: 4px;
  padding: 24px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background-color: #4d5c41;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 16px;
  margin: 0 0 2px 0;
  letter-spacing: 0.5px;
}

.card-stars {
  font-size: 14px;
  color: #ffaa00;
}

.review-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #e2e7ec;
  font-style: italic;
  margin: 0;
}