/*
Theme Name:   Toras Cohenim
Theme URI:    https://torascohenim.com/
Description:  Hello Elementor child theme for Rabbi Torah-library sites, styled after torascohenim.com. Includes TC Audio Player and TC Episode List Elementor widgets.
Author:       Stephen Plotsker
Author URI:   https://torascohenim.com/
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  toras-cohenim
Tags:         elementor, child-theme, torah, podcast, audio
*/

/* ---------------------------------------------------------------
   Toras Cohenim design tokens
   --------------------------------------------------------------- */
:root {
  --tc-orange: #F47B20;
  --tc-orange-dark: #D9660F;
  --tc-orange-tint: #F7B17D;
  --tc-orange-pale: #F9BD8F;
  --tc-text: #343434;
  --tc-gray: #3E3E3E;
  --tc-charcoal: #333333;
  --tc-light: #F5F5F5;
  --tc-btn-gray: #414141;
  --tc-font-sans: "Source Sans Pro", sans-serif;
  --tc-font-serif: "Playfair Display", serif;
}

/* Base typography (matches torascohenim.com) */
body {
  font-family: var(--tc-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--tc-text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tc-font-sans);
  color: var(--tc-text);
  margin-top: 0;
}
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 700; }
h3 { font-size: 28px; font-weight: 600; color: var(--tc-gray); }

a { color: var(--tc-orange); text-decoration: none; }
a:hover { color: var(--tc-orange-dark); }

/* Buttons (non-Elementor fallbacks) */
button, .button, input[type="submit"], .wp-block-button__link {
  background: var(--tc-orange);
  color: #fff;
  font-family: var(--tc-font-sans);
  font-weight: 600;
  border: 0;
  border-radius: 4px;
  padding: 12px 28px;
  cursor: pointer;
}
button:hover, .button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
  background: var(--tc-orange-dark);
  color: #fff;
}

/* Section heading treatment: title + light rule + orange tick */
.tc-section-title {
  font-size: 32px;
  font-weight: 700;
  border-bottom: 1px solid #E5E5E5;
  padding-bottom: 10px;
  position: relative;
  margin-bottom: 28px;
}
.tc-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 46px;
  height: 3px;
  background: var(--tc-orange);
}

/* Post meta line: CATEGORY | DATE | AUTHOR */
.tc-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7A7A7A;
}
.tc-meta a { color: var(--tc-orange); font-weight: 600; }

/* Post title with orange left bar */
.tc-title-bar {
  border-left: 5px solid var(--tc-orange);
  padding: 4px 0 4px 16px;
}

/* Dark hero band (topic/single pages) */
.tc-hero-dark {
  background: var(--tc-charcoal);
  color: #fff;
}
.tc-hero-dark h1, .tc-hero-dark h2 {
  color: #fff;
  font-family: var(--tc-font-serif);
  font-weight: 600;
}
.tc-hero-dark .tc-accent { color: var(--tc-orange); }
