* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    border: 0;
    vertical-align: baseline;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    line-height: 1;
}

a {
    text-decoration: underline;
    text-decoration-color: transparent;
    color: #0073aa;
    transition: text-decoration-color .2s, color .2s;
}
a:hover {
    text-decoration-color: #0073aa;
}
a:visited {
    color: #0073aa;
}

p {
    font-size: 1.3rem;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

article table + p,
article p + p {
    margin-top: .8rem;
}



/* H SIZE */

h1 {
    font-size: 2rem;
    line-height: normal;
}

article h1,
article h2 {
    margin-top: 3rem;
    font-size: 1.7rem;
    line-height: 4.1rem;
}

article h3 {
    margin-top: 2rem;
    font-size: 1.4rem;
    line-height: 3.2rem;
}

article h4, h5, h6 {
    margin-top: 1rem;

    font-size: 1.1rem;
    line-height: 2.3rem;
}




/* TABLE */

table {
    border: none !important;
    border-collapse: collapse;
    display: block !important;
    font: inherit !important;
    overflow-x: auto !important;
    width: 100%;
    margin-top: 1rem;
    border-spacing: 0;
    background-color: transparent;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    border-collapse: collapse;

    text-align: left;
    font-size: 1rem;
    line-height: 1.5;
}

th {
    background: #f4f4f4;
    font-weight: bold;
}

td {
    border: 1px solid #b8d2e0;
    padding: 5px;
}





/* LIST */

ul {
    padding-inline-start: 0px;
    margin: 0;
}

li {
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.5;
    list-style: auto;
    list-style-position: inside;
    list-style-type: none;
}

li.brand {
    background: #fff;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
    margin-bottom: 10px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

li.brand:hover {
    background: #ececec;
    border-color: #ddd;
}

li.tags {
    background: #fff;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
    margin-bottom: 10px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

li.tags:hover {
    background: #ececec;
    border-color: #ddd;
}

ol {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.5;
    list-style: decimal-leading-zero;
}




/* BLOCKQUOTE */

blockquote {
    margin: 20px 0;
    padding: 20px;
    background: #e0f7fa;
    border-left: 5px solid #0073aa;
    border-radius: 5px;
}

blockquote p {
    margin: 16px;
    font-style: italic;
    color: #0073aa;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

code {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    
}

code pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #0073aa;
}

img {
    width: auto;
    height: auto;
    border-radius: 8px;
    display: block;
}




/* HEADER */

header {
    background: #ffffff;
    display: flex;
}

header a {
    text-decoration: none;
    color: #0073aa;
    font-size: 2rem;
}

header a:hover {
    color: #005177;
}

.grow {
    flex-grow: 1;
}

/* SUBHEADER */

.title_and_descripton_wrapper{
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
    max-width: 1200px;
    color: #fff;
}


.image_wrapper img {
    object-fit: cover;
}


/* TABLE OF CONTENT */

.TOC_content_wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.TOC_header {
    display: flex;
    background: #f0faff;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 16px;
    border-radius: 8px 8px 0px 0px;
    border: 1px solid #bee9ff;
}

.TOC_title p {
    font-weight: 700;
}

.toggle_button {
    background: #0073aa;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 20px;
    margin-top: 20px;
    border: 1px solid #002638;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 8px;
}

.toggle_button:hover {
    background: #005177;
}

.TOC_wrapper:not(.shown) .toggle_button .toc_on {
    display: none;
}

.TOC_wrapper:not(.shown) .toggle_button .toc_off {
    display: inline;
}

.TOC_wrapper.shown .toggle_button .toc_on {
    display: inline;
}

.TOC_wrapper.shown .toggle_button .toc_off {
    display: none;
}



/* CONTENT WRAPPER - CENTRAL COLUMN */

.content_wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 24px auto;
    padding: 16px;

    display: flex;
    flex-direction: column;
    gap: 24px;

    border-radius: 8px;
}

.content_wrapper img {
    margin: 0 auto;
    max-width: 100%;
    object-fit: cover;
}


.taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.taxonomies li {
    flex-basis: 100%;
}

@media (min-width: 480px) {
    .taxonomies li {
        flex-basis: calc(100% / 2);
    }
}

@media (min-width: 768px) {
    .taxonomies li {
        flex-basis: calc(100% / 3);
    }
}

@media (min-width: 1200px) {
    .taxonomies li {
        flex-basis: calc(100% / 4);
    }
}


/* PAGINATION */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    color: #0073aa;
    padding: 8px 8px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination a:hover {
    background: #0073aa;
    color: #fff;
}

.pagination .current {
    background: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
}



/* SEARCH */
.search_form_wrapper {
    width: 100%;
}

.search_form_wrapper form {
    display: flex;
    flex-direction: column;
}

.search_form_wrapper input[type="search"] {
    width: 100%;
    height: 60px;
    padding: 10px;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 1.2rem;
}

.search_form_wrapper input[type="search"]:focus {
    border: none;
    outline: 4px solid #00aeff75;
}

.search_form_wrapper input[type="submit"] {
    padding: 10px 20px;
    height: 60px;
    border: none;
    border-radius: 0 0 8px 8px;
    background: #005177;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}



/* HEADER ELEMENT WRAPPER */
.header-element-wrapper{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px;
    gap: 24px;
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    margin-bottom: 24px;
}




/* SEARCH IN HEADER  */
.search_form_header_wrapper input[type="search"] {
    width: 100%;
    height: 44px;
    padding: 8px;
    border-radius: 8px 8px 0 0;
    font-size: 1.2rem;
    border: 1px solid #00aeff75;
}

.search_form_header_wrapper input[type="search"]:focus {
    border: 1px solid #00aeff75;
    outline: 4px solid #00aeff21;
}

.search_form_header_wrapper input[type="submit"] {
    padding: 10px 20px;
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 0 0 8px 8px;
    background: #005177;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.search_form_header_wrapper input[type="submit"]:hover {
    background: #003f5c;
    outline: 4px solid #00aeff21;
}

.logo_switcher_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}




/* THEME SWITCHER */

.switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.switcher p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background: #f3f3f3;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
}

.slider:before {
    background: white;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 26px;
}

input:checked + .slider {
    background: #66bb6a;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 8px;
}

.slider.round:before {
    border-radius: 12%;
}



/* PRODUCT HEADER */

.product_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0073aa;
    min-height: 30vh;
    gap: 24px;
    padding: 16px;
}

