/**
 * Casino Reviews - Custom Stylesheet for AU Casino Review Pages
 * Extends Twenty Fourteen theme styles
 */

/* ==========================================================================
   Content Area Overflow Fix
   ========================================================================== */

.content-area .entry-header,
.content-area .entry-content {
  margin-left: 15px;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  width: calc(100% - 15px);
  max-width: calc(100% - 15px);
  box-sizing: border-box;
}

.content-area .entry-content {
  overflow-x: auto;
}

.site-content {
  padding-right: 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   Casino Review Card Sections
   ========================================================================== */

.casino-review-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 28px 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.casino-review-section:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.casino-review-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2b2b2b;
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #24890d;
  margin-bottom: 20px;
}

/* ==========================================================================
   CTA Buttons
   ========================================================================== */

.casino-cta-button {
  display: inline-block;
  background: #24890d;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.15s ease;
  margin: 8px 0;
}

.casino-cta-button:hover {
  background: #1a6b09;
  transform: translateY(-1px);
  color: #fff !important;
}

.casino-cta-button:active {
  transform: translateY(0);
}

/* ==========================================================================
   Spec Sheet / Info Bar
   ========================================================================== */

.casino-spec-sheet {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #f5f5f5;
  border-left: 4px solid #24890d;
  padding: 16px 20px;
  margin: 16px 0 20px;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
}

.casino-spec-sheet span {
  display: inline-block;
  margin-right: 8px;
}

.casino-spec-sheet strong {
  color: #2b2b2b;
}

/* ==========================================================================
   Pros and Cons
   ========================================================================== */

.casino-pros,
.casino-cons {
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 4px;
}

.casino-pros {
  background: #f0faf0;
  border-left: 4px solid #24890d;
}

.casino-cons {
  background: #fdf0f0;
  border-left: 4px solid #cf2e2e;
}

.casino-pros h3,
.casino-cons h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
}

.casino-pros h3 {
  color: #1a6b09;
}

.casino-cons h3 {
  color: #a82222;
}

.casino-pros ul,
.casino-cons ul {
  margin: 0;
  padding-left: 20px;
}

.casino-pros ul li,
.casino-cons ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.casino-pros ul li::marker {
  color: #24890d;
}

.casino-cons ul li::marker {
  color: #cf2e2e;
}

/* ==========================================================================
   First Look / Numbered List
   ========================================================================== */

.casino-first-look {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  margin: 20px 0 32px;
}

.casino-first-look h2 {
  font-size: 20px;
  margin-top: 0;
  color: #2b2b2b;
}

.casino-first-look ol {
  padding-left: 24px;
  margin: 0;
}

.casino-first-look ol li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}

.casino-first-look ol li:last-child {
  border-bottom: none;
}

.casino-first-look ol li a {
  font-weight: 700;
  color: #24890d;
  text-decoration: none;
}

.casino-first-look ol li a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */

