/*
Theme Name: PDM Accelerate
Theme URI: https://ecodrivenai.com
Author: EcoDriven AI
Author URI: https://ecodrivenai.com
Description: Theme made for EcoDriven AI Websites.
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pdm-accelerate
Tags: 

* {
    box-sizing: border-box!important;
}

.alignwide {
    max-width: 1500px;
    margin-inline: auto;
}

.alignfull {
    width: 100%;
    margin-inline: auto;
}

.wp-block-button {
	transition: .4s;
}

.wp-block-button:hover {
	transform: translateY(-6px);
	filter: brightness(120%);
}

/* toc */

* {
    box-sizing: border-box!important;
}

.alignwide {
    max-width: 1500px;
    margin-inline: auto;
}

.alignfull {
    width: 100%;
    margin-inline: auto;
}

.wp-block-button {
	transition: .4s;
}

.wp-block-button:hover {
	transform: translateY(-6px);
	filter: brightness(120%);
}

/* scroll */
html, body {
	scroll-behavior: smooth;
}


/* toc */
/* TOC container */
.table-of-contents-container {
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    background-color: var(--tri);
}

/* reset counters  */
.table-of-contents {
    counter-reset: h2-counter h3-counter;
    padding-left: 0;
}

.table-of-contents li {
	margin-bottom: 5px;
	list-style: none;
}

/* h2 list items */
.table-of-contents li.toc-level-2 {
    counter-increment: h2-counter;
	counter-reset: h3-counter;
}

.table-of-contents li.toc-level-2::before {
    content: counter(h2-counter) ". ";
    font-weight: bold;
}

/* h3 list items */
.table-of-contents li.toc-level-3 {
    counter-increment: h3-counter;
}

.table-of-contents li.toc-level-3::before {
    content: counter(h2-counter) "." counter(h3-counter) " ";
    font-weight: bold;
}

.table-of-contents ul {
    padding-left: 20px;
}
