/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* CUSP Author Card - Matching Site Design */
.cusp-author-card {
    margin: 50px auto;
    max-width: 1200px;
}

.cusp-author-container {
    background: rgba(10, 31, 56, 0.4);
    border: 2px solid rgba(68, 196, 86, 0.3);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cusp-author-main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Avatar */
.cusp-author-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.cusp-author-avatar a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #44C456;
    transition: all 0.3s ease;
}

.cusp-author-avatar a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(68, 196, 86, 0.5);
}

.cusp-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Author Info */
.cusp-author-info {
    flex: 1;
}

.cusp-author-header {
    margin-bottom: 20px;
}

.cusp-author-label {
    display: inline-block;
    background: linear-gradient(135deg, #44C456, #3aa548);
    color: #011224;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cusp-author-header h3 {
    font-size: 28px;
    margin: 10px 0;
    line-height: 1.2;
}

.cusp-author-header h3 a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cusp-author-header h3 a:hover {
    color: #44C456;
}

.cusp-author-title {
    color: #44C456;
    font-size: 16px;
    margin: 5px 0;
}

.cusp-author-bio {
    color: #B8C5D6;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Footer */
.cusp-author-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(68, 196, 86, 0.2);
}

/* Stats */
.cusp-author-stats {
    display: flex;
    gap: 30px;
}

.cusp-stat-item {
    text-align: center;
}

.cusp-stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #44C456;
    margin-bottom: 5px;
}

.cusp-stat-label {
    display: block;
    font-size: 12px;
    color: #B8C5D6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Links */
.cusp-author-social {
    display: flex;
    gap: 12px;
}

.cusp-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(68, 196, 86, 0.1);
    border: 1px solid rgba(68, 196, 86, 0.3);
    border-radius: 50%;
    color: #44C456;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cusp-social-link:hover {
    background: #44C456;
    color: #011224;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(68, 196, 86, 0.4);
}

.cusp-social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cusp-author-container {
        padding: 25px 20px;
    }
    
    .cusp-author-main {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .cusp-author-avatar {
        margin: 0 auto;
    }
    
    .cusp-author-header h3 {
        font-size: 24px;
    }
    
    .cusp-author-footer {
        flex-direction: column;
        gap: 25px;
    }
    
    .cusp-author-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .cusp-stat-item {
        flex: 1;
    }
    
    .cusp-stat-number {
        font-size: 20px;
    }
    
    .cusp-author-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cusp-author-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .cusp-stat-item {
        border-bottom: 1px solid rgba(68, 196, 86, 0.1);
        padding-bottom: 15px;
    }
    
    .cusp-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}


/* Small Author Box - Start */
.small_author_box  .author_container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    gap: 15px;
}
.small_author_box .cr_author_avatar {
    width: 75px;
}
.small_author_box .cr_author_avatar a {
    display: flex;
    padding: 0px;
    align-items: center;
    width: 100%;
    border-radius: 20%;
    overflow: hidden;
}
.small_author_box .cr_author_avatar img {
    width: 100% !important;
}
.small_author_box .cr_author_info {
    width: 90%;
}
.small_author_box .cr_author_info h5.post_author_name a {
    text-decoration: none;
    width: 100%;
    display: block;
}
.small_author_box .cr_author_info h5.post_author_name {
    font-size: 18px;
    line-height: 1.3em;
    text-transform: capitalize;
    margin: 0;
    margin-bottom: 5px;
}
.small_author_box a {
    text-decoration:none;
    color: inherit;
}
.small_author_box a:hover {
    color: var(--accent);
}
.small_author_box h5 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.3em;
    font-weight: 500;
}
.small_author_box .cr_author_info p {
    margin: 0;
    color: inherit;
}