.title_and_descripton_wrapper{
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    color: #fff;
}

.img_wrapper {
    width: 300px;
    max-width: 100%;

    flex-shrink: 0;
}

.img_wrapper img {
    width: 100%;
    height: auto;

    object-fit: cover;
}




/* SEARCH */

.search_form_wrapper {
    width: 100%;
}

.search_form_wrapper form {
    display: flex;
    flex-direction: column;
}

.search_form_wrapper input[type="search"] {
    width: 100%;
    height: 60px;
    padding: 8px;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 1.2rem;
}

.search_form_wrapper input[type="search"]:focus {
    border: none;
    outline: 4px solid #00aeff75;
}

.search_form_wrapper input[type="submit"] {
    padding: 10px 20px;
    height: 60px;
    border: none;
    border-radius: 0 0 8px 8px;
    background: #005177;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}


/* !BREADCRUMBS */

.breadcrumbs_content_wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 16px 0px 16px;
    box-sizing: border-box;
}

.breadcrumbs {
    background: #f3f3f3;
    border: 0;
    font-size: .8rem;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    
    font-family: 'Courier New', Courier, monospace;
    color:#a3a3a3;
}

.breadcrumbs a {
    color: #0073aa;
    margin-right: 5px;
    
}

.breadcrumbs span {
    color: #666;
}




/* TABLE OF CONTENT */

.TOC_content_wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.TOC_header {
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0faff;
    border-radius: 8px 8px 0px 0px;
    border: 1px solid #bee9ff;
    user-select: none;
    cursor: pointer;
}

.TOC_title {
    font-weight: 700;
}

.toggle_button {
    background: #0073aa;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 20px;
    margin-top: 20px;
    border: 1px solid #002638;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 8px;
}

.toggle_button:hover {
    background: #005177;
}

.table_of_contents {
    padding: 18px;
    margin-bottom: 20px;
    
    display: none;
    flex-direction: column;

    border: 1px solid #bee9ff;
    border-radius: 0px 0px 8px 8px;
}

