/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
Text Domain: generatepress-child
*/

/* =====================================================
   GLOBAL
===================================================== */

/* Brand Colors */

.igrasped-orange {
    color: #F97316;
}

.orange-text {
    color: #F97316;
}

/* =====================================================
   HERO SEARCH
===================================================== */

/* Search Container */

.hero-search-wrapper {
    padding-left: 0;
}

.hero-search-wrapper .wp-block-search {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
}

.hero-search-wrapper .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1);
    padding: 4px;
    height: 70px;
    overflow: hidden;
    width: 100%;
    transition: box-shadow .2s,border-color .2s;
}

.hero-search-wrapper .wp-block-search__inside-wrapper:focus-within {
    border-color: #F97316;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}

/* Search Input */

.hero-search-wrapper .wp-block-search__input {
    flex: 1;
    border: none;
    outline: none;
    min-width: 0;
    height: 100%;
    padding: 12px 20px;
    background: transparent;
    color: #111827;
    font-size: 1.125rem;
    border-radius: 9999px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

.hero-search-wrapper .wp-block-search__input::placeholder {
    color: #9ca3af;
    font-family: inherit;
}

/* Search Button */

.hero-search-wrapper .wp-block-search__button {
    background: #F97316;
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 0 32px;
    height: 58px;
    margin: 4px;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 600;
    transition: background .2s;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

.hero-search-wrapper .wp-block-search__button:hover {
    background: #ea580c;
}

/* Hero Category Links */

.category-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.2rem;
    margin-top: 1.2rem;
    color: #6b7280;
    font-size: .95rem;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

.category-tags span {
    color: #111827;
    font-weight: 600;
}

.category-tags a {
    color: #374151;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
    transition: border-color .2s,color .2s;
    font-weight: 500;
}

.category-tags a:hover {
    color: #F97316;
    border-bottom-color: #F97316;
}

/* =====================================================
   HERO ILLUSTRATION
===================================================== */

.hero-right-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-illustration {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-illustration-wrapper {
    position: relative;
    background: #fff7ed;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px;
}

.hero-illustration-wrapper::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: #F97316;
    opacity: .1;
    border-radius: 50%;
}

/* =====================================================
   HEADER & NAVIGATION
===================================================== */

.site-header .inside-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Main Navigation */

.main-navigation a {
    color: #fff !important;
    font-weight: 500;
    transition: color .2s ease;
}

.main-navigation a:hover {
    color: #ffedd5 !important;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
    color: #fff !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Dropdown */

.main-navigation ul ul {
    background: #fff !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}

.main-navigation ul ul a {
    color: #111827 !important;
    padding: 10px 20px;
    font-weight: 400;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul .current-menu-item > a {
    background: #fff7ed !important;
    color: #F97316 !important;
}

/* Mobile */

.menu-toggle {
    color: #fff !important;
}

.menu-toggle:hover {
    color: #ffedd5 !important;
}

/* Logo */

.site-title a {
    color: #fff !important;
}

.site-title a:hover {
    color: #ffedd5 !important;
}

/* Search Icon */

.header-search-icon {
    color: #fff !important;
}

.header-search-icon:hover {
    color: #ffedd5 !important;
}

/* =====================================================
   HOMEPAGE - EXPLORE TOPICS
===================================================== */

/* (Keep your entire Explore Topics section exactly as it is here.) */

/* =====================================================
   ABOUT PAGE
===================================================== */

.explore-subtitle {
    font-size: 1.125rem;
    color: #4B5563;
    text-align: center;
    max-width: 600px;
    margin: 8px auto 0;
    line-height: 1.6;
}

.about-stats a {
    text-decoration: none;
    font-weight: 600;
}

.about-stats a:hover {
    color: #F97316;
    text-decoration: underline;
}

/* =====================================================
   HTML SITEMAP
===================================================== */

.rank-math-html-sitemap {
    margin: 0 auto;
}

.rank-math-html-sitemap h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 28px;
}

.rank-math-html-sitemap ul {
    padding: 0;
}

.rank-math-html-sitemap li {
    margin-bottom: 12px;
}

.rank-math-html-sitemap a {
    color: #111827;
    text-decoration: none;
    transition: .2s ease;
}

.rank-math-html-sitemap a:hover {
    color: #F97316;
}

/* =====================================================
   TOPIC PAGES
===================================================== */

/* Custom topic/category styles will go here. */

/* =====================================================
   BLOG
===================================================== */

/* Blog styles will go here. */

/* =====================================================
   404 PAGE
===================================================== */

/* 404 styles will go here. */

/* =====================================================
   RESPONSIVE
===================================================== */

/* Tablet */

@media (max-width: 992px) {

    /* Explore Topics */

    .explore-topics-section .wp-block-columns {
        flex-wrap: wrap;
    }

    .explore-topics-section .wp-block-column {
        flex-basis: calc(50% - 12px) !important;
        flex-grow: 0;
    }

}

/* Mobile */

@media (max-width: 576px) {

    .explore-topics-section .wp-block-column {
        flex-basis: 100% !important;
    }

    .explore-topics-section .topic-card {
        padding: 24px 20px;
    }

    .explore-topics-section .topic-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .explore-topics-section .topic-icon {
        font-size: 1.6rem;
    }

}

/* =====================================================
   TOPIC HERO
===================================================== */

.topic-hero {

    display: grid;
    grid-template-columns: 1.4fr .8fr;

    gap: 60px;

    align-items: center;

    padding: 80px 0;

}

.topic-label{

    display:inline-block;

    padding:6px 14px;

    border-radius:999px;

    background:#FFF7ED;

    color:#F97316;

    font-size:.9rem;

    font-weight:600;

    margin-bottom:18px;

}

.topic-title{

    font-size:3.3rem;

    line-height:1.1;

    margin-bottom:20px;

    color:#111827;

}

.topic-description{

    max-width:680px;

    color:#4B5563;

    font-size:1.15rem;

    line-height:1.8;

    margin-bottom:24px;

}

.topic-meta{

    display:flex;

    gap:16px;

}

.topic-meta span{

    background:#ffffff;

    border:1px solid #E5E7EB;

    border-radius:999px;

    padding:10px 18px;

    font-weight:600;

}

.topic-hero-image{

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:9rem;

    background:#FFF7ED;

    border-radius:28px;

    min-height:320px;

}

@media(max-width:768px){

.topic-hero{

grid-template-columns:1fr;

text-align:center;

padding:60px 0;

}

.topic-description{

margin:auto;

}

.topic-meta{

justify-content:center;

}

}