/*
Theme Name: Dominik Riedhammer
Theme URI: https://dominikriedhammer.de
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com/
Description: Executive portfolio theme for Dominik Riedhammer - C-Level Executive with strategic leadership focus. Fully customizable via WordPress Customizer.
Version: 1.0.4
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dominik-riedhammer
Tags: one-page, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   CSS Variables / Custom Properties
   ========================================================================== */
:root {
    --background: 0 0% 7%;
    --foreground: 45 20% 95%;
    --card: 0 0% 10%;
    --card-foreground: 45 20% 95%;
    --primary: 43 74% 49%;
    --primary-foreground: 0 0% 7%;
    --secondary: 0 0% 14%;
    --secondary-foreground: 45 20% 95%;
    --muted: 0 0% 18%;
    --muted-foreground: 45 10% 60%;
    --border: 0 0% 20%;
    --gold: 43 74% 49%;
    --gold-light: 43 74% 65%;
    --charcoal: 0 0% 12%;
    --cream: 45 20% 95%;
    --radius: 0.5rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

.text-gold {
    color: hsl(var(--gold));
}

.bg-gold {
    background-color: hsl(var(--gold));
}

.text-foreground {
    color: hsl(var(--foreground));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

.text-primary {
    color: hsl(var(--primary));
}

.bg-background {
    background-color: hsl(var(--background));
}

.bg-card {
    background-color: hsl(var(--card));
}

.border-border {
    border-color: hsl(var(--border));
}

.border-primary {
    border-color: hsl(var(--primary));
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Language Toggle
   ========================================================================== */
.language-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: hsla(var(--background), 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid hsl(var(--border));
    padding: 0.5rem 0.75rem;
}

.language-toggle button {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    color: hsl(var(--muted-foreground));
}

.language-toggle button:hover {
    color: hsl(var(--foreground));
}

.language-toggle button.active {
    color: hsl(var(--primary));
    font-weight: 500;
}

.language-toggle .separator {
    color: hsl(var(--border));
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .hero-section {
        flex-direction: row;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: hsl(var(--background));
}

@media (min-width: 768px) {
    .hero-content {
        padding: 4rem 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 5rem;
    }
}

.hero-content-inner {
    max-width: 36rem;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out forwards;
}

@media (min-width: 1024px) {
    .hero-content-inner {
        margin: 0 0 0 auto;
        margin-right: 4rem;
    }
}

.hero-line {
    width: 4rem;
    height: 1px;
    background-color: hsl(var(--primary));
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1rem;
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.hero-badges:last-of-type {
    margin-bottom: 2rem;
}

.hero-badge {
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    transition: all 0.3s ease;
}

.hero-badge:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
}

.hero-image-container {
    position: relative;
    flex: 1;
    min-height: 60vh;
}

@media (min-width: 1024px) {
    .hero-image-container {
        min-height: 100vh;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsl(var(--background)), transparent, transparent);
    opacity: 0.6;
}

@media (min-width: 1024px) {
    .hero-image-overlay {
        opacity: 0.4;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: hsl(var(--primary));
    animation: bounce 1s infinite;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.3s ease;
    z-index: 20;
}

.scroll-indicator:hover {
    color: hsl(var(--foreground));
}

.scroll-indicator svg {
    width: 2rem;
    height: 2rem;
}

.scroll-indicator.desktop {
    display: none;
}

@media (min-width: 1024px) {
    .scroll-indicator.desktop {
        display: block;
    }
    .scroll-indicator.mobile {
        display: none;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
    .about-section {
        padding: 8rem 1.5rem;
    }
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 1152px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.about-image-wrapper {
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.about-image-container {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s ease;
}

.about-image:hover {
    filter: grayscale(0%);
}

.about-image-border {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    border: 1px solid hsl(var(--primary));
    z-index: -1;
}

.about-content {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.section-label {
    color: hsl(var(--primary));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.about-text {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
}

.about-meta-label {
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.about-meta-value {
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
}

/* ==========================================================================
   KPI Section
   ========================================================================== */
.kpi-section {
    padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
    .kpi-section {
        padding: 8rem 1.5rem;
    }
}

.kpi-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.kpi-item {
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.kpi-item:nth-child(1) { animation-delay: 0.1s; }
.kpi-item:nth-child(2) { animation-delay: 0.2s; }
.kpi-item:nth-child(3) { animation-delay: 0.3s; }
.kpi-item:nth-child(4) { animation-delay: 0.4s; }
.kpi-item:nth-child(5) { animation-delay: 0.5s; }

.kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border: 1px solid hsl(var(--border));
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.kpi-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
    transition: color 0.5s ease;
}

.kpi-item:hover .kpi-icon {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.kpi-item:hover .kpi-icon svg {
    color: hsl(var(--primary-foreground));
}

.kpi-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .kpi-value {
        font-size: 3rem;
    }
}

.kpi-label {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
}

/* ==========================================================================
   Career Section
   ========================================================================== */
.career-section {
    padding: 6rem 1.5rem;
    background-color: hsl(var(--card));
}

@media (min-width: 768px) {
    .career-section {
        padding: 8rem 1.5rem;
    }
}

.career-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.career-list {
    max-width: 1152px;
    margin: 0 auto;
}

.career-item {
    border-left: 2px solid hsl(var(--border));
    padding-left: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: border-color 0.3s ease;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.career-item:hover {
    border-color: hsl(var(--primary));
}

.career-item:nth-child(1) { animation-delay: 0.1s; }
.career-item:nth-child(2) { animation-delay: 0.2s; }
.career-item:nth-child(3) { animation-delay: 0.3s; }
.career-item:nth-child(4) { animation-delay: 0.4s; }
.career-item:nth-child(5) { animation-delay: 0.5s; }
.career-item:nth-child(6) { animation-delay: 0.6s; }
.career-item:nth-child(7) { animation-delay: 0.7s; }

.career-item + .career-item {
    margin-top: 2rem;
}

.career-item-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .career-item-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
    }
}

.career-item-content {
    flex: 1;
}

.career-venue {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    transition: color 0.3s ease;
}

.career-item:hover .career-venue {
    color: hsl(var(--primary));
}

.career-role {
    color: hsl(var(--primary));
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.career-description {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin-top: 0.75rem;
    line-height: 1.6;
}

.career-accolades {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.career-accolade {
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border: 1px solid hsl(var(--primary));
    color: hsl(var(--primary));
}

.career-meta {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .career-meta {
        text-align: right;
    }
}

.career-location {
    margin-bottom: 0.25rem;
}

.career-period {
    font-size: 0.75rem;
}

.career-sales {
    font-size: 0.75rem;
    color: hsl(var(--primary));
    margin-top: 0.5rem;
}

.career-linkedin {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
}

.career-linkedin a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.career-linkedin a:hover {
    color: hsl(var(--primary));
}

.career-linkedin svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   Competencies Section
   ========================================================================== */
.competencies-section {
    padding: 6rem 1.5rem;
    background-color: hsl(var(--card));
}

@media (min-width: 768px) {
    .competencies-section {
        padding: 8rem 1.5rem;
    }
}

.competencies-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.competencies-description {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto;
    margin-top: 1.5rem;
}

.competencies-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1152px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .competencies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .competencies-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.competency-item {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.competency-item:nth-child(1) { animation-delay: 0.15s; }
.competency-item:nth-child(2) { animation-delay: 0.3s; }
.competency-item:nth-child(3) { animation-delay: 0.45s; }
.competency-item:nth-child(4) { animation-delay: 0.6s; }

.competency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border: 1px solid hsl(var(--border));
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.competency-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
    transition: color 0.5s ease;
}

.competency-item:hover .competency-icon {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.competency-item:hover .competency-icon svg {
    color: hsl(var(--primary-foreground));
}

.competency-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.competency-item:hover .competency-title {
    color: hsl(var(--primary));
}

.competency-description {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ==========================================================================
   Speaking / Contact Section
   ========================================================================== */
.speaking-section {
    padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
    .speaking-section {
        padding: 8rem 1.5rem;
    }
}

.speaking-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.speaking-description {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto;
    margin-top: 1.5rem;
}

.speaking-grid {
    display: grid;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .speaking-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.speaking-card {
    text-align: center;
    padding: 2.5rem;
    border: 1px solid hsl(var(--border));
    transition: border-color 0.5s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.speaking-card:nth-child(1) { animation-delay: 0.15s; }
.speaking-card:nth-child(2) { animation-delay: 0.3s; }

.speaking-card:hover {
    border-color: hsl(var(--primary));
}

.speaking-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border: 1px solid hsl(var(--border));
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.speaking-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
    transition: color 0.5s ease;
}

.speaking-card:hover .speaking-icon {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.speaking-card:hover .speaking-icon svg {
    color: hsl(var(--primary-foreground));
}

.speaking-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.speaking-card:hover .speaking-title {
    color: hsl(var(--primary));
}

.speaking-text {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: hsl(var(--foreground));
}

.contact-link svg {
    width: 1rem;
    height: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.footer-inner {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.footer-brand p {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social a {
    color: hsl(var(--muted-foreground));
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: hsl(var(--primary));
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-nav a {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: hsl(var(--primary));
}

.footer-copyright {
    max-width: 1152px;
    margin: 0 auto;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
}

.footer-copyright p {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==========================================================================
   Intersection Observer Animation Triggers
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   WordPress Specific Styles
   ========================================================================== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Admin Bar Adjustment */
body.admin-bar .language-toggle {
    top: calc(1.5rem + 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .language-toggle {
        top: calc(1.5rem + 46px);
    }
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: hsl(var(--background));
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: hsl(var(--foreground));
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Customizer Live Preview Helpers
   ========================================================================== */
[data-customize-partial-id] {
    transition: opacity 0.3s ease;
}
