/* =================================================================
   PAGE-SPECIFIC STYLESHEET for /articles/lucky-name-for-baby.html
   Prefixes: ln- (page content/theory), hw- (How This Method Works),
   lnc- (calculator). Does not modify or duplicate anything in the
   shared article.css — this file only affects this one page.
   ================================================================= */


    /* ---- H1 override: two lines instead of the shared single-line
         nowrap rule in article.css. Does not touch article.css itself. ---- */
    .art-h1-title.ln-h1-2line {
      white-space: normal;
      font-size: 1.1rem;
      line-height: 1.3;
    }
    .ln-h1-2line .ln-h1-line2 { display: block; }
    @media (min-width: 381px) {
      .art-h1-title.ln-h1-2line { font-size: 1.3rem; }
    }
    @media (min-width: 481px) {
      .art-h1-title.ln-h1-2line { font-size: 1.5rem; }
    }
    @media (min-width: 768px) {
      .art-h1-title.ln-h1-2line { font-size: 1.75rem; }
    }

    /* ---- Intro + How This Method Works ---- */
    .hw-intro { text-align:center; font-size:15px; line-height:1.6; color:#5a5044; max-width:640px;
      margin:18px auto 26px; padding:0 18px; }
    .hw-intro b { color:#5b2a86; }

    .hw-heading { text-align:center; font-family:'PT Serif',Georgia,serif; color:#3a1f5c; font-size:22px;
      margin:0 0 16px; padding:0 18px; }

    .hw-wrap { margin:0 0 30px; padding:0 18px; }
    .hw-card { background:linear-gradient(160deg,#eef6fd,#dcecfa); border-radius:22px; padding:24px 22px 22px;
      box-shadow:0 10px 28px rgba(60,110,160,.12); border:1px solid #d3e6f7; max-width:880px; margin:0 auto; }

    .hw-steps { display:flex; flex-direction:column; gap:0; position:relative; }
    @media(min-width:700px){ .hw-steps{ flex-direction:row; align-items:flex-start; } }

    .hw-step { flex:1; position:relative; padding:0 0 20px 0; display:flex; gap:14px; align-items:center; }
    @media(min-width:700px){ .hw-step{ flex-direction:column; align-items:center; text-align:center; padding:0 10px; gap:8px; } }
    .hw-step:last-child { padding-bottom:0; }

    .hw-step:not(:last-child)::before {
      content:''; position:absolute; background:#b9d7ef; left:19px; top:44px; bottom:0; width:2px;
    }
    @media(min-width:700px){
      .hw-step:not(:last-child)::before {
        left:calc(50% + 23px); right:calc(-50% + 23px); top:19px; bottom:auto; width:auto; height:2px;
      }
    }

    .hw-circle { width:38px; height:38px; min-width:38px; border-radius:50%; background:#fff;
      border:2px solid #2d5f8a; display:flex; align-items:center; justify-content:center;
      font-family:'PT Serif',Georgia,serif; font-weight:700; color:#2d5f8a; font-size:15px; position:relative;
      z-index:1; box-shadow:0 3px 8px rgba(45,95,138,.18); }

    .hw-step-label { font-size:10.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
      color:#5f8ab5; margin:0 0 4px; }
    .hw-step-text { font-size:13px; line-height:1.55; color:#2b3f52; margin:0; }

    .hw-note { margin:22px auto 0; max-width:880px; background:linear-gradient(135deg,#eaf5ec,#dcefe0);
      border:1px solid #c9e3cf; border-radius:14px; padding:18px 20px; text-align:center;
      box-shadow:0 4px 14px rgba(60,120,80,.1); }
    .hw-note-text { font-family:'PT Serif',Georgia,serif; font-size:15px; color:#2f5c3a; margin:0; line-height:1.5; }
    .hw-note-text b { color:#1f6b3a; }

    /* ---- Calculator ---- */
    .lnc-box { max-width:520px; width:calc(100% - 36px); margin:0 auto 34px; background:#fff; border-radius:16px;
      overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,.1); display:flex; flex-direction:column; }
    @media(min-width:460px){ .lnc-box{ flex-direction:row; } }

    .lnc-panel { background:linear-gradient(160deg,#3a1f5c,#5b2a86); color:#fff; padding:20px 24px;
      display:flex; align-items:center; justify-content:center; }
    @media(min-width:460px){ .lnc-panel{ width:38%; } }
    .lnc-panel h2 { font-family:'PT Serif',Georgia,serif; font-size:21px; line-height:1.28; margin:0; color:#fff;
      font-weight:700; text-align:center; }
    @media(min-width:460px){ .lnc-panel h2{ text-align:left; } }
    .lnc-panel h2 .lnc-line2 { display:block; }

    .lnc-main { flex:1; min-width:0; }
    .lnc-body { padding:24px 22px 26px; }

    .lnc-field-label { display:block; margin:0 0 6px; text-align:center; color:#5b2a86; font-size:16.5px;
      font-weight:700; letter-spacing:.4px; }

    .lnc-form { display:flex; flex-direction:column; gap:12px; }
    .lnc-form input { width:100%; min-width:0; padding:15px 16px; border:2px solid #eadfcb; border-radius:10px;
      font-size:16px; letter-spacing:.3px; background:#fffefb; }
    .lnc-form input::placeholder { color:#a99b7f; font-size:13px; letter-spacing:0; }
    .lnc-form input:focus { outline:none; border-color:#c9a35e; box-shadow:0 0 0 3px rgba(201,163,94,.15); }

    .lnc-btn { width:100%; position:relative; overflow:hidden;
      background:linear-gradient(135deg,#a9762f,#e8c987 45%,#c9a35e 55%,#8a6423);
      border:none; color:#2b1503; font-weight:800; padding:16px; border-radius:12px; cursor:pointer;
      font-size:14.5px; letter-spacing:1px; text-transform:uppercase;
      box-shadow:0 6px 16px rgba(138,100,35,.4), inset 0 1px 0 rgba(255,255,255,.5);
      transition:transform .15s, box-shadow .15s; }
    .lnc-btn:hover { box-shadow:0 8px 20px rgba(138,100,35,.5), inset 0 1px 0 rgba(255,255,255,.6); }
    .lnc-btn:active { transform:scale(.97); }

    .lnc-error { text-align:center; font-size:13px; margin-top:10px; min-height:16px; font-weight:600; color:#b23b3b; }

    .lnc-result { display:none; margin-top:24px; padding-top:22px; border-top:1px dashed #eadfcb; }
    .lnc-result.lnc-show { display:block; animation:lncfade .35s ease; }
    @keyframes lncfade { from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

    .lnc-letters { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:0 0 20px; }
    .lnc-chip { background:#f9f3e6; border:1px solid #eadfcb; border-radius:10px; padding:8px 12px;
      text-align:center; min-width:42px; }
    .lnc-chip .c { font-weight:700; font-size:16px; display:block; color:#3a1f5c; }
    .lnc-chip .n { display:block; font-size:11px; margin-top:2px; color:#a2854e; }

    .lnc-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
    .lnc-card { background:#f9f3e6; border-radius:12px; padding:16px 10px; text-align:center; min-width:0; }
    .lnc-card .lbl { font-size:10.5px; text-transform:uppercase; letter-spacing:.5px; color:#8a7a5e; font-weight:700; }
    .lnc-card .breakdown { font-size:13.5px; color:#a2854e; margin-top:7px; letter-spacing:.3px; font-weight:600;
      min-height:17px; word-break:break-word; }
    .lnc-card .val { font-size:20px; font-weight:700; margin-top:4px; word-break:break-word; color:#3a1f5c; }

    .lnc-planet-card { margin-top:12px; background:linear-gradient(135deg,#3a1f5c,#5b2a86); border-radius:12px;
      padding:16px 14px; text-align:center; }
    .lnc-planet-card .lbl { font-size:10.5px; text-transform:uppercase; letter-spacing:.5px; color:#d9c8ee;
      font-weight:700; }
    .lnc-planet-card .val { margin-top:6px; }
    .lnc-planet-card .val .ta { font-family:'Noto Sans Tamil','Latha',sans-serif; font-weight:700; font-size:20px;
      color:#fff; }
    .lnc-planet-card .val .en { font-size:15px; font-weight:400; color:#e4d6f5; margin-left:2px; }

    .lnc-note { margin-top:16px; background:#f9f3e6; border-left:3px solid #c9a35e; border-radius:0 8px 8px 0;
      padding:12px 16px; font-size:13px; color:#5b4a30; line-height:1.6; }

    /* ---- Theory content: bilingual toggle + text ---- */
    .ln-theory-wrap { max-width:880px; margin:0 auto; padding:0 18px; }

    /* Sliding Pill language toggle — Navy Blue (locked) */
    .ln-lang-toggle { display:flex; justify-content:center; margin:10px 0 26px; }
    .ln-pill { position:relative; display:inline-flex; background:#e6ecf5; border-radius:30px; padding:4px; width:220px; }
    .ln-pill-slider { position:absolute; top:4px; bottom:4px; width:calc(50% - 4px);
      background:linear-gradient(135deg,#1a2a4a,#2d4a7a); border-radius:26px; transition:transform .3s ease;
      box-shadow:0 3px 10px rgba(26,42,74,.3); }
    .ln-pill[data-active="en"] .ln-pill-slider { transform:translateX(100%); }
    .ln-pill-btn { position:relative; z-index:1; flex:1; border:none; background:transparent; padding:10px 0;
      font-size:13.5px; font-weight:700; cursor:pointer; color:#2d4a7a; transition:color .3s; text-align:center; }
    .ln-pill[data-active="ta"] .ln-pill-btn[data-lang="ta"] { color:#fff; }
    .ln-pill[data-active="en"] .ln-pill-btn[data-lang="en"] { color:#fff; }

    .ln-content[data-lang="ta"] .ln-en { display:none; }
    .ln-content[data-lang="en"] .ln-ta { display:none; }
    .ln-ta { font-family:'Noto Sans Tamil','Latha',sans-serif; }

    .ln-quote { border-left:4px solid #c9a35e; background:#fff6e6; padding:12px 16px; margin:18px 0;
      font-style:italic; color:#5b3d0c; border-radius:0 8px 8px 0; }

    .ln-subhead { font-family:'PT Serif',Georgia,serif; color:#3a1f5c; font-size:19px; margin:18px 0 6px;
      border-bottom:2px solid #eadfcb; padding-bottom:4px; line-height:1.3; }
    .ln-content[data-lang="ta"] .ln-subhead { font-size:16.5px; line-height:1.35; }

    p.ln-ta { font-size:15px; line-height:1.6; }
    p.ln-en { font-size:15px; line-height:1.55; }
    .ln-quote span.ln-ta { font-size:14.5px; line-height:1.55; }
    .ln-quote span.ln-en { font-size:14.5px; line-height:1.5; }

    .ln-grid-box { margin:16px 0; }
    .ln-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
    @media(max-width:520px){ .ln-grid{ grid-template-columns:repeat(2,1fr); } }
    .ln-grid-card { background:#fff; border:1px solid #eadfcb; border-radius:12px; padding:12px 8px;
      text-align:center; min-width:0; }

    .ln-grid-num-row { display:flex; align-items:center; justify-content:center; gap:5px; margin-bottom:7px; }
    .ln-grid-num-label { font-size:11px; font-weight:700; color:#8a7a5e; }
    .ln-content[data-lang="ta"] .ln-grid-num-label { font-size:12px; font-family:'Noto Sans Tamil','Latha',sans-serif; }
    .ln-grid-num { width:24px; height:24px; line-height:24px; border-radius:50%; background:#f4ecd8; color:#5b2a86;
      font-weight:700; font-size:12px; flex:none; }
    .ln-grid-planet { font-weight:800; color:#3a1f5c; font-size:16px; }
    .ln-content[data-lang="ta"] .ln-grid-planet { font-size:15.5px; }
    .ln-grid-nature { font-size:10.5px; color:#8a7a5e; margin-top:4px; }

    .ln-grid-letters-wrap { grid-template-columns:repeat(4,1fr); gap:8px; }
    .ln-grid-letters-wrap .ln-grid-card { padding:10px 4px; }
    .ln-grid-letters { font-size:11px; color:#3a1f5c; font-weight:700; white-space:nowrap; margin-bottom:6px; }
    .ln-grid-val-label { font-size:9.5px; color:#a2854e; letter-spacing:.3px; margin-bottom:3px; }

    .ln-nature-boxes { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0; }
    @media(max-width:480px){ .ln-nature-boxes{ grid-template-columns:1fr; } }
    .ln-nature-box { border-radius:12px; padding:14px 16px; }
    .ln-nature-box.benefic { background:#e9f7ec; border:1px solid #b9e3c2; }
    .ln-nature-box.malefic { background:#fdf0e4; border:1px solid #f0cba3; }
    .ln-nature-box-title { font-size:15px; font-weight:700; margin:0 0 6px; line-height:1.3; }
    .ln-content[data-lang="ta"] .ln-nature-box-title { font-size:16px; font-family:'Noto Sans Tamil','Latha',sans-serif; }
    .ln-nature-box.benefic .ln-nature-box-title { color:#2f7a3d; }
    .ln-nature-box.malefic .ln-nature-box-title { color:#b5601f; }
    .ln-nature-box-list { margin:0; }
    .ln-nature-box.benefic .ln-nature-box-list { color:#2f5c3a; }
    .ln-nature-box.malefic .ln-nature-box-list { color:#8a4a1f; }
    .ln-nature-box-list.ln-ta span, .ln-nature-box-list span.ln-ta { font-size:14px; line-height:1.55; }
    .ln-nature-box-list.ln-en span, .ln-nature-box-list span.ln-en { font-size:14px; line-height:1.5; }

    .ln-example { margin:22px 0; background:#fff; border:1px solid #eadfcb; border-radius:16px; padding:20px 16px; }
    .ln-example-caption { text-align:center; font-size:12.5px; color:#8a7a5e; margin:0 0 14px; font-weight:700;
      text-transform:uppercase; letter-spacing:.5px; }
    .ln-ex-row { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; }
    .ln-ex-row + .ln-ex-row { margin-top:14px; }
    .ln-ex-letter { background:#f9f3e6; border:1px solid #eadfcb; border-radius:10px; padding:8px 14px;
      text-align:center; min-width:42px; }
    .ln-ex-letter .ch { font-weight:800; color:#3a1f5c; font-size:20px; display:block; }
    .ln-ex-letter .val { font-size:11.5px; color:#a2854e; display:block; margin-top:3px; }
    .ln-ex-arrow { font-size:16px; color:#c9a35e; font-weight:700; }
    .ln-ex-box { border-radius:10px; padding:8px 16px; text-align:center; min-width:64px;
      display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:56px; }
    .ln-ex-box .lbl { font-size:9.5px; text-transform:uppercase; letter-spacing:.5px; display:block; margin-bottom:2px; }
    .ln-ex-box .val { font-weight:800; font-size:17px; display:block; }
    .ln-ex-box.blue { background:#e8f2fb; border:1px solid #bcdcf3; color:#1f4e79; }
    .ln-ex-box.blue .lbl { color:#3f7fb0; }
    .ln-ex-box.dark { background:#3a1f5c; color:#fff; }
    .ln-ex-box.dark .lbl { opacity:.75; }
    .ln-ex-box.gold { background:linear-gradient(135deg,#c9a35e,#e8c987); color:#3a1f5c; }
    @media(max-width:480px){
      .ln-ex-row{ gap:6px; } .ln-ex-arrow{ font-size:14px; } .ln-ex-box{ padding:8px 12px; min-width:56px; }
    }

    /* ---- CTA box: page-scoped premium polish on top of the shared
         .art-cta-box in article.css. This file loads last, so this
         override applies only on this page; article.css is untouched.
         Width/margin set explicitly here (not left to the parent
         container's own gutter) so it always sits inset from the
         screen edges like the other cards on this page. ---- */
    .mt-4.container-fluid .art-cta-box { width:calc(100% - 36px); margin-left:auto; margin-right:auto;
      border-radius:22px; box-shadow:0 16px 40px rgba(77,0,121,.38); border:1px solid rgba(255,255,255,.1);
      position:relative; overflow:hidden; padding:34px 26px; }
    .mt-4.container-fluid .art-cta-box::before { content:''; position:absolute; inset:0;
      background:radial-gradient(circle at top right, rgba(255,255,255,.1), transparent 60%); pointer-events:none; }
    .mt-4.container-fluid .art-cta-btn { box-shadow:0 8px 20px rgba(200,148,12,.45); }

