/*

Theme name: Tick Borne Wordpress

*/

@import 'colors.css';

/* === Base Reset & Typography === */

body,
h1,
h2,
h3,
h4,
p,
ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Verdana", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* === Layout Containers === */

.container {
    margin: 0 auto;
    padding: 0 20px;
}

.container-two-thirds {
    max-width: 66vw;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top: 15px;
}

.container-two-thirds ul,
.container-two-thirds ol {
  /* indent the marker + text 1.5em from the left edge */
  padding-inline-start: 2.5em;
  /* keep bullets/numbers just outside the text area */
  list-style-position: outside;
  /* reset any competing margins */
  margin: 0 0 1em 0;
}

/* optional: add breathing room between items */
.container-two-thirds li {
  margin-bottom: 0.5em;
}

/* ── Base table reset & layout ── */
.container-two-thirds figure.wp-block-table table,
.container-two-thirds .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

/* Uniform cell padding & border */
.container-two-thirds .wp-block-table th,
.container-two-thirds .wp-block-table td {
  padding: 8px 12px;
  border: 1px solid #ccc;
}

/* ── Zebra striping ── */
/* White rows on odd, light‑grey on even */
.container-two-thirds .wp-block-table tr:nth-child(odd) td {
  background-color: #ffffff;
}
.container-two-thirds .wp-block-table tr:nth-child(even) td {
  background-color: #DDDDDD;
}

/* ── "Header" row styling ── */
/* Target first row's cells and override striping */
.container-two-thirds .wp-block-table tr:first-child td {
  background-color: #32CD32 !important;
  color: #ffffff     !important;
  font-weight: bold  !important;
}

/* ── First column bold ── */
.container-two-thirds .wp-block-table tr td:first-child {
  font-weight: bold;
}

/* ── Reset any universal block gaps ── */
.container-two-thirds > * {
    margin-bottom: 0;
  }

/* 1) Float & size */
.thumb-square-rounded {
    float: right;
    width: 200px;
    height: 200px;
    
    /* round the corners */
    border-radius: 20px;
    
    /* clip the image to the shape */
    overflow: hidden;
    
    /* tell text to wrap around the curved square */
    shape-outside: inset(0 round 20px);
    shape-margin: 5px;     /* gap between the shape and the text */
    
    /* small external margin so the box doesn't butt right up against other block elements */
    margin: 0 5px 5px 0;
  }
  
  /* 5) Ensure the img fills the box */
  .thumb-square-rounded img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  /* ensure your container expands around floated children */
  .container-two-thirds::after {
    content: "";
    display: table;
    clear: both;
  }
  
/* ── Separator spacing like headers ── */
.container-two-thirds hr.wp-block-separator,
.container-two-thirds .wp-block-separator {
  margin-top:    30px;
  margin-bottom: 15px;
}

/* if you use a plain <hr> without the WP class */
.container-two-thirds > hr {
  margin-top:    30px;
  margin-bottom: 15px;
}

/* remove extra gap before the very first separator */
.container-two-thirds > hr:first-of-type,
.container-two-thirds .wp-block-separator:first-of-type {
  margin-top: 0;
}
  
  /* ── (Optional) Restore normal paragraph spacing ── */
  /* if you want standard paragraph breaks inside content groups */
  .container-two-thirds p {
    margin-bottom: 1em;
  }

.container-four-fifth {
    max-width: 80vw;
    /* 4/5 of viewport width */
    margin: 0 auto;
    /* center it */
    padding: 2rem 1rem;
}

/* === Buttons === */

.btn {
    font-weight: bold;
    display: block;
    text-align: left;
    border-radius: 10px;
    padding: 20px;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn:hover,
.btn.feature-block:hover {
    filter: brightness(90%);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.btn.feature-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 calc(25% - 20px);
    min-width: 220px;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* === Boxes === */

.box {
    flex: 1 1 calc(25% - 20px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    min-width: 220px;
}

/* === Typography Utility === */

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* SEO-friendly breadcrumbs styling */
.breadcrumbs {
    margin: 20px 0;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    border-left: 3px solid #32CD32;
    font-size: 14px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}

.breadcrumbs li::after {
    content: "›";
    margin: 0 5px;
    color: #666;
}

.breadcrumbs li:last-child::after {
    content: "";
    margin: 0;
}

.breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #32CD32;
    text-decoration: underline;
}

/* Semantic HTML enhancements for SEO */
article {
    margin-bottom: 2em;
}

.entry-header {
    margin-bottom: 1.5em;
}

.entry-title {
    word-wrap: break-word;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Make sure the page is fully responsive for SEO */
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Add semantic styling for site elements */
header[role="banner"],
main[role="main"],
nav[role="navigation"],
aside[role="complementary"],
footer[role="contentinfo"] {
    display: block;
}

/* Make sure screen reader text is properly hidden but accessible */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
