/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* Link styles */
a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
    outline-width: 2px;
    outline-style: solid;
}

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
    text-wrap: pretty;
}

.more-link {
    display: block;
}

:where(pre) {
    outline: none;
}

/* INBOXLIFT CUSTOM UI */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Fix: Allow sticky positioning inside WordPress block wrappers */
.wp-site-blocks,
.wp-site-blocks>*,
.single-post-wrapper {
    overflow: visible !important;
}

.top-bar-custom {
    background-color: #ff9c00;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.main-header-custom {
    background: #fff;
    height: 110px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #f1f1f1;
}

.header-container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between !important;
}

.logo-container img {
    height: 45px;
    display: block;
}

.nav-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none !important;
}

.nav-menu li {
    list-style: none !important;
    position: relative;
}

.nav-menu li a {
    color: #555 !important;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif !important;
    text-decoration: none !important;
    transition: 0.3s;
    display: block;
    padding: 10px 0;
}

.nav-menu li.current-menu-item a {
    color: #ff9c00 !important;
}

.nav-menu li.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff9c00;
    border-radius: 5px;
}

.nav-menu li a:hover {
    color: #ff9c00;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-block;
}

.btn-login {
    border: 1.5px solid #ffde9c;
    background: #fff;
    color: #ff9c00;
}

.btn-login:hover {
    background: #ff9c00;
    color: #fff;
}

.btn-signup {
    background: #ff9c00;
    color: #fff;
    border: 1.5px solid #ff9c00;
}

.btn-signup:hover {
    background: #e68a00;
    border-color: #e68a00;
}

.mobile-cta-container {
    display: none;
}

.site-footer-custom {
    background-color: #0c0c0c;
    color: #999;
    padding: 80px 0 0 0;
    font-size: 14px;
    line-height: 24px;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 20px;
}

.footer-column {
    flex: 1;
}

.brand-column {
    flex: 1.5;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 25px;
    display: block;
}

.footer-tagline {
    margin-bottom: 25px;
    max-width: 280px;
    color: #94A3B8;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff9c00;
}

.footer-column h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    color: #94A3B8;
}

.footer-column ul li a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ff9c00;
}

.contact-info li {
    margin-bottom: 12px;
    color: #888;
}

.footer-bottom {
    background-color: #0c0c0c;
    border-top: 1px solid #1a1a1a;
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    display: block;
}

@media (max-width: 991px) {
    .nav-menu {
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 30px 20px;
        flex-direction: row;
    }

    .footer-column {
        flex: 0 0 calc(33.33% - 15px);
        min-width: 150px;
        text-align: left;
    }

    .brand-column {
        flex: 0 0 100%;
        margin-bottom: 20px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .main-header-custom {
        height: 75px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar {
        background-color: #ff9c00;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-container.active {
        right: 0;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
        backdrop-filter: blur(4px);
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: left !important;
        width: 100%;
        margin: 0 0 20px 0;
        display: flex !important;
        align-items: flex-start !important;
    }

    .nav-menu li a {
        font-size: 20px;
        font-weight: 500;
        color: #111;
        display: block;
        text-align: left !important;
    }

    .nav-menu li a:hover {
        color: #ff9c00;
    }

    .mobile-cta-container {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        gap: 15px;
        padding-top: 30px;
        margin-top: 20px;
        border-top: 1px solid #f0f0f0;
        align-items: start !important;
    }

    .mobile-cta-container .btn {
        width: 100% !important;
        max-width: 200px;
        text-align: center;
        padding: 12px 0;
        font-size: 15px;
    }

    .nav-menu li.current-menu-item a::after {
        display: none;
    }

    .header-buttons {
        display: none;
    }

    .mobile-cta-container {
        display: flex !important;
    }

    .hamburger {
        z-index: 99999;
        transition: 0.3s;
    }

    .hamburger.active {
        position: fixed;
        top: 20px;
        right: 20px;
    }

    .hamburger.active .bar {
        background-color: #000;
        width: 30px;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 30px 20px;
        flex-direction: row;
    }

    .footer-column {
        flex: 0 0 calc(33.33% - 15px);
        min-width: 150px;
        text-align: left;
    }

    .brand-column {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .footer-column {
        flex: 0 0 100%;
        text-align: left;
        margin-bottom: 0px;
    }

    .footer-logo img,
    .social-icons,
    .footer-tagline {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }

    .footer-column h4 {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .top-bar-custom {
        height: auto;
        padding: 10px 20px;
        text-align: center;
        line-height: normal;
        font-size: 14px;
    }

    .header-container {
        width: 90%;
    }

    .logo-container img {
        height: 38px;
    }

    .site-footer-custom {
        padding-top: 50px;
    }

    .footer-container {
        gap: 0px 20px;
    }

    .footer-column h4 {
        margin-bottom: 7px;
    }
}

/* BLOG PAGE UI */
.blog-hero {
    background-color: #0c0c0c;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://mailblog.safe4you.app/wp-content/uploads/2026/03/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    color: #999;
}

.hero-dots {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #00AEEF;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 15px rgba(0, 174, 239, 0.5);
}

.left-dot {
    left: 8%;
}

.right-dot {
    right: 8%;
}

.blog-sections-wrapper {
    background-color: #f0fdf4 !important;
    padding-top: 1px;
}

.blog-sections-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* SINGLE POST REFINED UI */
.single-post-wrapper {
    min-height: 100vh;
    font-family: 'Outfit', sans-serif !important;
}

.post-header-section {
    background: #fff;
    padding: 60px 0 80px;
    border-bottom: 1px solid #f1f1f1;
}

.post-body-section {
    background-color: #f0fdf4 !important;
    padding: 80px 0;
}

.post-full-title {
    font-size: 52px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 30px;
}

.post-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 30px;
    font-style: italic;
    max-width: 1000px;
}

.post-meta-extra {
    display: flex;
    gap: 30px;
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    align-items: center;
}

.post-meta-extra i {
    color: #64748b;
    margin-right: 8px;
}

.post-content-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 50px;
    align-items: start;
}

.toc-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f1f1;
    position: sticky;
    top: 100px;
}

.toc-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.toc-list li a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.3s;
}

