
/*
Theme Name: RTS
Theme URI: https://example.com/rts
Author: Jay (Release the Static)
Author URI: https://example.com
Description: Minimal, clean theme with centered logo and navigation, 2/4 + 1/4 + 1/4 footer, and a bottom copyright bar. Supports Customizer and Additional CSS.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rts
Tags: blog, custom-logo, custom-menu, footer-widgets, one-column
*/

/* Base reset & layout */
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-main {
  flex: 1 0 auto;
  width: min(1200px, 92%);
  margin: 2rem auto;
}

/* Header */
.site-header {
  margin: 0;
  padding: 1rem 0 0.5rem;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.header-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.custom-logo-link, .site-title a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.site-title {
  margin: .25rem 0 0;
  font-size: 1.4rem;
  font-weight: 600;
}
.site-description {
  margin: 0;
  font-size: .95rem;
  color: #666;
}

/* Navigation */
.primary-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  border-top: 1px solid #f2f2f2;
}
.primary-nav ul {
  list-style: none;
  padding: .25rem 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  justify-content: center;
}
.primary-nav a {
  text-decoration: none;
  color: #222;
  padding: .5rem .25rem;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: #0073aa;
}

/* Content */
.entry {
  margin-bottom: 2rem;
}
.entry-title {
  margin: 0 0 .5rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

/* Footer */
.site-footer {
  border-top: 1px solid #eee;
  background: #fafafa;
  margin-top: 2rem;
}
.footer-widgets {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* 2/4 + 1/4 + 1/4 */
  gap: 1.25rem;
  padding: 2rem 0;
}
.footer-column {
  min-height: 50px;
}
.footer-column h2 {
  font-size: 1rem;
  margin: 0 0 .75rem;
}
/* Responsive footer */
@media (max-width: 900px) {
  .footer-widgets {
    grid-template-columns: 1fr;
  }
}

/* Copyright bar */
.site-copyright {
  border-top: 1px solid #e5e5e5;
  background: #fff;
  color: #444;
  font-size: .9rem;
}
.copyright-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: .75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* Widget defaults */
.widget {
  margin-bottom: 1rem;
}
.widget ul {
  margin: 0;
  padding-left: 1.1rem;
}
/* Accessible hidden text */
.screen-reader-text {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