.casino-comparison {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.casino-comparison thead {
  background: #2b2b2b;
  color: #fff;
}

.casino-comparison th {
  padding: 10px 8px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-comparison td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
}

.casino-comparison tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.casino-comparison tbody tr:hover {
  background: #f0f7f0;
}

.casino-comparison td a {
  color: #24890d;
  font-weight: 600;
}

.casino-comparison .casino-rank {
  font-weight: 700;
  color: #24890d;
  font-size: 15px;
  text-align: center;
  width: 36px;
}

.casino-comparison .casino-name {
  font-weight: 700;
  color: #2b2b2b;
  font-size: 15px;
}

.casino-comparison .casino-name a {
  color: #2b2b2b;
  text-decoration: none;
}

.casino-comparison .casino-name a:hover {
  color: #24890d;
}

.casino-comparison .casino-bonus {
  color: #444;
  font-size: 14px;
}

.casino-comparison .casino-highlight {
  font-size: 12px;
  color: #24890d;
  font-weight: 600;
}

.casino-comparison .casino-cta-cell {
  text-align: center;
  white-space: nowrap;
}

/* Small CTA Button (table rows) */
.casino-cta-sm {
  display: inline-block;
  background: #24890d;
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.casino-cta-sm:hover {
  background: #1a6b09;
  transform: translateY(-1px);
  color: #fff !important;
}

.casino-cta-sm:active {
  transform: translateY(0);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.casino-faq {
  margin: 32px 0;
}

.casino-faq h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.casino-faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
}

.casino-faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  padding: 16px 20px;
  margin: 0;
  background: #f9f9f9;
  color: #2b2b2b;
  border-bottom: 1px solid #e8e8e8;
}

.casino-faq-item p {
  padding: 16px 20px;
  margin: 0;
  line-height: 1.7;
  color: #555;
}

/* ==========================================================================
   Casino Review Heading (Option B - Dark Card)
   ========================================================================== */

.casino-review-heading {
  background: linear-gradient(135deg, #1a2a1a 0%, #2b3d2b 100%);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.casino-review-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #24890d;
}

.casino-review-heading .rank-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(36, 137, 13, 0.2);
  border: 2px solid #24890d;
  color: #24890d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.casino-review-heading .casino-logo-box {
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 48px;
}

.casino-review-heading .casino-logo-box img {
  max-height: 34px;
  max-width: 100px;
  object-fit: contain;
}

.casino-review-heading .heading-tagline {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.casino-review-heading .heading-tagline span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8bc88b;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ==========================================================================
   Section Headings (non-casino, e.g. FAQ, Methodology, Conclusion)
   ========================================================================== */

.casino-section-heading {
  font-size: 24px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #24890d;
}

/* ==========================================================================
   Methodology Section
   ========================================================================== */

.casino-methodology {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  margin: 32px 0;
}

.casino-methodology h2 {
  font-size: 20px;
  margin-top: 0;
  color: #2b2b2b;
}

.casino-methodology h3 {
  font-size: 16px;
  color: #444;
  margin-bottom: 8px;
}

/* ==========================================================================
   Disclaimer
   ========================================================================== */

.casino-disclaimer {
  background: #fff8e6;
  border: 1px solid #f0d060;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 32px 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

.casino-disclaimer strong {
  color: #444;
}

/* ==========================================================================
   Homepage Casino Links Grid
   ========================================================================== */

.casino-reviews-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e8e8e8;
}

.casino-reviews-section > h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 12px;
}

.casino-reviews-section > p {
  color: #767676;
  margin-bottom: 24px;
  font-size: 15px;
}

.casino-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.casino-link-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.casino-link-card:hover {
  border-color: #24890d;
  box-shadow: 0 4px 16px rgba(36, 137, 13, 0.12);
  transform: translateY(-2px);
}

.casino-link-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #24890d;
  margin: 0 0 8px;
}

.casino-link-card p {
  font-size: 13px;
  color: #767676;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */

.casino-toc {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0 32px;
}

.casino-toc h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #2b2b2b;
}

.casino-toc ol {
  margin: 0;
  padding-left: 20px;
}

.casino-toc ol li {
  padding: 4px 0;
  font-size: 14px;
}

.casino-toc ol li a {
  color: #24890d;
  text-decoration: none;
}

.casino-toc ol li a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Introduction Section
   ========================================================================== */

.casino-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 28px;
}

.casino-intro strong {
  color: #2b2b2b;
}

/* ==========================================================================
   Why #1 Section
   ========================================================================== */

.casino-why-top {
  background: linear-gradient(135deg, #f0faf0 0%, #e8f5e8 100%);
  border: 1px solid #c8e6c9;
  border-radius: 6px;
  padding: 24px;
  margin: 32px 0;
}

.casino-why-top h2 {
  color: #1a6b09;
  margin-top: 0;
}

/* ==========================================================================
   How to Sign Up
   ========================================================================== */

.casino-signup-steps {
  counter-reset: step-counter;
  padding-left: 0;
  list-style: none;
}

.casino-signup-steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 48px;
  margin-bottom: 20px;
  min-height: 36px;
}

.casino-signup-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: #24890d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

/* ==========================================================================
   Casino Logos in Tables and Headings
   ========================================================================== */

.casino-logo {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.casino-comparison .casino-name {
  vertical-align: middle;
}

.casino-comparison .casino-name a {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Spec Card (Key-Value Grid)
   ========================================================================== */

.casino-spec-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0 20px;
}

.casino-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
}