.toc-list li a:hover {
    color: #ff9c00;
}

.toc-list .sub-item {
    margin-bottom: 12px;
    padding-left: 35px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

.post-main-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.post-main-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #f97316;
}

.post-main-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 30px;
}

/* RESPONSIVE SINGLE POST */
@media (max-width: 1199px) {
    .container {
        max-width: 95%;
    }

    .post-content-grid {
        gap: 30px;
        grid-template-columns: 280px 1fr;
    }

    .post-full-title {
        font-size: 46px;
    }
}

@media (max-width: 991px) {
    .post-content-grid {
        grid-template-columns: 1fr;
    }

    .post-header-section {
        padding: 40px 0 50px;
    }

    .post-body-section {
        padding: 50px 0;
    }

    .post-full-title {
        font-size: 38px;
    }

    .toc-card {
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .post-full-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .post-excerpt {
        font-size: 16px;
    }

    .post-meta-extra {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .post-breadcrumbs {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .post-full-title {
        font-size: 28px;
    }

    .post-header-section {
        padding: 30px 0 40px;
    }

    .toc-card {
        padding: 20px;
    }

    .post-main-content h2 {
        font-size: 26px;
    }
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.categories-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

a:focus,
.btn:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* OFFSET FOR STICKY HEADER ANCHORS */
html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 200px;
}

.post-main-content section {
    scroll-margin-top: 200px;
}
.cat-pill {
    margin-bottom: 20px;
    color: rgb(121, 122, 125) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    box-shadow: rgb(124, 215, 85) 4px 4px 0px 0px !important;
    padding: 10px 30px !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: rgb(0, 0, 0) !important;
    border-radius: 10px !important;
    background: rgb(255, 255, 255) !important;
    text-decoration: none !important;
    transition: 0.3s;
    display: inline-block;
}

.cat-pill.active,
.cat-pill:hover {
    background-color: #000 !important;
    color: #fff !important;
    box-shadow: #7cd755 4px 4px 0px 0px !important;
    border-color: #000 !important;
}

.main-featured-card,
.grid-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    text-align: left;
}

.card-title {
    font-size: 24px;
    font-weight: 700 !important;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.4;
}

.card-excerpt {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #94A3B8;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-name {
    color: #334155;
    font-weight: 600;
}

.blog-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .blog-grid-two {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .blog-sections-wrapper .container {
        padding: 40px 15px;
    }

    .categories-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: 30px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .categories-filter::-webkit-scrollbar {
        display: none;
    }

    .cat-pill {
        white-space: nowrap;
    }

    .main-featured-card,
    .grid-card {
        padding: 25px;
        margin-bottom: 20px;
    }
}