/* =================================================================
   KP ASTROLOGY IN TAMIL — page-specific styles (kpt- prefix)
   File: /tamil-astrology/css/kp-astrology-in-tamil.css

   This is the first page built on the NEW Tamil content-page
   template (parallel role to article.css for English /articles/
   pages). Single merged file per Arun's instruction — scroll bar +
   head section + all content components live here together.

   Scoped entirely under body.kpt-page so nothing here can leak onto
   other Tamil pages still using tamil-astrology.css.
   ================================================================= */

body.kpt-page {
  padding-top: 4px;
  background: #ffffff;
}

/* -----------------------------------------------------------------
   SCROLL PROGRESS INDICATOR
   ----------------------------------------------------------------- */
.kpt-scroll-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 2000;
}

.kpt-scroll-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c8940c, #e6b93a);
  transition: width 0.1s ease;
}

/* -----------------------------------------------------------------
   HEAD SECTION — frozen sitewide standard (H1 maroon, gold-diamond
   subheading pill). Reproduced natively here per Arun's single-file
   instruction, not inherited from article.css.
   ----------------------------------------------------------------- */
.kpt-head {
  background: #ffffff;
  text-align: center;
  padding: 22px 22px 20px;
}

.kpt-eyebrow {
  display: inline-block;
  border: 1.5px solid #c8940c;
  color: #6b0e1d;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.kpt-head-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: #c1121f;
  font-size: clamp(1.5rem, 6.5vw, 2rem);
  line-height: 1.3;
  margin: 0;
}

.kpt-head-sub {
  display: block;
  margin-top: 14px;
  color: #4a0e1e;
  font-family: 'Noto Sans Tamil', 'PT Serif', serif;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
}

@media (min-width: 481px) {
  .kpt-head-sub { font-size: 1.12rem; }
}

/* Precision-dial signature motif, sits just under the head */
.kpt-dial-row {
  display: flex;
  justify-content: center;
  margin: 14px 0 2px;
}

.kpt-dial {
  width: 30px;
  height: 30px;
  opacity: 0.85;
}

/* -----------------------------------------------------------------
   CONTENT WRAPPER
   ----------------------------------------------------------------- */
.kpt-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 20px 10px;
}

.kpt-text {
  font-family: 'Noto Sans Tamil', 'Noto Sans', system-ui, sans-serif;
  font-size: 15.5px;
  color: #332433;
  line-height: 1.65;
  margin-bottom: 16px;
  text-align: left;
}

.kpt-text strong { color: #4a0e1e; }

.kpt-lead {
  font-style: italic;
  font-weight: 600;
  color: #6b0e1d;
}

/* -----------------------------------------------------------------
   SECTION HEADING — "carved tablet" (new, not the lavender ribbon
   flag from the English template): deep maroon inset panel, thin
   gold rule top/bottom, gold Tamil text, small dial mark before it.
   ----------------------------------------------------------------- */
.kpt-h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #5c0e1c, #7a1526);
  border-top: 2px solid #c8940c;
  border-bottom: 2px solid #c8940c;
  color: #f4e3b8;
  font-family: 'Noto Sans Tamil', serif;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.4;
  padding: 14px 20px;
  margin: 40px -20px 22px;
}

.kpt-h2 .kpt-h2-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

@media (min-width: 769px) {
  .kpt-h2 {
    margin: 46px 0 24px;
    border-radius: 10px;
  }
}

/* -----------------------------------------------------------------
   OBJECTION / REBUTTAL PAIR — dramatizes the Q&A structure of the
   content itself. Objection = muted stone box with a "?" marker.
   Rebuttal = gold-bordered maroon-tinted box with a "✓" marker.
   ----------------------------------------------------------------- */