.casino-spec-item:last-child {
  border-right: none;
}

.casino-spec-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  font-weight: 700;
}

.casino-spec-value {
  font-size: 15px;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.3;
}

.casino-spec-value.casino-spec-highlight {
  color: #24890d;
}

/* ==========================================================================
   Pros / Cons Side-by-Side Grid
   ========================================================================== */

.casino-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.casino-pros-cons .casino-pros,
.casino-pros-cons .casino-cons {
  margin: 0;
}

/* ==========================================================================
   Rating Card with Visual Bars
   ========================================================================== */

.casino-rating-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0 20px;
}

.casino-rating-card h4 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #767676;
  font-weight: 700;
}

.casino-rating-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.casino-rating-item:last-child {
  margin-bottom: 0;
}

.casino-rating-label {
  flex: 0 0 130px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.casino-rating-bar {
  flex: 1;
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}

.casino-rating-fill {
  height: 100%;
  background: linear-gradient(90deg, #24890d, #2db814);
  border-radius: 4px;
}

.casino-rating-score {
  flex: 0 0 45px;
  font-size: 14px;
  font-weight: 700;
  color: #24890d;
  text-align: right;
}

/* ==========================================================================
   Verdict Badge
   ========================================================================== */

.casino-verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f0faf0 0%, #e8f5e8 100%);
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  padding: 14px 20px;
  margin: 16px 0 20px;
}

.casino-verdict-score {
  font-size: 28px;
  font-weight: 800;
  color: #24890d;
  line-height: 1;
}

.casino-verdict-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #767676;
  font-weight: 700;
}

.casino-verdict-text {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media screen and (max-width: 810px) {
  .casino-links-grid {
    grid-template-columns: 1fr;
  }

  .casino-spec-sheet {
    flex-direction: column;
    gap: 8px;
  }

  .casino-pros-cons {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .casino-spec-card {
    grid-template-columns: 1fr 1fr;
  }

  .casino-rating-label {
    flex: 0 0 100px;
    font-size: 12px;
  }

  .casino-comparison {
    font-size: 13px;
  }

  .casino-comparison th,
  .casino-comparison td {
    padding: 10px 12px;
  }

  .casino-comparison .casino-highlight,
  .casino-comparison th:nth-child(4) {
    display: none;
  }

  .casino-review-heading {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 16px 16px 20px;
  }

  .casino-review-heading .rank-badge {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .casino-review-heading .casino-logo-box {
    min-width: 100px;
    height: 42px;
  }

  .casino-review-heading .heading-tagline {
    font-size: 16px;
    flex-basis: 100%;
  }
}

@media screen and (max-width: 594px) {
  .casino-review-section {
    padding: 20px 16px;
  }

  .casino-review-section h2 {
    font-size: 19px;
  }

  .casino-cta-button {
    display: block;
    text-align: center;
    padding: 14px 20px;
  }

  .casino-first-look {
    padding: 16px;
  }

  .casino-comparison {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .casino-cta-sm {
    padding: 7px 14px;
    font-size: 12px;
  }

  .casino-logo {
    max-height: 32px;
    max-width: 100px;
  }

  .casino-review-heading {
    gap: 10px;
    padding: 14px 14px 14px 18px;
  }

  .casino-review-heading .rank-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .casino-review-heading .casino-logo-box {
    min-width: 80px;
    height: 38px;
    padding: 6px 10px;
  }

  .casino-review-heading .casino-logo-box img {
    max-height: 28px;
    max-width: 80px;
  }

  .casino-review-heading .heading-tagline {
    font-size: 15px;
  }

  .casino-review-heading .heading-tagline span {
    font-size: 10px;
  }

  .casino-spec-card {
    grid-template-columns: 1fr;
  }

  .casino-spec-item {
    border-right: none;
  }

  .casino-rating-label {
    flex: 0 0 90px;
  }

  .casino-verdict {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 401px) {
  .casino-links-grid {
    gap: 12px;
  }

  .casino-link-card {
    padding: 16px;
  }

  .casino-link-card h3 {
    font-size: 15px;
  }
}