.small_author_box .cr_author_info .expert {
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
    display: flex;
    width: 100%;
}
.small_author_box .cr_author_info p.post_update_date {
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 400;
    color: #191919;
    font-style: italic;
}
.small_author_box .author-check-sign {
    position: relative;
    margin-left: 4px;
    align-items: center;
    display: flex;
}
.small_author_box .author-check-sign img {
    width: 20px;
}
.small_author_box .cr_author_info .post_author_name {
    position: relative;
}
.small_author_box .cr_tooltip {
    padding: 10px;
    font-size: 12px;
    max-width: 400px;
    position: absolute;
    left: 50%;
    top: 29px;
    width: max-content;
    transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    z-index: 99;
    background: #fff;
    border-radius: 4px;
    filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, .35));
    display: none;
    margin-top: -5px;
}
.small_author_box .cr_tooltip::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffff;
    position: absolute;
    top: -9px;
    transform: translate(-50%,0);
    left: 50%;
}
.small_author_box .author-check-sign:hover .expert_tooltip {
    display: flex;
}
.small_author_box .cr_tooltip.authorname_tooltip {
    left: 5%;
}
.small_author_box .expert_tooltip {
    font-size: 14px !important;
    font-weight: 400;
}
.small_author_box .post_author_name:hover .authorname_tooltip {
    display: flex;
}
.small_author_box .cr_tooltip.authorname_tooltip {
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
}
.small_author_box .cr_tooltip.authorname_tooltip .cr_author_bio {
    font-size: 14px;
}
.small_author_box .cr_tooltip.authorname_tooltip .cr_author_bio p.author-bio {
    font-size: 15px !important;
}
.small_author_box .cr_tooltip.authorname_tooltip .author-social-links {
    gap: 5px;
}
.small_author_box .authorname_tooltip .cr_author_title_social h5 {
    margin-top: 10px;
}
.small_author_box .cr_tooltip.authorname_tooltip .cr_author_bio a {
    display: block;
    margin-top: 10px;
    text-decoration: underline;
}
@media (max-width: 767px){
    .small_author_box .cr_tooltip.authorname_tooltip {
        left: 25%;
    }
}
@media (max-width: 1024px){
   .small_author_box .cr_author_info {
        width: 70%;
    }
}

/* Small Author Box - End */






.widget, .gb-grid-column > .gb-container, aside .widget {border:  none!important;}

/* ============================================
   HERO SECTION TEMPLATE
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #011224 0%, #0A1F38 100%) !important;
    position: relative;
    overflow: hidden;
    border-radius: 16px !important;
    margin-bottom: 40px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(68, 196, 86, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-section > .gb-container-content {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section h2 {
    color: #FFFFFF;
    margin-bottom: 24px;
}

.hero-section .highlight {
    color: #44C456;
}

.hero-section p {
    color: #B8C5D6;
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px !important;
    }
    
    .hero-section::before {
        width: 400px;
        height: 400px;
    }
}

/* ============================================
   CONTENT CARD TEMPLATE
   ============================================ */

