/*
Theme Name: awd-salesreload
Theme URI: https://www.artonwebdesign.hu/
Author: Tóth Orsolya
Author URI: https://artonwebdesign.hu/bemutatkozom/
Description: Block Theme by Tóth Orsolya
Tags: one-column, custom-colors, custom-menu
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: awd-salesreload-theme
*/

@media screen and (max-width: 1199px) {
    body {
        font-size: 18px;
    }
}


html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
}

@media (max-width: 1300px) {
    body,
    .navy-section {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
     .mobile-reverse-columns {
        flex-direction: column-reverse;
    }
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    word-break: normal;
}

p, li {
    text-wrap: pretty;
    hyphens: auto;
}

.hero-col-padding {
    padding-top: 3rem!important;
    padding-bottom: 6rem!important;
}

@media (max-width: 768px) {
    .hero-col-padding {
        padding-top: 1rem!important;
        padding-bottom: 1.5rem!important;
    }
}

.alignfull {
    margin-left: calc(50% - 50vw)!important;
    margin-right: calc(50% - 50vw)!important;
    max-width: 1000vw!important;
}

.icon-text-row {
    align-items: center;
}

.icon-text-row figure {
    margin: 0;
}

.icon-text-row img {
    display: block;
}

.hero-heading {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1s, transform 1.2s;
}

.hero-heading.is-revealed {
    opacity: 1;
    transform: scale(1);
}

.reveal-heading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.1s ease, transform 1.2s ease;
}

.reveal-heading.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card:nth-child(1) { transition-delay: 0.15s; }
.reveal-card:nth-child(2) { transition-delay: 0.35s; }
.reveal-card:nth-child(3) { transition-delay: 0.55s; }
.reveal-card:nth-child(4) { transition-delay: 1.15s; }
.reveal-card:nth-child(5) { transition-delay: 1.35s; }
.reveal-card:nth-child(6) { transition-delay: 1.55s; }
.reveal-card:nth-child(7) { transition-delay: 2.15s; }
.reveal-card:nth-child(8) { transition-delay: 2.35s; }

.card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    text-decoration: none;
}

.category-badge {
    transition: border-color 0.2s ease;
}

.category-badge a {
    transition: color 0.2s ease;
}

.category-badge:hover {
    border-color: var(--wp--preset--color--brand-primary) !important;
}

.category-badge:hover a {
    color: var(--wp--preset--color--brand-primary) !important;
}

.card-hover:hover {
    transform: translateY(-2px);
}

.post-terms-badges a {
    display: inline-block;
    border: 1px solid #ffffff30;
    border-radius: 8px;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
    color: var(--wp--preset--color--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.post-terms-badges a:hover {
    border-color: var(--wp--preset--color--brand-primary) !important;
    color: var(--wp--preset--color--brand-primary) !important;
}

.post-terms-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--xs);
}

.post-terms-badges .wp-block-post-terms__separator {
    display: none;
}

.sidebar-categories {
    list-style: none!important;
    padding-left: 0!important;
    margin-left: 0!important;
}

.stats-row > div {
    flex: 1 1 200px;
}

.footer-legal-links a {
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--wp--preset--color--brand-primary) !important;
}