:root {
	--teal: #00ABBE;
	--teal-dark: #008fa0;
	--teal-light: #e0f7fa;
	--green: #91C73D;
	--green-dark: #74a12e;
	--green-light: #f0f8e0;
	--sand: #fdf8f2;
	--sand-mid: #f5ede0;
	--bark: #4a3728;
	--bark-mid: #7a5c48;
	--bark-light: #c4a882;
	--white: #ffffff;
	--shadow: 0 4px 24px rgba(0,171,190,0.10);
	--shadow-card: 0 2px 12px rgba(74,55,40,0.10);
	--radius: 16px;
	--radius-sm: 8px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  /* ─── SEARCH ─── */
  .search-bar-wrap {
	max-width: 780px;
	margin: 0px auto 2rem;
	padding: 0 20px;
	position: relative;
	z-index: 10;
  }
  .search-bar {
	background: var(--white);
	border-radius: 50px;
	box-shadow: 0 8px 32px rgba(0,171,190,0.18), 0 2px 8px rgba(0,0,0,0.08);
	display: flex;
	align-items: center;
	padding: 8px 8px 8px 22px;
	gap: 10px;
	border: 2px solid transparent;
	transition: border-color 0.2s;
  }
  .search-bar:focus-within { border-color: var(--teal); }
  .search-icon { color: var(--teal); font-size: 1.2rem; flex-shrink: 0; }
  .search-bar input {
	flex: 1;
	border: none;
	outline: none;
	/*font-family: 'DM Sans', sans-serif;*/
	font-size: 0.95rem;
	color: var(--bark);
	background: transparent;
  }
  .search-bar input::placeholder { color: var(--bark-light); }
  .search-btn {
	background: var(--teal);
	color: #fff;
	border: none;
	border-radius: 40px;
	padding: 10px 22px;
	/*font-family: 'DM Sans', sans-serif;*/
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
	white-space: nowrap;
  }
  .search-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }

  /* ─── MAIN LAYOUT ─── */
  .main-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 20px 80px;
  }

  /* ─── FILTER TABS ─── */
  .filter-section { margin-bottom: 44px; }
  .filter-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bark-mid);
	margin-bottom: 12px;
  }
  .filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
  }
  .filter-tab {
	padding: 7px 16px;
	border-radius: 40px;
	border: 1.5px solid var(--bark-light);
	background: transparent;
	/*font-family: 'DM Sans', sans-serif;*/
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--bark-mid);
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 6px;
  }
  .filter-tab .tab-icon { font-size: 1rem; }
  .filter-tab:hover {
	border-color: var(--teal);
	color: var(--teal);
	background: var(--teal-light);
  }
  .filter-tab.active {
	background: var(--teal);
	border-color: var(--teal);
	color: var(--white);
  }

  /* ─── SECTION HEADER ─── */
  .section-header {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap; align-items: center; 
	gap: 14px;
	margin-bottom: 28px;
  }
  .section-header h2 {
	/*font-family: 'Fraunces', serif;*/
	font-size: 1.9rem;
	font-weight: 600;
	color: var(--teal);
	line-height: 1.15;
  }
  .section-count {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--bark-light);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	flex: 1;
  }
  .toggle-all-btns { display: flex; gap: 8px; margin-left: auto; }
  .toggle-all-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 16px; border-radius: 40px;
	border: 1.5px solid var(--teal); background: var(--teal); color: #fff;
	font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600;
	cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  }
  .toggle-all-btn:hover {
	background: var(--teal-dark); border-color: var(--teal-dark);
	transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,171,190,0.25);
  }
  .toggle-all-btn.secondary { background: transparent; color: var(--teal); }
  .toggle-all-btn.secondary:hover { background: var(--teal-light); box-shadow: none; }
  
  @media (max-width: 540px) {
	.toggle-all-btns { margin-left: 0; width: 100%; }
	.toggle-all-btn { flex: 1; justify-content: center; }
  }

  /* ─── ACTIVITY GRID ─── */
  .activities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
  }

  /* ─── ACTIVITY CARD ─── */
  .activity-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	border: 1.5px solid transparent;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
	animation: fadeUp 0.45s ease both;
	display: flex;
	flex-direction: column;
  }
  .activity-card:hover {
	border-color: var(--teal);
	box-shadow: 0 8px 28px rgba(0,171,190,0.14);
	transform: translateY(-3px);
  }
  .activity-card.hidden { display: none; }

  @keyframes fadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
  }

  .card-header {
	padding: 20px 22px 14px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	cursor: pointer;
	user-select: none;
  }

  .card-icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--green-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.55rem;
	flex-shrink: 0;
	transition: background 0.2s;
  }
  .activity-card:hover .card-icon-wrap { background: #ddf5b0; }

  .card-title-group { flex: 1; }
  .card-title {
	/*font-family: 'Fraunces', serif;*/
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--teal);
	margin-bottom: 3px;
	line-height: 1.2;
  }
  .card-subtitle {
	font-size: 1rem;
	color: var(--bark-light);
	font-weight: 400;
  }

  .card-toggle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--sand);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	color: var(--bark-mid);
	transition: background 0.2s, color 0.2s, transform 0.3s;
	flex-shrink: 0;
	margin-top: 2px;
  }
  .card-toggle:hover { background: var(--teal-light); color: var(--teal); }
  .activity-card.open .card-toggle { transform: rotate(180deg); background: var(--teal); color: var(--white); }

  .card-tags {
	padding: 0 22px 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
  }
  .card-tag {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 20px;
	background: var(--sand-mid);
	color: var(--bark-mid);
  }
  .card-tag.essential { background: rgba(0,171,190,0.1); color: var(--teal-dark); }
  .card-tag.safety { background: rgba(255,100,80,0.1); color: #cc4433; }
  .card-tag.gear { background: var(--green-light); color: var(--green-dark); }

  .card-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .activity-card.open .card-body { max-height: 1000px; }

  .card-divider {
	height: 1px;
	background: var(--sand-mid);
	margin: 0 22px;
  }

  .card-list {
	padding: 16px 22px 20px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 9px;
  }
  .card-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 1.1rem;
	color: var(--bark);
	line-height: 1.5;
  }
  .card-list li::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
	flex-shrink: 0;
	margin-top: 6px;
  }
  .card-list li strong { color: var(--teal-dark); font-weight: 600; }

  /* ─── RULES SECTION ─── */
  .rules-section {
	margin-top: 64px;
	background: linear-gradient(135deg, #003d45 0%, #005f6e 100%);
	border-radius: 20px;
	padding: 40px 36px;
	color: #fff;
	position: relative;
	overflow: hidden;
  }
  .rules-section::before {
	content: '⚠';
	font-size: 160px;
	position: absolute;
	right: 30px;
	top: -20px;
	opacity: 0.05;
	pointer-events: none;
  }
  .rules-section h2 {
	/*font-family: 'Fraunces', serif;*/
	font-size: 1.6rem;
	font-weight: 600;
	color: #91C73D;
	margin-bottom: 10px;
  }
  .rules-section > p {
	font-size: 1rem;
	color: rgba(255,255,255,0.7);
	margin-bottom: 24px;
	font-style: italic;
  }
  .rules-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
  }
  .rule-item {
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 10px;
	padding: 12px 16px;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 1rem;
	color: rgba(255,255,255,0.85);
	line-height: 1.5;
  }
  .rule-no {
	font-size: 1.1rem;
	flex-shrink: 0;
	margin-top: -1px;
  }

  /* ─── QUICK TABLE ─── */
  .table-section {
	margin-top: 64px;
  }
  .table-section h2 {
	/*font-family: 'Fraunces', serif;*/
	font-size: 1.9rem;
	font-weight: 600;
	color: var(--teal);
	margin-bottom: 6px;
  }
  .table-section > p {
	font-size: 0.88rem;
	color: var(--bark-mid);
	margin-bottom: 24px;
  }
  .table-wrap {
	overflow-x: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	border: 1.5px solid var(--sand-mid);
  }
  table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	min-width: 560px;
  }
  thead tr {
	background: var(--teal);
	color: #fff;
  }
  thead th {
	padding: 14px 18px;
	text-align: left;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	/*font-family: 'DM Sans', sans-serif;*/
  }
  thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
  thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
  tbody tr {
	border-bottom: 1px solid var(--sand-mid);
	transition: background 0.15s;
  }
  tbody tr:last-child { border-bottom: none; }
  tbody tr:hover { background: var(--teal-light); }
  tbody td {
	padding: 13px 18px;
	font-size: 0.86rem;
	color: var(--bark);
	line-height: 1.5;
	vertical-align: top;
  }
  tbody td:first-child {
	font-weight: 600;
	color: var(--teal-dark);
	white-space: nowrap;
	/*font-family: 'Fraunces', serif;*/
	font-size: 0.95rem;
  }

  /* ─── NO RESULTS ─── */
  .no-results {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	display: none;
  }
  .no-results.show { display: block; }
  .no-results-icon { font-size: 3rem; margin-bottom: 12px; }
  .no-results h3 {
	/*font-family: 'Fraunces', serif;*/
	font-size: 1.3rem;
	color: var(--teal);
	margin-bottom: 8px;
  }
  .no-results p { font-size: 0.9rem; color: var(--bark-mid); }

  /* ─── SEO INTRO ─── */
  .seo-intro {
	background: var(--white);
	border-radius: var(--radius);
	border: 1.5px solid var(--sand-mid);
	padding: 1rem;
	margin-bottom: 2rem;
	position: relative;
	overflow: hidden;
  }
  .seo-intro::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 5px; height: 100%;
	background: linear-gradient(180deg, var(--teal), var(--green));
	border-radius: 4px 0 0 4px;
  }
  .seo-intro h2 {
	/*font-family: 'Fraunces', serif;*/
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--teal);
	margin-bottom: 12px;
  }
  .seo-intro p {
	font-size: 0.92rem;
	color: var(--bark-mid);
	line-height: 1.75;
	margin-bottom: 10px;
  }
  .seo-intro p:last-child { margin-bottom: 0; }
  .seo-intro strong { color: var(--bark); }
  .seo-intro a { color: var(--teal); font-weight: 500; text-decoration: none; }
  .seo-intro a:hover { text-decoration: underline; }

  .intro-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
  }
  .intro-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--teal-dark);
	background: var(--teal-light);
	border: 1px solid rgba(0,171,190,0.25);
	padding: 4px 12px;
	border-radius: 20px;
  }

  
  /* ─── RESPONSIVE ─── */
  @media (max-width: 640px) {
	.hero { padding: 48px 16px 72px; }
	.activities-grid { grid-template-columns: 1fr; }
	.rules-grid { grid-template-columns: 1fr; }
	.section-header { flex-direction: column; gap: 4px; }
	.search-bar-wrap { padding: 0 12px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 20px 24px; }
  }