/* =========================================================
   Activity Detail (template-activity-detail.php)
   Header / gallery: tt-paragliding.css (ttp) + tt-stay-detail.css
   Body: shared .ttk system. Only activity extras here.
   ========================================================= */

.tad .tad-intro { margin-top: 10px; max-width: 760px; }
.tad .tad-intro p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; color: var(--body, #475569); }
.tad .ttp-head__row { align-items: flex-start; }

/* Key facts grid (Location, Weight, Age, Timings ...) */
.tad .tad-facts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 18px 0 0; padding: 0; list-style: none; }
.tad .tad-facts li { align-items: center; padding: 12px 14px; }
.tad .tad-facts .ttk-glance__ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; color: var(--o, #ff5e00); background: var(--o-wash, #fff3eb); border-radius: 12px; }
.tad .tad-facts strong { font-size: 14px; }

/* Prose lists = check bullets (core look) */
.tad .tad-prose ul { margin: 12px 0 16px; padding: 0; list-style: none; }
.tad .tad-prose ul li { position: relative; margin: 0 0 9px; padding-left: 30px; line-height: 1.6; }
.tad .tad-prose ul li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border: 1.6px solid var(--o, #ff5e00); border-radius: 50%; background: no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.tad .tad-prose ol { margin: 12px 0 16px; padding-left: 22px; }
.tad .tad-prose ol li { margin: 0 0 8px; padding-left: 4px; line-height: 1.6; }
.tad .tad-prose ol li::marker { font-weight: 700; color: var(--o, #ff5e00); }
.tad .tad-prose h3,
.tad .tad-prose h4 { margin: 20px 0 10px; font-size: 17px; font-weight: 800; color: var(--navy, #1a365d); }
.tad .tad-prose h3:first-child,
.tad .tad-prose h4:first-child { margin-top: 0; }

/* Not-included lists (Exclusions): red cross bullets */
.tad .tad-prose ul.is-no li::before { border-color: #dc2626; background-size: 10px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }

/* Feature chips (Gear, Safety, Transport, Sightseeing): horizontal, one icon each */
.tad .tad-prose ul.tad-feats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.tad .tad-prose ul.tad-feats li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px 8px 10px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--navy, #1a365d); background: #fff; border: 1px solid var(--line, #e5e9f0); border-radius: 999px; }
.tad .tad-prose ul.tad-feats li::before { position: static; flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background-color: var(--o-wash, #fff3eb); background-position: center; background-repeat: no-repeat; background-size: 16px; }
.tad .tad-prose ul.tad-feats li.is-gear::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M2 12h3M19 12h3M4.9 19.1 7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.tad .tad-prose ul.tad-feats li.is-safety::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.4-3 8.3-7 10-4-1.7-7-5.6-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.tad .tad-prose ul.tad-feats li.is-transport::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16V11l2-5h10l2 5v5'/%3E%3Cpath d='M3 16h18v3H3zM7 19v2M17 19v2M5 11h14'/%3E%3C/svg%3E"); }
.tad .tad-prose ul.tad-feats li.is-sight::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 1 2-2h2l2-2h6l2 2h2a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }

/* Place / site entries inside a section (h3 + photo + text), e.g. dive sites */
.tad .tad-site__img { margin: 4px 0 14px; overflow: hidden; border-radius: 16px; background: #eef2f7; }
.tad .tad-site__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tad .tad-prose h3 + .tad-site__img { margin-top: 0; }
.tad .tad-prose .tad-site__img ~ h3 { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line, #e5e9f0); }
.tad .tad-site__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.tad .tad-prose .tad-site__cta a { text-decoration: none; }

/* Tables inside content (price lists) */
.tad .tad-prose table { display: table; width: 100% !important; max-width: 100%; margin: 14px 0 18px; overflow: hidden; table-layout: auto; border: 1px solid var(--line, #e5e9f0); border-collapse: separate; border-spacing: 0; border-radius: 14px; font-size: 14.5px; }
.tad .tad-prose table tbody,
.tad .tad-prose table thead { display: table-row-group; width: auto; }
.tad .tad-prose table thead { display: table-header-group; }
.tad .tad-prose th,
.tad .tad-prose td { width: auto !important; padding: 12px 14px; text-align: left; border: 0; border-top: 1px solid var(--line, #e5e9f0); }
.tad .tad-prose tr:first-child th,
.tad .tad-prose tr:first-child td { border-top: 0; }
.tad .tad-prose thead th,
.tad .tad-prose tr:first-child th,
.tad .tad-prose tbody tr:first-child td strong:only-child { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted, #64748b); }
.tad .tad-prose thead th,
.tad .tad-prose tr:first-child th { background: var(--mist, #f5f8fc); }
.tad .tad-prose td:last-child { font-weight: 700; color: var(--navy, #1a365d); }
.tad .tad-prose tbody tr:hover td { background: #fffaf6; }

/* Booking card price */
.tad .tad-bookprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 2px 0 12px; line-height: 1.2; }
.tad .tad-bookprice small { flex: 1 1 100%; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #64748b); }
.tad .tad-bookprice strong { font-size: 26px; font-weight: 800; color: var(--o, #ff5e00); }
.tad .tad-bookprice span { font-size: 13px; color: var(--muted, #64748b); }

/* Link cards */
.tad .tad-tiles { margin-bottom: 14px; }
.tad .tsg-tile__t > span { display: flex; flex-direction: column; gap: 2px; }
.tad .tsg-tile__t small { font-size: 13px; font-weight: 600; opacity: .85; }
.tad div.tsg-tile { cursor: default; }

/* Images inside sections */
.tad .tpl-sec__img { margin: 4px 0 16px; overflow: hidden; border-radius: 18px; }
.tad .tpl-sec__img img { display: block; width: 100%; height: auto; }

@media (max-width: 640px) {
	.tad .tad-intro p { font-size: 15px; }
	.tad .tad-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
	.tad .tad-facts li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
	.tad .tad-prose table { font-size: 13.5px; }
	.tad .tad-prose th,
	.tad .tad-prose td { padding: 10px 11px; }
	.tad .tad-site__img { border-radius: 12px; }
	.tad .tad-prose ul.tad-feats { gap: 8px; }
	.tad .tad-prose ul.tad-feats li { padding: 6px 12px 6px 8px; font-size: 13.5px; }
	.tad .tad-site__cta .ttk-btn { flex: 1 1 100%; justify-content: center; }
}
