/*
Theme Name: Chicks on the Right Base
Theme URI: https://chicksonright.com/
Author: Young Conservatives LLC
Description: A lightweight, plugin-friendly WordPress base theme for Chicks on the Right. Built for a blog and podcast site with minimal theme chrome and clean editorial defaults.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: cotr-base
*/

:root {
  --cotr-bg: #ffffff;
  --cotr-text: #111111;
  --cotr-muted: #686868;
  --cotr-border: #e7e7e7;
  --cotr-accent: #A22B24;
  --cotr-content-width: 1180px;
  --cotr-reading-width: 820px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--cotr-bg);
  color: var(--cotr-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cotr-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

a:hover,
a:focus {
  color: var(--cotr-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cotr-accent);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.cotr-theme-main {
  display: block;
  width: 100%;
  min-height: 55vh;
}

.cotr-theme-content {
  width: min(var(--cotr-content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.cotr-theme-article {
  width: min(var(--cotr-reading-width), 100%);
  margin: 0 auto;
}

.cotr-theme-list-item + .cotr-theme-list-item {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--cotr-border);
}

.cotr-theme-header {
  margin: 0 0 30px;
}

.cotr-theme-kicker {
  margin: 0 0 10px;
  color: var(--cotr-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cotr-theme-title {
  margin: 0;
  color: var(--cotr-text);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.cotr-theme-title a,
.cotr-theme-title a:visited {
  color: inherit;
  text-decoration: none;
}

.cotr-theme-title a:hover,
.cotr-theme-title a:focus {
  color: var(--cotr-accent);
}

.cotr-theme-meta {
  margin-top: 14px;
  color: var(--cotr-muted);
  font-size: 14px;
}

.cotr-theme-featured {
  margin: 0 0 30px;
}

.cotr-theme-featured img {
  display: block;
  width: 100%;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--cotr-text);
  line-height: 1.15;
  margin-top: 1.65em;
}

.entry-content a {
  color: var(--cotr-accent);
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 8px 0 8px 22px;
  border-left: 4px solid var(--cotr-accent);
  font-size: 1.12em;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--cotr-border);
}

.entry-content audio,
.entry-content .wp-audio-shortcode,
.entry-content .wp-block-audio,
.entry-content .wp-block-embed,
.entry-content .wp-block-embed__wrapper {
  width: 100%;
}

.entry-content .alignwide {
  width: min(var(--cotr-content-width), calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.cotr-theme-pagination,
.nav-links {
  width: min(var(--cotr-reading-width), 100%);
  margin: 38px auto 0;
}

.cotr-theme-pagination a,
.nav-links a {
  color: var(--cotr-accent);
}

#comments {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--cotr-border);
}

#comments ol {
  padding-left: 1.4em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .cotr-theme-content {
    width: min(100% - 28px, var(--cotr-content-width));
    padding: 30px 0 52px;
  }

  .cotr-theme-title {
    font-size: clamp(32px, 11vw, 48px);
  }
}
