/* Thirukkural — bilingual reading UI */

.tk-hero {
  margin-bottom: 24px;
  padding: 28px 24px;
  background: linear-gradient(135deg, #1a2a1a 0%, #2d4a2d 50%, #1e3a2f 100%);
  color: #fff;
}
.tk-hero h1 {
  color: #fff;
  margin: 0 0 8px;
  border: none;
  padding: 0;
  font-size: 30px;
}
.tk-hero .tk-tamil-title {
  font-size: 22px;
  opacity: 0.95;
  margin: 0 0 10px;
}
.tk-hero p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 40em;
  line-height: 1.55;
}

.tk-breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}
.tk-breadcrumb a {
  color: #2d6a4f;
}

.tk-book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.tk-book-card {
  display: block;
  padding: 20px 18px;
  border: 1px solid #e5ebe6;
  background: #fff;
  text-decoration: none !important;
  color: #222;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.tk-book-card:hover {
  border-color: #2d6a4f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  color: #222;
}
.tk-book-card .tk-en {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 4px;
  color: #1b4332;
}
.tk-book-card .tk-ta {
  font-size: 16px;
  margin: 0 0 8px;
}
.tk-book-card .tk-meta {
  font-size: 12px;
  color: #777;
  margin: 0;
}

.tk-section {
  margin-bottom: 28px;
}
.tk-section h2 {
  font-size: 18px;
  color: #1b4332;
  border-bottom: 1px solid #e8efe9;
  padding-bottom: 8px;
  margin: 0 0 12px;
}
.tk-chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 20px;
}
@media (max-width: 767px) {
  .tk-chapter-list {
    columns: 1;
  }
}
.tk-chapter-list li {
  break-inside: avoid;
  margin: 0 0 6px;
}
.tk-chapter-list a {
  color: #333;
  text-decoration: none !important;
  font-size: 14px;
}
.tk-chapter-list a:hover {
  color: #2d6a4f;
}
.tk-chapter-list .num {
  color: #2d6a4f;
  font-weight: 600;
  margin-right: 6px;
}

.tk-couplet {
  margin-bottom: 28px;
  padding: 20px 18px;
  border: 1px solid #e8efe9;
  background: #fafcfb;
}
.tk-couplet-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #2d6a4f;
  padding: 4px 10px;
  margin-bottom: 14px;
  text-decoration: none !important;
}
.tk-couplet-num:hover {
  background: #1b4332;
  color: #fff;
}

.tk-lang-block {
  margin-bottom: 16px;
}
.tk-lang-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2d6a4f;
  margin-bottom: 6px;
}
.tk-verse-ta {
  font-size: 20px;
  line-height: 1.7;
  color: #111;
  margin: 0 0 6px;
}
.tk-translit {
  font-size: 13px;
  color: #666;
  font-style: italic;
  margin: 0 0 8px;
}
.tk-verse-en {
  font-size: 16px;
  line-height: 1.55;
  color: #222;
  margin: 0 0 8px;
}
.tk-explain {
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  margin: 0;
}
.tk-more-ta {
  margin-top: 10px;
  font-size: 13px;
}
.tk-more-ta summary {
  cursor: pointer;
  color: #2d6a4f;
  font-weight: 600;
}
.tk-more-ta p {
  margin: 8px 0 0;
  color: #555;
}

.tk-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin: 20px 0;
}
.tk-nav-row a {
  color: #2d6a4f;
  font-weight: 600;
  text-decoration: none !important;
}

.tk-sidebar .widget {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #e8efe9;
  background: #fff;
}
.tk-sidebar .widget h1 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2d6a4f;
  border-bottom: 1px solid #e8efe9;
  padding-bottom: 8px;
  margin: 0 0 12px;
}
.tk-side-books,
.tk-side-chapters {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tk-side-books li,
.tk-side-chapters li {
  margin: 0;
  border-bottom: 1px solid #f3f6f4;
}
.tk-side-books a,
.tk-side-chapters a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none !important;
  font-size: 14px;
}
.tk-side-books a:hover,
.tk-side-chapters a:hover,
.tk-side-books a.active,
.tk-side-chapters a.active {
  color: #2d6a4f;
  font-weight: 600;
}
.tk-jump input {
  width: 100%;
  margin-bottom: 8px;
}
.tk-jump button {
  width: 100%;
  background: #2d6a4f;
  border: 1px solid #1b4332;
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
}

/* Homepage sidebar card */
.tk-home-widget .tk-verse-ta {
  font-size: 17px;
}
.tk-home-widget .tk-verse-en {
  font-size: 14px;
}
.tk-home-widget .tk-meta {
  font-size: 12px;
  color: #777;
  margin: 10px 0 0;
}
.tk-home-widget a.tk-more {
  display: inline-block;
  margin-top: 10px;
  color: #2d6a4f;
  font-weight: 600;
  text-decoration: none !important;
}
