/*
Theme Name: Transform-AI
Theme URI: 
Author: Moods
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transform-ai
Tags: 
*/
html{
    scrollbar-gutter: stable;
}
header {
    background-color: rgba(0,0,0,0) !important;
}
.header-logo-group{
  background-color: #7d2d91;
  color: #fff;
  padding: 30px 15px 30px 5px;
  border-bottom-right-radius: 28% 100%;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  width: 380px;
  text-align: center;
  box-sizing: border-box;
}


.header-logo-group .wp-block-site-logo img{
  height: 45px !important;
  width: auto !important;
}

@media (width <= 1250px) {
    .header-logo-group{
        padding: 30px 15px 30px 5px;
        width: 280px;
    }


    .header-logo-group .wp-block-site-logo img{
        height: 30px !important;
    }
}

@media (width <= 1024px) {
    .header-logo-group{
        padding: 15px 5px 15px 0px;
        width: 200px;
    }


    .header-logo-group .wp-block-site-logo img{
        height: 20px !important;
    }
}


footer{
    background-color: #7d2d91;
    color: #fff;
}

.footer-logo img{
    height: 50px;
    width: auto;
}

footer .is-layout-constrained > .alignwide {
    max-width: 1200px !important;
}
.no-margin-block-start{
    margin-block-start: 0 !important;
}
div.entry-content{
  margin-block-start: 0;
}
.menu-toggle {
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: 0;
  color: #7d2d91;
  position: absolute;
  z-index: 1100;
  right: 15px;
  top: 35px;
  display: none;
  margin-block-start: 0;
}

.menu-open .menu-toggle{
    color: #fff;
}
a{
    text-underline-offset: 4px;
}
@media (width <= 1024px) {
    .menu-toggle {
        top: 12px;
    }
}

.desktop-menu{
    display: none;
}
.menu-toggle {
    display: block;
}
.slide-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background: #7d2d91;
    color: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding: 2rem 1rem;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    padding-top: 60px;
    box-sizing: border-box;
    margin-block-start: 0;
}

/* Open state */
.slide-menu.open {
  transform: translateX(0);
  color: #fff;
}

/* Overlay behind the menu */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  max-width: 100%;
  margin-block-start: 0;
}

.menu-overlay.active {
    display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-large);
  transition: height 0.3s ease, top 0.3s ease;
  z-index: 999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

header > div{
  width: 100%;
}

header.hide {
  top: -100%;
}

header.small {
  height: var(--header-height-small);
}

/* Prevent page scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Menu list basics */
.menu-list,
.menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list > li {
  margin: 0;
  padding: 0.5rem 0;
}

.menu-list > li:not(:first-of-type) {
    margin-top: 10px;
}

.menu-list > li > a{
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
}

.menu-item-heading {
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
}

.sub-menu > li {
    margin-top: 15px;
}
.sub-menu > li > a{
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;

}

.menu-list > li > a, .sub-menu > li > a{
  text-underline-offset: 6px;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-decoration-thickness: 1px;
}

@media (max-width: 767px) {
    .menu-list > li:not(:first-of-type) {
        margin-top: 5px;
    }

    .sub-menu > li {
        margin-top: 10px;
    }
    .menu-list > li > a{
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    }

    .menu-item-heading {
    font-size: 1.4rem;
    }

    .sub-menu > li > a{
        font-size: 1.0rem;
    }
    .slide-menu {
        width: 360px;
        padding: 30px 15px;
        padding-top: 45px;
    }
}
@media (max-width: 560px) {
    .slide-menu {
        width: 100%;
    }
}
/* Submenu toggle button */
.submenu-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  margin-left: 0.5rem;
  cursor: pointer;
  color: #fff;
}

.menu-list .sub-menu {
  margin: 0.25rem 0 0 1rem;
  padding: 0;
}
/* 
.wp-block-group.is-style-wider-1200 {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
} */
a.button{
    background-color: #7d2d91;
    border-width: 0;
    color: #fff;
    font-family: var(--wp--preset--font-family--exo);
    font-size: inherit;
    font-style: normal;
    font-weight: 600;
    letter-spacing: inherit;
    line-height: inherit;
    padding-top: calc(0.667em + 2px);
    padding-right: calc(1.333em + 2px);
    padding-bottom: calc(0.667em + 2px);
    padding-left: calc(1.333em + 2px);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 9999px;
    display: inline-block;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}
.custom-article-grid-container{
    text-align: center;
}
.custom-article-grid-container a.button{
    margin-top: 45px;
    display:block;
}

.custom-article-grid {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

@media (max-width: 800px) {
    .custom-article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }
}

@media (max-width: 500px) {
    .custom-article-grid {
        grid-template-columns: 1fr;
    }
}

.custom-article-grid .article-item {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.custom-article-grid .article-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.custom-article-grid .article-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    min-height: 30px;
}

.custom-article-grid .article-title a {
    text-decoration: none;
    color: #000;
}

.custom-article-grid h3{
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 1.0rem;
}

.custom-article-grid .article-title a:hover {
    text-decoration: underline;
}

.custom-article-grid .article-excerpt {
    font-size: 1rem;
    padding-top: 0;
    margin-top: 0;
}

.custom-article-grid .article-excerpt p:first-of-type {
    margin-top: 10px;
}

.custom-article-grid .read-more-link {
    margin-top: auto;
    text-transform: uppercase;
    text-underline-offset: 4px;
}

.article-category-list-box ul {
    padding-left: 0;
    list-style-type: none;
}

.article-category-list-box ul li:not(:last-of-type) {
    margin-bottom: 10px;
}

.article-category-list-box a {
    color: #000;
    font-size: 1.0rem;
}

p.single-article-date-info {
    text-transform: uppercase;
    font-size: 0.9rem;
}

.color-2-svg img{
    fill: #7d2d91 !important;
}

@media (max-width: 1200px) {
    .front-page-main-cover p{
        font-size: 2.6rem !important;
    }
}

@media (max-width: 767px) {
    .front-page-main-cover p, .page-main-cover p{
        font-size: 1.8rem !important;
    }
    .front-page-main-cover {
        min-height: 75vh !important;
    }
}
@media (max-width: 781px) {
   .archive-list-column{
        padding-top: 0 !important;
    }

    .news-columns{
        gap: 0 !important;
    }

    .icon-column {
        display: none;
    }
}
@media (max-width: 767px) {
    :root {
        --wp--preset--spacing--60: 15px !important;
        --wp--preset--spacing--70: 35px !important;
        --wp--preset--spacing--80: 40px !important;
    }

    :root :where(.is-layout-flow) > * {
        margin-block-start: 16px !important;
    }
    .front-page-main-cover, .page-main-cover, .no-margin-block-start {
        margin-block-start: 0 !important;
    }
    .front-page-main-cover, .page-main-cover{
        align-items: flex-end !important;
        justify-content: center !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 15px !important;
    }

    .front-page-main-cover p, .page-main-cover p{
        color: #fff !important;
        background: #7d2d91;
        padding: 10px 5px !important;
    }
    .wp-block-cover__inner-container > .wp-block-group{
        padding: 0 !important; 
    }
    div.entry-content{
        margin-block-start: 0 !important;
    }
}

.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;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    background-color: #ffffff;
    border: 3px solid #000000;
    clip: auto !important;
    clip-path: none;
    color: #000000;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    padding: 15px 25px;
    position: absolute;
    top: 5px;
    text-decoration: none;
    width: auto;
    z-index: 100000;
}