/* =====================================================================
   TADOBA SAFARI TIMING page – same palette and fonts as the home page
   (variables come from .hp in home.css)
   ===================================================================== */
.tp{font-family:'Poppins',sans-serif;color:var(--text)}
.tp .st-wrap{position:relative;z-index:2;max-width:1300px;margin:0 auto;padding:0 28px}
.tp .st-center{text-align:center;max-width:820px;margin:0 auto 34px}
.tp .st-lead p.t{margin-top:14px}

/* headings */
.tp h1.st-h1,.tp h2.st-h2{font-family:'Playfair Display',serif;color:var(--ink)}
html body .tp h1.st-h1:not(#hd),html body .tp h2.st-h2:not(#hd){font-size:var(--hd-h2) !important;line-height:1.25 !important;font-weight:600 !important}
.tp h1 em,.tp h2 em{font-style:normal;color:var(--brand-brown)}
.tp h3.st-h3{margin:0;font-family:'Playfair Display',serif;color:var(--ink)}
html body .tp h3.st-h3:not(#hd){font-size:clamp(18px,1.7vw,21px) !important;line-height:1.35 !important;font-weight:600 !important}

/* text */
.tp p.t{margin:14px 0 0;font-size:15.5px;line-height:1.85;color:var(--text);text-align:justify;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto}
.tp .st-center p.t{text-align:center;-webkit-hyphens:manual;hyphens:manual}
.tp p.t a{color:var(--brand-brown);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tp p.t a:hover{color:var(--brand-brown)}
.tp h1.st-h1+p.t{margin-top:18px}

/* 1. intro: text (left) + photo (right) stretched to the text height */
.tp .st-intro-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:44px;align-items:stretch}
.tp .st-photo{position:relative;min-height:340px;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.tp .st-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:55% 50%}

/* 2. morning / afternoon cards */
.tp .st-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tp .st-slot{padding:30px 30px 28px;border-radius:18px;background:var(--sand);border:1px solid var(--line)}
.tp .st-ic{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--accent-soft);color:var(--brand-brown);font-size:20px}
.tp .st-slot h3{margin-top:18px}
.tp .st-slot p.t{margin-top:10px}

/* tables */
.tp .st-tables{display:grid;gap:26px}
.tp .st-tw{overflow-x:auto;border-radius:18px;border:1px solid var(--line);background:#FFFFFF;box-shadow:var(--shadow)}
.tp .st-table{width:100%;min-width:640px;border-collapse:collapse;font-size:14.5px;color:var(--text)}
.tp .st-table caption{padding:16px 22px;text-align:left;caption-side:top;font:600 15px/1.4 'Poppins',sans-serif;color:var(--ink);background:var(--sand);border-bottom:1px solid var(--line)}
.tp .st-table th,.tp .st-table td{padding:12px 16px;text-align:center;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.tp .st-table th:last-child,.tp .st-table td:last-child{border-right:0}
.tp .st-table thead th{background:var(--accent-soft);color:var(--ink);font-weight:600}
.tp .st-table tbody th{text-align:left;font-weight:600;color:var(--ink);background:var(--sand)}
.tp .st-table tbody tr:last-child th,.tp .st-table tbody tr:last-child td{border-bottom:0}
.tp .st-table tbody tr:hover td{background:var(--accent-soft)}
.tp .st-table tr.total th,.tp .st-table tr.total td{background:var(--accent-soft);color:var(--brand-brown);font-weight:700}

/* notes */
.tp .st-note{display:flex;gap:14px;align-items:flex-start;margin:24px 0 0;padding:18px 22px;border-radius:14px;background:var(--sand);border:1px solid var(--line);font-size:14.5px;line-height:1.75;color:var(--text)}
.tp .st-note i{flex:none;margin-top:4px;color:var(--brand-brown)}
.hp-sec--cream .st-note{background:#FFFFFF}

/* full day rules */
.tp .st-rules{list-style:none;counter-reset:r;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tp .st-rules li{counter-increment:r;display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:14px;background:#FFFFFF;border:1px solid var(--line);font-size:14.5px;line-height:1.7;color:var(--text)}
.tp .st-rules li::before{content:counter(r);flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--brand-brown);font:600 13px/1 'Poppins',sans-serif}

/* tips */
.tp .st-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tp .st-tip{position:relative;padding:28px 26px;border-radius:18px;background:var(--sand);border:1px solid var(--line)}
.tp .st-tip .n{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--accent-soft);color:var(--brand-brown);font:600 17px/1 'Poppins',sans-serif}
.tp .st-tip h3{margin-top:16px}
.tp .st-tip p.t{margin-top:8px;text-align:left}
.tp .st-close{max-width:860px;margin:30px auto 0;text-align:center}
.tp .st-close p.t{text-align:center;-webkit-hyphens:manual;hyphens:manual}

@media(max-width:1000px){
  .tp .st-intro-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .tp .st-photo{min-height:0;aspect-ratio:4/3}
  .tp .st-slots,.tp .st-rules{grid-template-columns:minmax(0,1fr)}
  .tp .st-tips{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:650px){
  .tp .st-wrap{padding:0 20px}
  .tp p.t{text-align:left;-webkit-hyphens:manual;hyphens:manual}
  .tp .st-slot{padding:24px 20px}
}

/* ===================== premium / luxury finish ===================== */
.tp .hp-eyebrow{margin-bottom:2px}
.tp .st-center{margin-bottom:42px}
.tp .st-center h2.st-h2::after{content:"";display:block;width:56px;height:2px;margin:16px auto 0;background:var(--accent)}
.tp .st-intro-grid h1.st-h1::after{content:"";display:block;width:56px;height:2px;margin-top:16px;background:var(--accent)}

/* intro photo: soft frame offset behind it */
.tp .st-photo{overflow:visible;box-shadow:none;border-radius:22px}
.tp .st-photo::before{content:"";position:absolute;inset:14px -14px -14px 14px;border:1px solid var(--accent);border-radius:22px;opacity:.45;z-index:0}
.tp .st-photo img{z-index:1;border-radius:22px;box-shadow:0 26px 50px rgba(58,36,20,0.14)}

/* safari slots */
.tp .st-slot{position:relative;overflow:hidden;padding:36px 36px 34px;border-radius:22px;background:linear-gradient(160deg,#FFFFFF 0%,var(--sand) 100%);border:1px solid var(--line);box-shadow:0 18px 40px rgba(58,36,20,0.06);transition:transform .25s,box-shadow .25s}
.tp .st-slot:hover{transform:translateY(-4px);box-shadow:0 26px 50px rgba(58,36,20,0.1)}
.tp .st-slot::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,var(--accent-soft),transparent 70%)}
.tp .st-ic{position:relative;z-index:1;width:60px;height:60px;border-radius:50%;background:#FFFFFF;border:1px solid var(--accent);box-shadow:0 0 0 6px var(--accent-soft);font-size:22px}
.tp .st-slot h3,.tp .st-slot p{position:relative;z-index:1}
.tp .st-slot h3{margin-top:24px}

/* tables */
.tp .st-tw{border-radius:22px;border:1px solid var(--line);background:#FFFFFF;box-shadow:0 22px 48px rgba(58,36,20,0.07)}
.tp .st-table{font-variant-numeric:tabular-nums}
.tp .st-table caption{padding:20px 26px;font:600 12px/1 'Poppins',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--brand-brown);background:#FFFFFF;border-bottom:1px solid var(--line)}
.tp .st-table th,.tp .st-table td{padding:15px 18px;border-right:0;border-bottom:1px solid #F7ECD8}
.tp .st-table thead th{padding:14px 18px;background:var(--sand);color:var(--ink);font:600 12px/1.3 'Poppins',sans-serif;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--accent)}
.tp .st-table thead tr:first-child th{border-bottom:1px solid var(--line)}
.tp .st-table thead tr+tr th{color:var(--muted);font-weight:500;letter-spacing:.06em}
.tp .st-table tbody th{background:#FFFFFF;color:var(--ink);font:600 14px/1.4 'Poppins',sans-serif;text-align:left;padding-left:26px}
.tp .st-table tbody tr:nth-child(even) td,.tp .st-table tbody tr:nth-child(even) th{background:#F7ECD8}
.tp .st-table tbody tr:hover td,.tp .st-table tbody tr:hover th{background:var(--accent-soft)}
.tp .st-table tbody td{font-weight:500;color:var(--text)}
.tp .st-table tr.total th,.tp .st-table tr.total td{background:var(--accent);color:#FFFFFF;font-weight:700;font-size:15px;border-bottom:0}
.tp .st-table tr.total:hover th,.tp .st-table tr.total:hover td{background:var(--accent-hover)}

/* notes */
.tp .st-note{border-radius:16px;border:1px solid var(--line);border-left:3px solid var(--accent);background:#FFFFFF}

/* rules */
.tp .st-rules li{border-radius:16px;box-shadow:0 10px 24px rgba(58,36,20,0.04);transition:transform .2s,border-color .2s}
.tp .st-rules li:hover{transform:translateY(-2px);border-color:var(--accent)}
.tp .st-rules li::before{background:var(--accent);color:#FFFFFF}

/* tips */
.tp .st-tip{padding:34px 30px 30px;border-radius:22px;background:linear-gradient(160deg,#FFFFFF 0%,var(--sand) 100%);box-shadow:0 18px 40px rgba(58,36,20,0.06);overflow:hidden;transition:transform .25s,box-shadow .25s}
.tp .st-tip:hover{transform:translateY(-4px);box-shadow:0 26px 50px rgba(58,36,20,0.1)}
.tp .st-tip .n{position:absolute;right:22px;top:12px;width:auto;height:auto;background:none;border-radius:0;font:600 64px/1 'Playfair Display',serif;color:var(--brand-brown)}
.tp .st-tip h3{position:relative;margin-top:0;padding-right:48px}
.tp .st-tip p.t{position:relative}
.tp .st-close{padding:28px 32px;border-radius:20px;background:var(--sand);border:1px solid var(--line);max-width:900px}
@media(max-width:650px){
  .tp .st-slot{padding:28px 22px}
  .tp .st-photo::before{display:none}
}
@media(prefers-reduced-motion:reduce){.tp .st-slot,.tp .st-tip,.tp .st-rules li{transition:none}}

/* total row must beat the zebra / hover rules */
.tp .st-table tbody tr.total th,.tp .st-table tbody tr.total td{background:var(--accent);color:#FFFFFF;font-weight:700;font-size:15px;border-bottom:0}
.tp .st-table tbody tr.total:hover th,.tp .st-table tbody tr.total:hover td{background:var(--accent-hover)}

/* intro photo back to a plain rounded photo (no offset frame line) */
.tp .st-photo{overflow:hidden;border-radius:22px;box-shadow:var(--shadow)}
.tp .st-photo::before{display:none}
.tp .st-photo img{border-radius:0;box-shadow:none}
/* no word splitting with hyphens */
.tp p.t{-webkit-hyphens:manual;hyphens:manual}

/* ---- plain, solid cards (no gradient / glow / texture) ---- */
.tp .st-slot,.tp .st-tip{background:var(--sand);border:1px solid #F7ECD8;border-radius:18px;box-shadow:0 8px 22px rgba(58,36,20,0.06);overflow:visible}
.tp .st-slot::after{display:none}
.tp .st-slot:hover,.tp .st-tip:hover{transform:none;box-shadow:0 8px 22px rgba(58,36,20,0.06)}
.tp .st-slot{padding:30px 30px 28px}
.tp .st-ic{width:52px;height:52px;border-radius:14px;background:var(--accent);border:0;box-shadow:none;color:#FFFFFF;font-size:20px}
.tp .st-slot h3{margin-top:18px}
.tp .st-tip{padding:28px 26px}
.tp .st-tip .n{position:static;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--accent);color:#FFFFFF;font:600 17px/1 'Poppins',sans-serif}
.tp .st-tip h3{margin-top:16px;padding-right:0}
.tp .st-close{background:var(--sand);border:1px solid #F7ECD8;box-shadow:none}
.tp .st-rules li{background:#FFFFFF;border:1px solid #F7ECD8;box-shadow:none}
.tp .st-note{border:1px solid #F7ECD8;border-left:3px solid var(--accent)}

/* tighter spacing between sections */
.tp .hp-sec{padding:44px 0 48px}
.tp .st-center{margin-bottom:26px}
.tp .st-tables{gap:20px}
.tp .st-note{margin-top:18px}
.tp .st-rules{margin-top:20px}
.tp .st-close{margin-top:22px}
@media(max-width:650px){.tp .hp-sec{padding:34px 0 38px}}