.TOC_wrapper.shown .table_of_contents {
    display: flex;
}

.table_of_contents h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.table_of_contents,
.table_of_contents ul {
    /* list-style-type: none; 
    padding-left: 20px; 
    text-transform: none; */

    /* display: flex;
    list-style-type: decimal; */

    list-style: none;
    padding-left: 0;
    counter-reset: toc-counter;
}

.table_of_contents li {
    /* display: list-item;
    position: relative;
    counter-increment: list-item;
    margin-bottom: 10px;
    text-transform: none; */

    counter-increment: toc-counter;
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.5em;
    line-height: 1.4;


    display: block;
    padding-left: 2em;
}

.table_of_contents li::before {
    content: counter(toc-counter) ".";
    
    width: 2em;

    position: absolute;
    left: 0;
    
    color: #0073aa;
    font-size: 18px;
    line-height: 32px;
    text-align: right;
}

.table_of_contents li > ul li::before {
    content: counters(toc-counter, ".");

}


.table_of_contents li:last-child {
    margin-bottom: 0;
}

.table_of_contents li > ul {
    margin-top: 0.5em;
    counter-reset: toc-counter;
}

.table_of_contents a {
    color: #0073aa;
    font-size: 18px;
    line-height: 32px;
    text-decoration: none;
    transition: color .2s;
}

.table_of_contents a:hover {
    text-decoration: underline;
}

@media (min-width: 480px) {
    .table_of_contents {
        padding: 18px !important;
    }
}

@media (min-width: 768px) {
    .table_of_contents {
        padding: 24px !important;
    }
}






/* CARD */