.content-card {
    background: rgba(10, 31, 56, 0.6) !important;
    border: 1px solid rgba(68, 196, 86, 0.15) !important;
    border-radius: 12px !important;
    padding: 32px !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.content-card:hover {
    border-color: rgba(68, 196, 86, 0.4) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(68, 196, 86, 0.15);
}

.content-card h3,
.content-card h4 {
    color: #FFFFFF;
    margin-top: 0;
}

.content-card p {
    color: #B8C5D6;
}

/* ============================================
   TWO COLUMN SECTION
   ============================================ */

.two-column-section {
    background: transparent !important;
    padding: 60px 24px !important;
}

.two-column-section .gb-grid-wrapper {
    gap: 32px;
}

.two-column-section .gb-grid-column {
    background: rgba(10, 31, 56, 0.6);
    border: 1px solid rgba(68, 196, 86, 0.15);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .two-column-section {
        padding: 40px 20px !important;
    }
    
    .two-column-section .gb-grid-column {
        padding: 24px;
    }
}

/* ============================================
   CTA SECTION TEMPLATE
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #44C456 0%, #2F9A3C 100%) !important;
    padding: 60px 32px !important;
    border-radius: 16px !important;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.cta-section h2,
.cta-section h3 {
    color: #011224 !important;
    margin-bottom: 16px;
}

.cta-section p {
    color: #011224 !important;
    font-size: 18px;
}

.cta-section .gb-button {
    background: #011224 !important;
    color: #44C456 !important;
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 24px;
}

.cta-section .gb-button:hover {
    background: #0A1F38 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 18, 36, 0.4);
}

/* ============================================
   FEATURE GRID TEMPLATE
   ============================================ */

.feature-grid {
    padding: 60px 24px !important;
}

.feature-grid .gb-grid-wrapper {
    gap: 24px;
}

.feature-grid .gb-grid-column {
    background: rgba(10, 31, 56, 0.6);
    border: 1px solid rgba(68, 196, 86, 0.15);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-grid .gb-grid-column:hover {
    border-color: rgba(68, 196, 86, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(68, 196, 86, 0.15);
}

.feature-grid .feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(68, 196, 86, 0.1);
    border: 2px solid #44C456;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #44C456;
}

.feature-grid h4 {
    color: #FFFFFF;
    margin-bottom: 12px;
}

.feature-grid p {
    color: #B8C5D6;
    margin: 0;
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */

.testimonial-section {
    background: rgba(10, 31, 56, 0.6) !important;
    border: 1px solid rgba(68, 196, 86, 0.15) !important;
    border-radius: 16px !important;
    padding: 48px 40px !important;
    margin: 40px 0;
}

.testimonial-section blockquote {
    background: transparent;
    border: none;
    font-size: 20px;
    font-style: italic;
    color: #FFFFFF;
    margin: 0 0 24px 0;
}

.testimonial-section cite {
    color: #44C456;
    font-weight: 600;
    font-style: normal;
}

/* ============================================
   PRICING TABLE
   ============================================ */

.pricing-table {
    padding: 60px 24px !important;
}

.pricing-table .gb-grid-column {
    background: rgba(10, 31, 56, 0.6);
    border: 2px solid rgba(68, 196, 86, 0.15);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-table .gb-grid-column:hover,
.pricing-table .gb-grid-column.featured {
    border-color: #44C456;
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(68, 196, 86, 0.2);
}

.pricing-table .price {
    font-size: 48px;
    font-weight: 700;
    color: #44C456;
    margin: 20px 0;
}

.pricing-table .price-period {
    font-size: 16px;
    color: #B8C5D6;
}

.pricing-table ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.pricing-table li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(68, 196, 86, 0.1);
    color: #B8C5D6;
}

.pricing-table li:last-child {
    border-bottom: none;
}

/* ============================================
   DARK MODE GLOBAL STYLES
   ============================================ */

:root {
    --accent-color: #44C456;
    --accent-hover: #3AB349;
    --accent-dark: #2F9A3C;
    --base-color: #011224;
    --base-light: #0A1F38;
    --base-lighter: #14304C;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #7B8A9E;
    --border-color: rgba(68, 196, 86, 0.15);
    --glow-color: rgba(68, 196, 86, 0.15);
}

/* ============================================
   GLOBAL BACKGROUND WITH GRADIENT
   ============================================ */

body {
    background: linear-gradient(135deg, #020c18 0%, #000108 50%, #011224 100%);
    background-attachment: fixed;
    color: var(--text-secondary);
    position: relative;
}

/* Animated glow effect */
body::before {
    content: '';
    position: fixed;
    top: -300px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(68, 196, 86, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Ensure content is above gradient */
.site-content,
.site-header,
.site-footer,
.custom-premium-header {
    position: relative;
    z-index: 1;
}

/* ============================================
   CONTAINER BACKGROUNDS
   ============================================ */

.site-content {
    background: transparent;
}

/* Content containers */
.entry-content,
.gb-container,
.wp-block-group,
article {
    background: transparent;
}

/* Cards and widgets */
.widget,
.gb-grid-column > .gb-container,
aside .widget {
    background: rgba(10, 31, 56, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

p, li, td, th {
    color: var(--text-secondary);
}

a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* ============================================
   BUTTONS
   ============================================ */

.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"],
.gb-button {
    background: var(--accent-color);
    color: #011224;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.gb-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(68, 196, 86, 0.3);
}

/* Secondary buttons */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--accent-color);
    color: #011224;
}

/* ============================================
   FORMS
   ============================================ */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    background: var(--base-lighter);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(68, 196, 86, 0.1);
}

/* ============================================
   TABLES
   ============================================ */

table {
    background: rgba(10, 31, 56, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: var(--base-lighter);
}

th {
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px;
    border-bottom: 2px solid var(--accent-color);
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

tr:hover {
    background: rgba(68, 196, 86, 0.05);
}

/* ============================================
   BLOCKS (GenerateBlocks)
   ============================================ */

.gb-container {
    border-radius: 12px;
}

/* Grid columns with background */
.gb-grid-column.has-background {
    background: rgba(10, 31, 56, 0.6) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

/* ============================================
   SIDEBAR & WIDGETS
   ============================================ */

.sidebar,
.widget-area {
    background: transparent;
}

.widget {
    margin-bottom: 32px;
}

.widget-title {
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--base-light);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
    margin-top: 80px;
}

.site-info {
    color: var(--text-muted);
}

/* ============================================
   NAVIGATION / PAGINATION
   ============================================ */

.pagination .page-numbers {
    background: var(--base-lighter);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 6px;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--accent-color);
    color: #011224;
    border-color: var(--accent-color);
}

/* ============================================
   CODE & PRE
   ============================================ */

code {
    background: var(--base-lighter);
    color: var(--accent-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    background: var(--base-lighter);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
}

/* ============================================
   BLOCKQUOTES
   ============================================ */

blockquote {
    background: rgba(68, 196, 86, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

blockquote p {
    color: var(--text-primary);
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */

img {
    border-radius: 8px;
}

.wp-block-image figcaption {
    color: var(--text-muted);
    margin-top: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    body::before,
    body::after {
        width: 400px;
        height: 400px;
    }
    
    .widget,
    .gb-grid-column > .gb-container {
        padding: 20px;
    }
}


.hero-section {
    background: linear-gradient(135deg, #011224 0%, #0A1F38 100%);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 40px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(68, 196, 86, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.content-card {
    background: rgba(10, 31, 56, 0.6);
    border: 1px solid rgba(68, 196, 86, 0.15);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.content-card:hover {
    border-color: rgba(68, 196, 86, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(68, 196, 86, 0.15);
}

/* ============================================
   HIDE DEFAULT GENERATEPRESS HEADER
   ============================================ */

.site-header {
    display: none !important;
}

/* ============================================
   MODERN TRANSPARENT HEADER
   ============================================ */

.modern-transparent-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(68, 196, 86, 0.1);
    transition: all 0.3s ease;
}

.modern-transparent-header.scrolled {
    background: rgba(1, 18, 36, 0.95);
    border-bottom-color: rgba(68, 196, 86, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Admin bar spacing */
body.admin-bar .modern-transparent-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .modern-transparent-header {
        top: 46px;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .modern-transparent-header {
        top: 0;
    }
}

/* Body padding for fixed header */
body {
    padding-top: 85px;
}

body.admin-bar {
    padding-top: 117px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 131px;
    }
    
    body {
        padding-top: 75px;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar {
        padding-top: 75px;
    }
}

/* ============================================
   HEADER WRAPPER - MATCH CONTENT WIDTH
   ============================================ */

.header-wrapper {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

@media (max-width: 900px) {
    .header-wrapper {
        height: 75px;
    }
}

/* ============================================
   LOGO
   ============================================ */

.header-logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.header-logo a:hover {
    opacity: 0.85;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 900px) {
    .logo-image {
        height: 42px;
    }
}

/* ============================================
   NAVIGATION - LARGER TEXT
   ============================================ */

.header-navigation {
    display: flex;
    align-items: center;
}

.nav-menu-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #44C456;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover {
    color: #44C456;
    background: rgba(68, 196, 86, 0.08);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-item.current-menu-item .nav-link,
.nav-item.current-menu-parent .nav-link {
    color: #44C456;
    background: rgba(68, 196, 86, 0.1);
}

.nav-item.current-menu-item .nav-link::after {
    transform: scaleX(1);
}

/* ============================================
   DROPDOWN - LARGER TEXT
   ============================================ */

.dropdown-arrow {
    transition: transform 0.25s ease;
    opacity: 0.7;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu-modern {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(10, 31, 56, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(68, 196, 86, 0.2);
    border-radius: 12px;
    padding: 10px;
    margin-top: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.has-dropdown:hover > .dropdown-menu-modern {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-modern li {
    margin: 0;
    padding: 0;
}

.dropdown-menu-modern li a {
    display: block;
    padding: 14px 18px;
    color: #B8C5D6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu-modern li a:hover {
    color: #FFFFFF;
    background: rgba(68, 196, 86, 0.12);
    padding-left: 22px;
}

.dropdown-menu-modern li.current-menu-item a {
    color: #44C456;
    background: rgba(68, 196, 86, 0.08);
}

/* ============================================
   MOBILE TOGGLE
   ============================================ */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 34px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-navigation {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(1, 18, 36, 0.98);
        backdrop-filter: blur(20px);
        padding: 32px 24px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9998;
    }
    
    body.admin-bar .header-navigation {
        top: 121px;
    }
    
    @media screen and (max-width: 600px) {
        body.admin-bar .header-navigation {
            top: 75px;
        }
    }
    
    .header-navigation.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .nav-menu-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .nav-link {
        padding: 18px 22px;
        font-size: 18px;
        justify-content: space-between;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .dropdown-menu-modern {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        box-shadow: none;
        background: rgba(20, 48, 76, 0.8);
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .has-dropdown.active > .dropdown-menu-modern {
        max-height: 500px;
        padding: 10px;
    }
    
    .dropdown-menu-modern li a {
        font-size: 17px;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 0 20px;
    }
    
    .logo-image {
        height: 38px;
    }
    
    .header-navigation {
        padding: 28px 20px;
    }
    
    .nav-link {
        padding: 16px 20px;
        font-size: 17px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.nav-link:focus-visible,
.mobile-menu-toggle:focus-visible {
    outline: 2px solid #44C456;
    outline-offset: 3px;
}

/* ============================================
   SMOOTH SCROLL OFFSET
   ============================================ */

html {
    scroll-padding-top: 105px;
}

body.admin-bar html {
    scroll-padding-top: 137px;
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 95px;
    }
}


/* ============================================
   REMOVE EXTRA MOBILE SPACING
   ============================================ */

/* Remove GeneratePress default container padding */
.site-content,
.content-area,
.inside-article,
.entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove top spacing */
.site-content {
    padding-top: 0 !important;
}

/* Hero section - reduce mobile padding */
@media (max-width: 768px) {
    .hero-section-fullwidth {
        padding: 40px 16px 50px !important;
    }
    
    .hero-container-fullwidth {
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-section-fullwidth {
        padding: 30px 12px 40px !important;
    }
}

/* Casino categories section - reduce mobile padding */
@media (max-width: 768px) {
    .casino-categories-section {
        padding: 50px 16px !important;
    }
    
    .casino-categories-container {
        padding: 0 !important;
    }
    
    .casino-category-card {
        padding: 24px 16px !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .casino-categories-section {
        padding: 40px 12px !important;
    }
    
    .casino-category-card {
        padding: 20px 12px !important;
    }
}

/* Remove padding from all sections on mobile */
@media (max-width: 768px) {
    section,
    .gb-container,
    .wp-block-group {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 480px) {
    section,
    .gb-container,
    .wp-block-group {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Adjust header wrapper for mobile */
@media (max-width: 768px) {
    .header-wrapper {
        padding: 0 16px !important;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 0 12px !important;
    }
}

/* Reduce body padding top on mobile */
@media (max-width: 768px) {
    body {
        padding-top: 70px !important;
    }
    
    body.admin-bar {
        padding-top: 116px !important;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px !important;
    }
}

/* Remove unnecessary margins */
@media (max-width: 768px) {
    .site,
    .site-content,
    main {
        margin: 0 !important;
    }
}

/* Optimize hero content on mobile */
@media (max-width: 768px) {
    .hero-content-fullwidth h1 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-author-meta {
        margin-bottom: 20px !important;
        padding-bottom: 16px !important;
    }
    
    .hero-text {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .hero-content-fullwidth h1 {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }
    
    .hero-author-meta {
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }
}

/* Optimize casino categories header */
@media (max-width: 768px) {
    .casino-categories-header {
        margin-bottom: 32px !important;
    }
    
    .casino-categories-header h2 {
        font-size: 28px !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .casino-categories-header {
        margin-bottom: 24px !important;
    }
    
    .casino-categories-header h2 {
        font-size: 24px !important;
    }
}

/* Tighten up feature items spacing */
@media (max-width: 768px) {
    .casino-category-features {
        gap: 8px !important;
    }
    
    .casino-feature-item {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .casino-feature-item {
        font-size: 13px !important;
    }
    
    .casino-category-features {
        gap: 6px !important;
    }
}

/* Reduce header height on very small screens */
@media (max-width: 480px) {
    .header-wrapper {
        height: 65px !important;
    }
    
    .logo-image {
        height: 34px !important;
    }
}

/* ============================================
   FIX HORIZONTAL OVERFLOW ON MOBILE
   ============================================ */



/* ============================================
   HIDE DEFAULT FOOTER
   ============================================ */

.site-footer,
.footer-widgets,
.site-info {
    display: none !important;
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */

.premium-footer {
    background: linear-gradient(180deg, #0A1F38 0%, #011224 100%);
    border-top: 1px solid rgba(68, 196, 86, 0.2);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(68, 196, 86, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   FOOTER MAIN
   ============================================ */

.footer-main {
    padding: 60px 24px 40px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

/* ============================================
   FOOTER COLUMNS
   ============================================ */

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Company Column */
.footer-company {
    gap: 24px;
}

.footer-logo {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.85;
}

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

.footer-tagline {
    color: #B8C5D6;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.footer-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #B8C5D6;
    font-size: 14px;
    font-weight: 500;
}

.trust-badge svg {
    flex-shrink: 0;
}

/* Headings */
.footer-heading {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #44C456;
}

/* Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: #B8C5D6;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #44C456;
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #44C456;
    padding-left: 8px;
}

.footer-links li a:hover::before {
    width: 100%;
}

/* Contact */
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #B8C5D6;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact li strong {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-contact li a {
    color: #44C456;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #3AB349;
    text-decoration: underline;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    background: rgba(1, 18, 36, 0.5);
    border-top: 1px solid rgba(68, 196, 86, 0.1);
    padding: 24px;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #7B8A9E;
    font-size: 14px;
    margin: 0;
}

.footer-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #B8C5D6;
    font-size: 14px;
}

.footer-disclaimer svg {
    flex-shrink: 0;
}

.footer-disclaimer a {
    color: #44C456;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-disclaimer a:hover {
    color: #3AB349;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
	
.site-content, .content-area, .inside-article, .entry-content {
	margin: 0px 5px;
	}
	
}

@media (max-width: 768px) {
    .footer-main {
        padding: 50px 20px 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-heading::after {
        left: 0;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 40px 16px 24px;
    }
    
    .footer-bottom {
        padding: 20px 16px;
    }
    
    .footer-copyright,
    .footer-disclaimer {
        font-size: 13px;
    }
    
    .footer-logo img {
        height: 42px;
    }
}

/* CUSP Archive Page Styles */

/* Base */
.cusp-archive-wrapper {
  
    min-height: 100vh;
}

.cusp-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.cusp-archive-hero {
    padding: 80px 0 60px;
    border-bottom: 2px solid rgba(68, 196, 86, 0.3);
}

.cusp-archive-header {
    text-align: center;
}

.cusp-archive-label {
    display: inline-block;
    background: rgba(68, 196, 86, 0.2);
    color: #44C456;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cusp-archive-title {
    font-size: 48px;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.cusp-archive-description {
    color: #B8C5D6;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cusp-archive-stats {
    color: #44C456;
    font-size: 14px;
}

/* Posts Section */
.cusp-archive-posts {
    padding: 60px 0;
}

/* Posts Grid */
.cusp-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Post Card */
.cusp-post-card {
    background: rgba(10, 31, 56, 0.4);
    border: 1px solid rgba(68, 196, 86, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cusp-post-card:hover {
    transform: translateY(-10px);
    border-color: rgba(68, 196, 86, 0.4);
    box-shadow: 0 20px 40px rgba(68, 196, 86, 0.2);
}

/* Post Thumbnail */
.cusp-post-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: rgba(68, 196, 86, 0.05);
}

.cusp-post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cusp-post-card:hover .cusp-post-thumbnail img {
    transform: scale(1.1);
}

.cusp-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(68, 196, 86, 0.1), rgba(68, 196, 86, 0.05));
}

.cusp-post-placeholder svg {
    color: rgba(68, 196, 86, 0.3);
}

.cusp-post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #44C456;
    color: #011224;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Post Content */
.cusp-post-content {
    padding: 30px;
}

.cusp-post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #44C456;
}

.cusp-post-author:before {
    content: "•";
    margin-right: 15px;
}

.cusp-post-title {
    margin: 0 0 15px 0;
}

.cusp-post-title a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cusp-post-title a:hover {
    color: #44C456;
}

.cusp-post-excerpt {
    color: #B8C5D6;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cusp-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #44C456;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.cusp-read-more:hover {
    gap: 15px;
}

/* Pagination */
.cusp-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cusp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: rgba(10, 31, 56, 0.4);
    border: 1px solid rgba(68, 196, 86, 0.3);
    border-radius: 8px;
    color: #44C456;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cusp-pagination .page-numbers:hover,
.cusp-pagination .page-numbers.current {
    background: #44C456;
    color: #011224;
    transform: translateY(-3px);
}

.cusp-pagination svg {
    width: 20px;
    height: 20px;
}

/* No Posts */
.cusp-no-posts {
    text-align: center;
    padding: 100px 20px;
}

.cusp-no-posts svg {
    color: rgba(68, 196, 86, 0.3);
    margin-bottom: 30px;
}

.cusp-no-posts h2 {
    color: #FFFFFF;
    font-size: 32px;
    margin: 0 0 15px 0;
}

.cusp-no-posts p {
    color: #B8C5D6;
    font-size: 18px;
    margin: 0 0 30px 0;
}

.cusp-btn-back {
    display: inline-block;
    background: #44C456;
    color: #011224;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cusp-btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(68, 196, 86, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .cusp-archive-title {
        font-size: 32px;
    }
    
    .cusp-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .cusp-post-content {
        padding: 20px;
    }
}