/*
Theme Name: PokémonGO Search Generator
Theme URI: https://example.com/
Description: Custom Genesis child theme for the PokémonGO Search Generator tool.
Author: Your Name
Author URI: https://example.com/
Version: 0.2.0
Template: genesis
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pogo-generator
*/

/* Basic starter styles ------------------------------------ */
:root {
    --blue-dark: #002d71;
    --blue: #0a58ca;
    --gold: #d4af37;/* goldenrod accent */
    --teal: #409daf;
    --teal-dark: #1a7587;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    background: #f4f8ff url("/wp-content/uploads/2025/07/pogo-bg-1920x1080-1.jpg") center/cover no-repeat fixed;
    min-height: 100vh;
	margin: 0;
}

body a {
	color: var(--teal);
    text-decoration: none;
	transition: 300ms all ease;
}

body a:hover {
	color: var(--teal-dark);
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

/* Layout enhancements */
.site-container {
    padding: 0;
}

.inner-wrap {
    max-width: 1000px;
    margin: 0.5em auto ;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Global wrap width */
.wrap {
    max-width: 1000px;
    margin: 0 auto;
}

/* Sticky header with menu */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    max-width: 1000px;
    margin: 0 auto;

}

.custom-logo-link img {
    width: 130px;
    height: auto;
}
@media (max-width: 480px) {
    .custom-logo-link img {
        width: 90px;
    }
	p {
		font-size: 0.8em;
	}
	.site-header .site-tagline {
		font-size: small;
	}
	
	.inner-wrap {
		    padding: .4rem;
	}
}

.title-area {
    padding: 10px 2px 0 10px;
}

.genesis-nav-menu {
    margin: 0;
    list-style: none;
    text-decoration: none;
}

.genesis-nav-menu > li > a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--teal);
	transition: 300ms ease all;
}

.genesis-nav-menu > li > a:hover {
    color: var(--teal-dark);
}

/* Account login navigation ------------------------------- */
.menu-item--account-login {
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.menu-item--account-login .account-login__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.menu-item--account-login .account-login__toggle:hover,
.menu-item--account-login .account-login__toggle:focus {
    color: var(--teal-dark);
}

.menu-item--account-login .account-login__toggle:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.menu-item--account-login .account-login__icon svg {
    display: block;
}

.menu-item--account-login .account-login__panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 220px;
    width: max-content;
    text-align: center;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 25;
    border: 1px solid rgba(64, 157, 175, 0.15);
}

.menu-item--account-login.is-open .account-login__panel {
    opacity: 1;
    transform: translateY(0);
    max-height: 260px;
    pointer-events: auto;
}

.account-login__menu {
    width: 100%;
    text-align: left;
}

.account-login__menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.account-login__menu-item {
    margin: 0;
}

.account-login__menu-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.account-login__menu-link:hover,
.account-login__menu-link:focus {
    background: rgba(64, 157, 175, 0.12);
    color: var(--teal-dark);
}

.account-login__menu-link:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.account-login__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.account-login__cta:hover,
.account-login__cta:focus {
    transform: translateY(-1px);
}

.account-login__cta:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.account-login__cta--primary {
    background: var(--teal);
    color: #fff;
}

.account-login__cta--primary:hover,
.account-login__cta--primary:focus {
    background: var(--teal-dark);
    color: #fff;
}

.account-login__cta--secondary {
    border: 2px solid var(--teal);
    color: var(--teal);
    background: #fff;
}

.account-login__cta--secondary:hover,
.account-login__cta--secondary:focus {
    background: var(--teal);
    color: #fff;
}

@media (min-width: 769px) {
    .genesis-nav-menu {
        display: flex;
        gap: 1rem;
    }
}

/* Tagline displayed between logo and nav */
.site-header .site-tagline {
    flex: 1;
    text-align: center;
    font-weight: 600;
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #000;
}


.button,
button,
input[type="submit"] {
/*    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: .5rem;
    padding: .6rem 1.25rem;
    font-weight: 600;
    transition: all .2s ease; */
}

.button:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.x-btn {
	background: #ffffff;
    color: #9a9a9a;
    border: #9a9a9a solid 1px;
    border-radius: 99999px !important;
    padding: 7px 3px;
    font-weight: 600;
    transition: all .2s ease;
    line-height: 2px !important;
	display: inline-block;
}




.wp-block-button__link {
    padding: 7px 23px !important;
    border-radius: 7px !important;
    background-color: var(--teal) !important;
}

.wp-block-button__link:hover {
    padding: 7px 23px !important;
    border-radius: 7px !important;
    background-color: var(--teal-dark);
}

.wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-textarea {
    background: #f4fcfe !important;
    border: solid 1px #b0cfd5 !important;
    border-radius: 4px !important;
    padding: 5px !important;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    width: 100%;
}

.wpcf7-list-item {
    clear: both;
    width: 100%;
}


form.wpcf7-form.init input[type="checkbox"] {
    max-width: 20px;
}

form.wpcf7-form.init {
    max-width: 600px;
    margin: 0 auto;
}

form.wpcf7-form.init p > label {
    font-size: 1.1em;
    font-weight: 600;
}

footer.site-footer .wrap {
    padding: 1em;
}

footer.site-footer {
    margin: 0 .5em .5em .5em;
}

@media (max-width: 768px) {
    .site-header .wrap {
        flex-wrap: wrap;
    }
    .menu-toggle {
        display: block;
    }
    .genesis-nav-menu {
        width: 100%;
        overflow: hidden;
        max-height: 0;
        display: flex;
        flex-direction: column;
        margin-top: 0.5rem;
        transition: max-height 0.3s ease;
    }
    .genesis-nav-menu.open {
        max-height: 75vh;
        padding: 1rem;
    }
    .genesis-nav-menu > li {
        text-align: center;
    }

    .menu-item--account-login {
        order: -1;
        width: 100%;
        margin-left: 0;
        padding-bottom: 1rem;
        margin-bottom: 0.75rem;
    }

    .menu-item--account-login .account-login__toggle {
        display: none;
    }

    .menu-item--account-login .account-login__panel {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        opacity: 1;
        transform: none;
        max-height: none;
        pointer-events: auto;
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
    }

    .menu-item--account-login .account-login__cta {
        flex: 1;
        padding: 0.75rem 0.5rem;
    }

        nav.nav-primary {
    width: 100%;
}
}

/* TABLE */
  /* responsive scroll wrapper */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* table + cell styling (your rule set) */
  .table {
    width: 100%;
    border-collapse: collapse;
    max-width: 100%;
  }
  .table>thead>tr>th,
  .table>thead>tr>td,
  .table>tbody>tr>th,
  .table>tbody>tr>td,
  .table>tfoot>tr>th,
  .table>tfoot>tr>td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
  }

  /* optional zebra striping for readability */
  .table tbody tr:nth-child(odd) { background: #fafafa; }

nav.nav-primary ul {
    padding: 0;
}

.pogo-generator-app {
    min-height: 790px;
}

.x-btn{
  --size: 20px;                 
  width:  var(--size);
  height: var(--size);  
  display: inline-block;
  border: 1px solid #9a9a9a;
  border-radius: 50%;           
  background: #fff;
  cursor: pointer;
  position: relative;           
  padding: 0;   
  transition: 300ms all
}



.x-btn::before,
.x-btn::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;                   
  height: 50%;                  
  background: #9a9a9a;
  transform: translate(-50%, -50%) rotate(45deg);
}
.x-btn::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

.x-btn:hover{
  background: #cacaca;
}

.x-btn.plus {
    border-radius: 20% !important; 
	border: none
}

.x-btn.plus:hover {
  background: #c3f5f5;
}


.x-btn.plus::before,
.x-btn.plus::after{
    background: var(--teal);
}

.x-btn.plus::after{
  transform: translate(-50%, -50%) rotate(0deg);
}

.x-btn.plus::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Footer widgets ------------------------------------------------- */
.site-footer {
    background: #fff;
}

.site-footer .footer-widgets {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.site-footer .footer-widgets__columns {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer .footer-widgets__column {
    color: #333;
}

.site-footer .footer-widgets .widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer .footer-widgets__legal {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
    font-size: 0.875rem;
    color: #4a4a4a;
}

@media (max-width: 768px) {
    .site-footer .footer-widgets__columns {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .site-footer .footer-widgets {
        padding: 2rem 1.25rem;
    }
}

/*opt-in*/
div#cmplz-manage-consent-container {
    border: 5px solid #fbde86;
    padding: 1em;
    font-size: 1.5rem;
    font-weight: 500;
}

details.cmplz-category {
    background: #b5f7ff !important;
}

.cmplz-consent-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}


/*SLIDER HOTFIX*/
.apbPost .apbThumb .apbThumbCats {
    bottom: -23px !important;
    left: 0 !important;
}

#apbAdvancedPosts-1 .apbPost .apbText {

    padding: 30px 25px !important;
	
	}

.options-list label {
	padding-bottom: 1em;
	display: block
}