.product_card_wrapper, .related_products {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.product_card, .related_product_card {
    margin: 0 !important;
    flex-basis: 100%;
    
    background: #fff;
    border: 1px solid #52859c38;
    border-radius: 5px;
    box-shadow: 0 2px 2px #52859c0e;
    outline: 4px solid transparent;

    color: #333;
    
    overflow: hidden;
    cursor: pointer;
    transition: outline .2s;
}


.product_card:hover {
    box-shadow: 0 1px 2px #52859c0e;
    outline: 4px solid hsla(199, 31%, 47%, 0.08);
}

@media (min-width: 480px) {
    .product_card, .related_product_card {
        flex-basis: calc((100% - (24px * 1)) / 2);  
    }
}

@media (min-width: 768px) {
    .product_card, .related_product_card {
        flex-basis: calc((100% - (24px * 3)) / 4);  
    }
}

@media (min-width: 1200px) {
    .product_card, .related_product_card {
        flex-basis: calc((100% - (24px * 4)) / 5);  
    }
}

.product_card img,
.product_card svg {
    width: 100%;
    height: auto;
}

.product_card p {
    font-size: 1rem;
    color: #666;
}

.product_card a {
    width: 100%;
    height: 100%;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    color: #000;
    text-align: center;
    text-decoration: none;
}
.product_card a:visited {
    color: #000;
}
.related_products .product_card a {
    justify-content: center;
}

/* TAGS */

.tags_wrapper {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.tags_wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}


.tag:not(body) {
    display: inline-block;
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.tag:not(body):hover {
    background: #005177;
}



/* UP_BUTTON */

#scrollToTopButton {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 8px;
    z-index: 100;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#scrollToTopButton:hover {
    background: #005177;
}




/* DARK THEME */
[data-theme="dark"] {
    background: #121212;
    color: #ffffff;
}

[data-theme="dark"] header,
[data-theme="dark"] footer {
    background: #1e1e1e;
}

[data-theme="dark"] .content_wrapper {
    background: #1e1e1e;
    border-radius: 8px;
}

[data-theme="dark"] .product_card {
    background: #2e2e2e;
    border: 1px solid #444;
}

[data-theme="dark"] .product_card h3,
[data-theme="dark"] .product_card p {
    color: #ffffff;
}

[data-theme="dark"] .pagination a,
[data-theme="dark"] .pagination span {
    color: #ffffff;
    border: 1px solid #444;
}

[data-theme="dark"] .pagination a:hover {
    background: #444;
}

[data-theme="dark"] .search_form_wrapper input[type="search"],
[data-theme="dark"] .search_form_wrapper input[type="submit"] {
    background: #2e2e2e;
    color: #ffffff;
    border: 1px solid #444;
}

[data-theme="dark"] .search_form_wrapper input[type="submit"]:hover {
    background: #444;
}




/* related_product_card */
[data-theme="dark"] .related_product_card {
    background: #2e2e2e;
    border: 1px solid #444;
    color: #ffffff;
}

[data-theme="dark"] .related_product_card h3 {
    color: #ffffff;
}

[data-theme="dark"] .related_product_card p {
    color: #cccccc;
}

[data-theme="dark"] .related_product_card img {
    border-bottom: 1px solid #444;
}




/* Темная тема для блока author_wrapper */
[data-theme="dark"] .author_wrapper {
    background: #2e2e2e;
    border: 1px solid #444;
    color: #ffffff;
}

[data-theme="dark"] .author_wrapper h2 {
    color: #ffffff;
}

[data-theme="dark"] .author_info {
    color: #ffffff;
}

[data-theme="dark"] .author_details h3 {
    color: #66bb6a;
}

[data-theme="dark"] .author_details p {
    color: #cccccc;
}

[data-theme="dark"] .author_details a {
    color: #66bb6a;
}




/* Темная тема для блока tags_wrapper */
[data-theme="dark"] .tags_wrapper {
    background: #2e2e2e;
    border: 1px solid #444;
    color: #ffffff;
}

[data-theme="dark"] .tags_wrapper h2 {
    color: #ffffff;
}

[data-theme="dark"] .tag {
    background: #444;
    color: #ffffff;
}

[data-theme="dark"] .tag:hover {
    background: #121212;
}


[data-theme="dark"] table {
    border: 1px solid #444;
    color: #ffffff;
}

[data-theme="dark"] table th,
[data-theme="dark"] table td {
    border: 1px solid #444;
}

[data-theme="dark"] table th {
    background: #444;
    color: #ffffff;
}

[data-theme="dark"] table td {
    background: #333;
    color: #cccccc;
}


[data-theme="dark"] code {
    background: #1e1e1e;
    border: 1px solid #444;
    color: #ffffff;
}

[data-theme="dark"] code pre {
    background: #1e1e1e;
    border: 1px solid #444;
    color: #ffffff;
}


[data-theme="dark"] blockquote {
    background: #1e1e1e;
    border-left: 5px solid #66bb6a;
    color: #ffffff;
}

[data-theme="dark"] blockquote p {
    color: #cccccc;
}

[data-theme="dark"] .TOC_header {
    background: #2e2e2e;
    border: 1px solid #444;
}

[data-theme="dark"] .TOC_title p {
    color: #ffffff;
}

[data-theme="dark"] .toggle_button {
    background: #444;
    color: #ffffff;
    border: 1px solid #666;
}

[data-theme="dark"] .toggle_button:hover {
    background: #666;
}

[data-theme="dark"] .table_of_contents {
    background: #1e1e1e;
    border: 1px solid #444;
}

[data-theme="dark"] .table_of_contents h2 {
    color: #ffffff;
}

[data-theme="dark"] .table_of_contents ul {
    color: #ffffff;
}

[data-theme="dark"] .table_of_contents li::before,
[data-theme="dark"] .table_of_contents a {
    color: #66bb6a;
}

[data-theme="dark"] .table_of_contents a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}


[data-theme="dark"] .breadcrumbs {
    background: #121212;
    border: 0;
}

[data-theme="dark"] .breadcrumbs a {
    color: #66bb6a;
}

[data-theme="dark"] .breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

[data-theme="dark"] .breadcrumbs span {
    color: #ffffff;
}

[data-theme="dark"] .footer_info {
    background: #1e1e1e;
    color: #ffffff;
}

[data-theme="dark"] .footer_info p {
    color: #cccccc;
}


[data-theme="dark"] a {
    color: #66bb6a !important;
}
[data-theme="dark"] a:hover {
    color: #fff !important;
    text-decoration-color: #fff;
}

[data-theme="dark"] .search_result_item {
    background: #2e2e2e;
    border: 1px solid #444;
    color: #ffffff;
}

[data-theme="dark"] .search_result_item h2 {
    color: #ffffff;
}

[data-theme="dark"] .search_result_item p {
    color: #cccccc;
}

