/*
Theme Name: Minimal Comparison Theme
Theme URI: https://example.com
Description: A minimal, editorial-style theme for comparison reviews and long-form content
Version: 1.0
Author: Your Name
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimal-comparison
Tags: minimal, blog, one-column, editorial
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 21px;
  line-height: 1.75;
  color: #000;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* Navigation */
nav,
.topnav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px 20px;
  font-size: 15px;
  text-align: left;
}

nav ul,
.topnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

nav li,
.topnav li {
  margin: 0;
  padding: 0;
}

nav a,
.topnav a {
  color: #666;
  text-decoration: none;
}

nav a:hover,
.topnav a:hover {
  color: #000;
}

/* Header Section */
.header-section {
  max-width: 740px;
  margin: 0 auto 50px;
  text-align: center;
  padding: 0 20px;
}

h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
  color: #000;
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }
}

.subtitle {
  font-size: 22px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.4;
}

.author-line {
  font-size: 17px;
  color: #666;
  margin-bottom: 40px;
}

/* CTA Box - Top Winner Section */
.cta-box {
  background-color: #f8f8f8;
  border-left: 4px solid #2d7a3e;
  border-right: 4px solid #2d7a3e;
  padding: 35px 40px;
  margin-bottom: 50px;
}

.cta-box h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-box .winner {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-box .rating {
  font-size: 20px;
  color: #666;
  margin-bottom: 15px;
}

.cta-box .description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Content Wrapper */
.content-wrapper,
.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.intro-text {
  text-align: left;
  margin-bottom: 40px;
}

/* Buttons */
.cta-button,
.btn {
  display: inline-block;
  background-color: #2d7a3e;
  color: #fff !important;
  padding: 12px 28px;
  text-decoration: none !important;
  font-size: 17px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cta-button:hover,
.btn:hover {
  background-color: #236830;
  color: #fff !important;
  text-decoration: none !important;
}

/* Highlight Links */
.highlight-link,
.highlightLink {
  background-color: #fff59d;
  padding: 2px 4px;
  color: #1a5490;
  text-decoration: none;
  font-weight: 600;
}

.highlight-link:hover,
.highlightLink:hover {
  background-color: #ffeb3b;
}

/* Typography */
p {
  margin-bottom: 20px;
}

h2 {
  font-size: 28px;
  margin: 50px 0 20px;
  font-weight: 700;
  color: #000;
}

h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  font-weight: 600;
  color: #000;
}

h4 {
  font-size: 18px;
  margin: 25px 0 12px;
  font-weight: 600;
  font-style: italic;
  color: #333;
}

/* Summary List */
.summary-list {
  margin: 30px 0;
  padding: 20px;
  background-color: #fafafa;
}

.summary-list h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000;
}

.summary-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.summary-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 17px;
}

.summary-list li:last-child {
  border-bottom: none;
}

.summary-list .service-name {
  font-weight: 600;
  color: #000;
}

.summary-list .score {
  color: #666;
  float: right;
}

/* Service Sections */
.service-section {
  margin: 50px 0;
  padding-top: 30px;
  border-top: 1px solid #ccc;
}

.service-section.top-pick {
  border-top: 3px solid #1a5490;
}

.service-header {
  margin-bottom: 20px;
}

.service-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
}

.service-rating {
  font-size: 17px;
  color: #666;
  font-style: italic;
}

.quick-facts {
  background-color: #f8f8f8;
  padding: 15px 20px;
  margin: 20px 0;
  font-size: 17px;
  line-height: 1.8;
}

.quick-facts strong {
  font-weight: 600;
}

/* Screenshots */
.screenshot {
  margin: 30px 0;
}

.screenshot img,
.image {
  max-width: 100%;
  height: auto;
  border: 1px solid #e0e0e0;
}

/* Verdict Box */
.verdict {
  background-color: #fafafa;
  padding: 25px;
  margin: 30px 0;
  border-left: 3px solid #2d7a3e;
}

.verdict h4 {
  margin-top: 0;
}

/* TablePress Table Styling */
.table-section {
  margin: 60px 0;
}

table,
.tablepress {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 16px;
}

table thead,
.tablepress thead {
  background-color: #f5f5f5;
}

table th,
.tablepress th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border: 1px solid #ddd;
}

table td,
.tablepress td {
  padding: 12px;
  border: 1px solid #ddd;
}

table tbody tr:nth-child(even),
.tablepress tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.highlight-row {
  background-color: #e8f5e9;
  font-weight: 600;
}

/* Conclusion Section */
.conclusion {
  margin: 60px 0 40px;
  padding: 40px;
  background-color: #f8f8f8;
  border-top: 3px solid #2d7a3e;
}

/* Footer */
footer {
  max-width: 740px;
  margin: 60px auto 0;
  padding: 40px 20px;
  border-top: 2px solid #e0e0e0;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

footer p {
  margin-bottom: 15px;
}

/* WordPress Specific */
.entry-content {
  max-width: 740px;
  margin: 0 auto;
}

.entry-meta {
  font-size: 17px;
  color: #666;
  margin-bottom: 30px;
  text-align: center;
}

.wp-block-image {
  margin: 30px 0;
}

/* Links */
a {
  color: #1a5490;
  text-decoration: underline;
}

a:hover {
  color: #0d3a5f;
}

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    font-size: 19px;
  }
  
  .cta-box {
    padding: 25px 20px;
  }
  
  .cta-box .winner {
    font-size: 32px;
  }
  
  table,
  .tablepress {
    font-size: 14px;
  }
  
  table th,
  table td,
  .tablepress th,
  .tablepress td {
    padding: 8px;
  }
}