.kpt-objection,
.kpt-rebuttal {
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kpt-objection {
  background: #ffffff;
  border: 1px solid #d8d3c6;
  border-left: 4px solid #8b8378;
}

.kpt-rebuttal {
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-left: 4px solid #c8940c;
}

.kpt-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.kpt-objection .kpt-marker { background: #8b8378; }
.kpt-rebuttal .kpt-marker { background: linear-gradient(135deg, #c8940c, #e6b93a); color: #3a2205; }

.kpt-objection p,
.kpt-rebuttal p {
  margin: 0;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.kpt-objection p { color: #4a463d; }
.kpt-rebuttal p { color: #4a0e1e; font-weight: 600; }

/* -----------------------------------------------------------------
   CASE STUDY — Ramesh & Suresh charts, stacked, minimal gap,
   full-bleed on mobile, framed as a pair (not individually).
   ----------------------------------------------------------------- */
.kpt-case-study {
  margin: 20px 0 26px;
}

.kpt-case-label {
  display: inline-block;
  background: linear-gradient(135deg, #6b0e1d, #8a1c30);
  color: #f4e3b8;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.kpt-case-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 -20px;
  border-top: 3px solid #c8940c;
  border-bottom: 3px solid #c8940c;
}

.kpt-case-images img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  .kpt-case-images {
    margin: 0;
    border: 3px solid #c8940c;
    border-radius: 12px;
    overflow: hidden;
  }
}

.kpt-case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0 20px;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 14.5px;
  color: #4a463d;
}

.kpt-case-facts strong { color: #6b0e1d; }

/* -----------------------------------------------------------------
   TIMING BREAKDOWN — Lagnam speed list (24hr / 2hr / 52min / 13min)
   ----------------------------------------------------------------- */
.kpt-timing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 22px;
}

.kpt-timing-item {
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

.kpt-timing-value {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #6b0e1d;
  display: block;
}

.kpt-timing-label {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  color: #6b6357;
  display: block;
  margin-top: 4px;
}

/* -----------------------------------------------------------------
   VARGA GRID (10 divisional charts list)
   ----------------------------------------------------------------- */
.kpt-varga-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 18px 0 22px;
}

@media (min-width: 600px) {
  .kpt-varga-grid { grid-template-columns: repeat(2, 1fr); }
}

.kpt-varga-item {
  background: #ffffff;
  border-left: 3px solid #c8940c;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 14.5px;
  color: #4a463d;
  line-height: 1.5;
}

.kpt-varga-item strong { color: #6b0e1d; }

/* -----------------------------------------------------------------
   ANALOGY BOX — bullock-cart-to-motor-vehicle analogy
   ----------------------------------------------------------------- */
.kpt-analogy {
  background: #ffffff;
  border: 1px dashed #c8940c;
  border-radius: 14px;
  padding: 22px 22px 20px;
  margin: 20px 0 24px;
}

.kpt-analogy-label {
  display: inline-block;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: #a06600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.kpt-analogy p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 16.5px;
  color: #4a3a1e;
  line-height: 1.8;
  margin-bottom: 10px;
}

.kpt-analogy p:last-child { margin-bottom: 0; }

/* -----------------------------------------------------------------
   PULL QUOTE — classical sayings / thesis statements
   ----------------------------------------------------------------- */
.kpt-pullquote {
  text-align: center;
  font-family: 'Noto Sans Tamil', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #6b0e1d;
  font-style: italic;
  max-width: 620px;
  margin: 28px auto;
  padding-top: 18px;
  border-top: 3px solid #c8940c;
  line-height: 1.7;
}

/* -----------------------------------------------------------------
   PRINCIPLE BOX — distilled short-line rules (fate vs dasabukti)
   ----------------------------------------------------------------- */
.kpt-principle {
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-radius: 14px;
  padding: 22px 22px;
  margin: 18px 0 24px;
}

.kpt-principle p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #6b0e1d;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 16px;
  border-left: 3px solid #c8940c;
}

.kpt-principle p:last-child { margin-bottom: 0; }

/* -----------------------------------------------------------------
   QUESTION LIST — "readers may ask" rhetorical question box
   ----------------------------------------------------------------- */
.kpt-qlist {
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0 24px;
}

.kpt-qlist p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 16px;
  color: #4a0e1e;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 10px;
  padding-left: 26px;
  position: relative;
}

.kpt-qlist p:last-child { margin-bottom: 0; }

.kpt-qlist p::before {
  content: "?";
  position: absolute;
  left: 0;
  top: -1px;
  color: #c8940c;
  font-weight: 800;
  font-size: 1.1rem;
}

/* -----------------------------------------------------------------
   "WHAT STAYED THE SAME" GRID — planets / rasis / nakshatras
   ----------------------------------------------------------------- */
.kpt-same-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 18px 0 24px;
}

@media (min-width: 600px) {
  .kpt-same-grid { grid-template-columns: repeat(3, 1fr); }
}

.kpt-same-item {
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-top: 3px solid #c8940c;
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}

.kpt-same-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8940c, #e6b93a);
  color: #3a2205;
  font-weight: 800;
  margin-bottom: 8px;
}

.kpt-same-item p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 14.5px;
  color: #4a463d;
  margin: 0;
  line-height: 1.5;
}

/* -----------------------------------------------------------------
   CLIENT-QUESTION QUOTE — small relatable human touch
   ----------------------------------------------------------------- */
.kpt-client-quote {
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 14px 0 22px;
}

.kpt-client-quote p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-style: italic;
  font-size: 16px;
  color: #6b0e1d;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 6px;
}

.kpt-client-quote p:last-child { margin-bottom: 0; }

/* -----------------------------------------------------------------
   TEASER BOX — questions the next posts will answer
   ----------------------------------------------------------------- */
.kpt-teaser {
  background: #ffffff;
  border: 2px solid #c8940c;
  border-radius: 14px;
  padding: 22px 22px;
  margin: 18px 0 26px;
}

.kpt-teaser-label {
  display: inline-block;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: #6b0e1d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.kpt-teaser ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.kpt-teaser li {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15.5px;
  color: #4a463d;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.kpt-teaser li:last-child { margin-bottom: 0; }

.kpt-teaser li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  top: 2px;
  color: #c8940c;
  font-size: 0.65rem;
}

.kpt-teaser-note {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 14.5px;
  color: #6b6357;
  font-style: italic;
  margin: 0;
}

/* -----------------------------------------------------------------
   COURSE PROMOTION BLOCK — mid-article, appears twice on this page
   ----------------------------------------------------------------- */
.kpt-course-promo {
  background: linear-gradient(135deg, #f3e8ff 0%, #fdf6e3 100%);
  border-radius: 14px;
  padding: 22px 22px;
  margin: 22px 0 26px;
  text-align: center;
}

.kpt-course-promo-title {
  font-family: 'Noto Sans Tamil', serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #4a0e1e;
  margin: 0 0 8px;
}

.kpt-course-promo-text {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15px;
  color: #4a463d;
  margin: 0 0 14px;
  line-height: 1.6;
}

.kpt-course-promo-text a {
  color: inherit;
  text-decoration: none;
}

.kpt-course-promo-text a:hover,
.kpt-course-promo-text a:focus-visible {
  color: #1a56db;
  text-decoration: underline;
}

.kpt-course-promo-btn {
  display: inline-block;
  border: 2px solid #c8940c;
  color: #6b0e1d;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.kpt-course-promo-btn:hover,
.kpt-course-promo-btn:focus-visible {
  background: #c8940c;
  color: #ffffff;
}

/* Plain inline link style inside body text (invisible until hover) */
.kpt-inline-link {
  color: inherit;
  text-decoration: none;
}

.kpt-inline-link:hover,
.kpt-inline-link:focus-visible {
  color: #1a56db;
  text-decoration: underline;
}

/* -----------------------------------------------------------------
   KEY POINTS CARD
   ----------------------------------------------------------------- */
.kpt-keypoints {
  background: linear-gradient(135deg, #fdf6e3 0%, #f8f4ea 100%);
  border-top: 3px solid #c8940c;
  border-radius: 16px;
  padding: 26px 24px;
  margin: 30px 0;
  text-align: center;
}

.kpt-keypoints-title {
  font-family: 'Noto Sans Tamil', serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #4a0e1e;
  margin: 0 0 18px;
}

.kpt-keypoints-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.kpt-keypoints-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15.5px;
  color: #4a463d;
  line-height: 1.6;
  margin-bottom: 12px;
}

.kpt-keypoints-list li:last-child { margin-bottom: 0; }

.kpt-keypoints-tick {
  flex-shrink: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #c8940c, #e6b93a);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* -----------------------------------------------------------------
   RELATED ARTICLES + BACK TO HUB
   ----------------------------------------------------------------- */
.kpt-related-divider {
  border: none;
  border-top: 1px solid #e6ddc4;
  margin: 34px 0 22px;
}

.kpt-related-heading {
  font-family: 'Noto Sans Tamil', serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #4a0e1e;
  margin: 0 0 14px;
}

.kpt-related-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.kpt-related-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e6ddc4;
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.kpt-related-row:hover,
.kpt-related-row:focus-visible {
  border-color: #c8940c;
  background: #fbf6e6;
}

.kpt-related-title {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #4a0e1e;
}

.kpt-related-arrow {
  color: #c8940c;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.kpt-back-to-hub {
  text-align: center;
  margin-bottom: 30px;
}

/* -----------------------------------------------------------------
   CTA BOX
   ----------------------------------------------------------------- */
.kpt-cta {
  background: linear-gradient(135deg, #3b1266, #5c0e1c);
  border-radius: 18px;
  padding: 28px 24px;
  margin: 0 0 30px;
  text-align: center;
}

.kpt-cta-text {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 16px;
  color: #f4e3b8;
  line-height: 1.6;
  margin: 0 0 8px;
}

.kpt-cta-text:last-of-type { margin-bottom: 20px; }

.kpt-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #c8940c, #e6b93a);
  color: #3a2205;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-weight: 800;
  font-size: 15.5px;
  padding: 13px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpt-cta-btn:hover,
.kpt-cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 148, 12, 0.35);
}

/* -----------------------------------------------------------------
   PUBLISHED / UPDATED META LINE
   ----------------------------------------------------------------- */
.kpt-meta {
  text-align: center;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  color: #8a8478;
  margin: 0 0 10px;
}

.kpt-meta strong { color: #6b6357; }
.kpt-meta span + span { margin-left: 18px; }

@media (max-width: 480px) {
  .kpt-meta span { display: block; margin: 0 0 4px; }
  .kpt-meta span + span { margin-left: 0; }
}

/* -----------------------------------------------------------------
   RESPONSIVE TYPE SCALE
   ----------------------------------------------------------------- */
@media (max-width: 480px) {
  .kpt-h2 { font-size: 1.08rem; padding: 12px 18px; }
  .kpt-text { font-size: 16px; }
  .kpt-pullquote { font-size: 1.05rem; }
}