[data-theme="dark"] .search_form_header_wrapper input[type="search"] {
    background: #2e2e2e;
    color: #ffffff;
    border: 1px solid #444;
}

[data-theme="dark"] .search_form_header_wrapper input[type="search"]:focus {
    background: #2e2e2e;
    color: #ffffff;
    border: 1px solid #444;
    outline: 4px solid #00aeff21;
}

[data-theme="dark"] li.brand {
    background: #2e2e2e;
    color: #ffffff;
    border: 1px solid #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] li.brand:hover {
    background: #444;
    border-color: #666;
}

[data-theme="dark"] li.tags {
    background: #2e2e2e;
    color: #ffffff;
    border: 1px solid #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] li.tags:hover {
    background: #444;
    border-color: #666;
}


[data-theme="dark"] .product_meta {
    background: #2e2e2e;
    border: 1px dashed #444;
    color: #ffffff;
}

[data-theme="dark"] .product_meta p {
    color: #cccccc;
}





/* MEDIA REQUEST */

@media (min-width: 1024px) {

    .table_wrapper {
        overflow-x: auto;
    }

    .product_header {
        flex-direction: row;
    }

    h1 {
        font-size: 3rem;
    }


    .pagination a,
    .pagination span {
        color: #0073aa;
        padding: 8px 16px;
    }

    .header-element-wrapper{
        flex-direction: row;
        justify-content: space-between;
    }

    form.search-form {
        display: flex;
    }

    .search_form_wrapper form {
        flex-direction: row;
    }

    .search_form_wrapper input[type="search"] {
        border-radius: 8px;
        padding: 10px 16px 10px 16px;
        width: 368px;
        border: none;
    }

    .search_form_wrapper input[type="search"]:focus {
        border-radius: 8px;
        padding: 10px 16px 10px 16px;
        width: 368px;
        border: none;
    }

    .search_form_wrapper input[type="submit"] {
        border-radius: 8px 8px ;
        margin-left: 16px;
    }

    .search_form_header_wrapper form {
        flex-direction: row;
    }

    .search_form_header_wrapper input[type="search"] {
        border-radius: 8px;
        padding: 10px 16px 10px 16px;
        width: 368px;
    }

    .search_form_header_wrapper input[type="submit"] {
        border-radius: 8px;
        margin-left: 16px;
    }

    #scrollToTopButton {
        right: 80px
    }
}


.search_form_wrapper input[type="submit"]:hover {
    background: #003f5c;
    outline: 4px solid #00aeff21;
}


.search_results {
    margin-top: 20px;
}

.search_result_item {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #ffffff;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.search_result_item:hover {
    outline: 4px solid hsla(199, 31%, 47%, 0.08);
}

.search_result_item h2 {
    margin: 0 0 10px 0;
}

.search_result_item p {
    margin: 0;
    color: #000;
}



.author_wrapper {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.author_wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.author_info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
}

.author_avatar {
    margin-right: 20px;
}

.author_avatar img {
    border-radius: 50%;
}

.author_details h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0073aa;
}

.author_details p {
    margin: 5px 0 0 0;
    font-size: 1rem;
    color: #666;
}


.cookie-consent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.cookie-consent-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent p {
    margin: 0;
    padding-right: 20px;
    font-size: 1rem;
}

.cookie-consent-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-consent-button:hover {
    background: #005177;
}




/* FOOTER */

.footer_info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: auto;
    background: #aee5ff75;
    padding: 20px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer_info p {
    font-size: 0.8rem;
    margin: 0;
    color: #003f5c;
    text-align: center;
}

/* PRODUCT META */

.product_meta {
    display: flex;
    flex-direction: column;
    gap: 8px;

    background: rgb(255, 255, 255);
    padding: 16px;
    border-radius: 8px;
    border: 1px dashed #bee9ff;
}

.product_meta p {
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
    color: #333;
}


.wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 768px) {
    .wrap {
        flex-direction: row;
    }
}

pre, code {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    overflow-x: auto;
    line-height: 1.5;
}




/* 404 Page Styles */
.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40vh;
    text-align: center;
    color: #333;
}

.page-404 h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-404 p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.page-404 a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.page-404 a:hover {
    text-decoration: underline;
}

.screen-reader-text {
    display: none;
}