/*
Theme Name: Xtropolis
Theme URI: https://xtropolis.de
Author: Xtropolis
Author URI: https://xtropolis.de
Description: Custom photography portfolio theme for Xtropolis - Professional Passion In Photography
Version: 4.5.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xtropolis
*/

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray: #888888;
    --color-gray-light: #cccccc;
    --color-accent: #e84c3d;
    --color-overlay: rgba(0, 0, 0, 0.85);
    --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Dancing Script', cursive;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hide reCAPTCHA badge globally */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

/* ==================== FULLSCREEN BACKGROUND ==================== */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.site-background__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(1.1) saturate(0.9);
    transform: scale(1.02);
}

/* ==================== HEADER / SITE TITLE ==================== */
/* Site title header is globally hidden - we use custom headers per template */
.site-header {
    display: none !important;
}

/* Hide header text on front page - we show logo instead */
.home .site-header {
    display: none !important;
}

/* Front page hero title - with LOGO */
.front-page-header {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
    pointer-events: none;
}

.front-page-header__logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 5px;
}

.front-page-header__tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-gray);
    text-transform: uppercase;
}

/* ==================== MENU TOGGLE BUTTON ==================== */
.menu-toggle {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.menu-toggle:hover {
    background: #d44332;
}

.menu-toggle__icon {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 1px;
    transition: all 0.4s var(--transition-smooth);
    transform-origin: center;
}

/* Active state - X */
.menu-toggle.is-active .menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-active .menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==================== FULLSCREEN MENU OVERLAY ==================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(80, 80, 80, 0.92);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--transition-smooth);
}

.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* Noise/Grid Overlay Pattern - larger spacing */
.menu-overlay__noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23000000'/%3E%3Crect x='3' y='0' width='1' height='1' fill='%23000000'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%23000000'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23000000'/%3E%3C/svg%3E");
    background-size: 6px 6px;
}

/* Menu Logo - now clickable */
.menu-overlay__logo {
    display: block;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: none;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.5s var(--transition-smooth) 0.1s;
    position: relative;
    z-index: 1;
}

.menu-overlay__logo:hover {
    opacity: 0.8;
}

.menu-overlay.is-active .menu-overlay__logo {
    transform: translateY(0);
    opacity: 1;
}

.menu-overlay__logo img {
    max-width: 200px;
    height: auto;
}

/* Navigation */
.main-navigation {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.main-navigation ul {
    list-style: none;
}

.main-navigation li {
    margin: 4px 0;
    overflow: hidden;
}

.main-navigation a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-block;
    padding: 8px 25px;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s var(--transition-smooth);
}

.menu-overlay.is-active .main-navigation a {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered animation delays */
.main-navigation li:nth-child(1) a { transition-delay: 0.15s; }
.main-navigation li:nth-child(2) a { transition-delay: 0.2s; }
.main-navigation li:nth-child(3) a { transition-delay: 0.25s; }
.main-navigation li:nth-child(4) a { transition-delay: 0.3s; }
.main-navigation li:nth-child(5) a { transition-delay: 0.35s; }
.main-navigation li:nth-child(6) a { transition-delay: 0.4s; }
.main-navigation li:nth-child(7) a { transition-delay: 0.45s; }

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover::before {
    width: 80%;
}

/* Language Switcher */
.language-switcher {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--transition-smooth) 0.5s;
    display: flex;
    gap: 15px;
    align-items: center;
}

.menu-overlay.is-active .language-switcher {
    transform: translateY(0);
    opacity: 1;
}

/* Polylang Language Switcher Styling */
.language-switcher ul {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.language-switcher li {
    display: flex;
    align-items: center;
}

.language-switcher li a,
.language-switcher__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.language-switcher li a:hover,
.language-switcher__link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-switcher li.current-lang a,
.language-switcher__link--current {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-switcher li img,
.language-switcher__flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
}

/* Legacy toggle styling (fallback) */
.language-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.language-switcher__toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-switcher__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.language-switcher__dropdown.is-active {
    opacity: 1;
    visibility: visible;
}

.language-switcher__dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--color-black);
    font-size: 0.85rem;
    white-space: nowrap;
}

.language-switcher__dropdown a:hover {
    background: #f5f5f5;
}

/* ==================== PHOTO GRID (Homepage) ==================== */
.photo-grid {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1400px;
    z-index: 10;
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-top: 30px; /* offset for header */
}

.photo-grid.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.photo-grid__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.photo-grid__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.photo-grid__item {
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.photo-grid__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.photo-grid__item img {
    height: 120px;
    width: auto;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.photo-grid__item:hover img {
    transform: scale(1.05);
}

/* Different sizes for variety */
.photo-grid__item--wide img {
    height: 120px;
    width: 200px;
    object-fit: cover;
}

.photo-grid__item--tall img {
    height: 140px;
}

/* ==================== FOOTER ==================== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
}

.site-footer__copyright {
    font-size: 0.75rem;
    color: var(--color-gray);
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    color: var(--color-gray);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ==================== PAGE CONTENT STYLES ==================== */
.page-content {
    min-height: 100vh;
    padding: 120px 50px 100px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content--overlay {
    background: rgba(255, 255, 255, 0.95);
    margin: 80px auto;
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-gray);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.page-title--main {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 30px;
}

.page-content h3,
.page-content h4 {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-black);
    margin: 25px 0 15px;
}

.page-content p {
    color: var(--color-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-content em {
    font-style: italic;
    color: var(--color-black);
}

/* ==================== PHOTOS PAGE GALLERY ==================== */
.gallery-page {
    padding: 100px 30px 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__title {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== CONTACT FORM ==================== */
.contact-form {
    max-width: 500px;
}

.contact-form__group {
    margin-bottom: 25px;
}

.contact-form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form__textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form__submit {
    padding: 15px 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.contact-form__submit:hover {
    background: #d44332;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 76, 61, 0.3);
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.lightbox__close:hover {
    transform: rotate(90deg);
}

.lightbox__image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
    left: 30px;
}

.lightbox__nav--next {
    right: 30px;
}

/* ==================== FULLSCREEN PAGE LAYOUT ==================== */
.fullscreen-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    background: var(--color-black);
}

.fullscreen-page__background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fullscreen-page__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fullscreen-page__container {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 100vh;
    padding: 60px 50px 50px;
    justify-content: center; /* Center the whole block */
}

.fullscreen-page__title-area {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
    min-width: 280px;
}

.fullscreen-page__title {
    font-family: var(--font-body);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.fullscreen-page__content-area {
    flex: 0 1 500px;
    display: block;
    padding-top: 60px;
    padding-left: 30px;
    padding-right: 20px;
    max-width: 500px;
    /* NO background - fully transparent! */
}

.fullscreen-page__subtitle {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.fullscreen-page__headline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 25px 0 12px 0;
    letter-spacing: 0.02em;
}

.fullscreen-page__text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: 15px;
}

.fullscreen-page__text em {
    font-style: italic;
    color: var(--color-gray-light);
}

/* WordPress Editor Content Styling */
.fullscreen-page__content-area h2 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 25px 0 12px 0;
    letter-spacing: 0.02em;
}

.fullscreen-page__content-area h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-white);
    margin: 0 0 15px 0;
    letter-spacing: 0.02em;
}

.fullscreen-page__content-area p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: 15px;
}

.fullscreen-page__content-area p em {
    font-style: italic;
    color: var(--color-gray-light);
}

.fullscreen-page__content-area p strong {
    font-weight: 600;
}

.fullscreen-page__content-area ul,
.fullscreen-page__content-area ol {
    color: var(--color-white);
    margin-bottom: 15px;
    padding-left: 20px;
}

.fullscreen-page__content-area a {
    color: var(--color-accent);
    text-decoration: underline;
}

.fullscreen-page__content-area a:hover {
    color: var(--color-white);
}

/* Contact Form on fullscreen page */
.fullscreen-page .contact-form {
    margin-top: 20px;
}

.fullscreen-page .contact-form__group {
    margin-bottom: 15px;
}

.fullscreen-page .contact-form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 5px;
}

.fullscreen-page .contact-form__input,
.fullscreen-page .contact-form__textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-black);
}

.fullscreen-page .contact-form__input::placeholder,
.fullscreen-page .contact-form__textarea::placeholder {
    color: var(--color-gray);
}

.fullscreen-page .contact-form__textarea {
    min-height: 100px;
    resize: vertical;
}

.fullscreen-page .contact-form__submit {
    width: 100%;
    padding: 15px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.fullscreen-page .contact-form__submit:hover {
    background: #d44332;
}

/* Social icons on fullscreen pages */
.fullscreen-page__social {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.fullscreen-page__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 4px;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.fullscreen-page__social a:hover {
    background: #d44332;
    transform: translateY(-2px);
}

.fullscreen-page__social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hide normal footer on fullscreen pages */
.fullscreen-page ~ .site-footer {
    display: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .fullscreen-page__container {
        flex-direction: column;
        padding: 100px 30px 60px;
    }
    
    .fullscreen-page__title-area {
        flex: none;
        padding-right: 0;
        padding-bottom: 30px;
    }
    
    .fullscreen-page__title {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    
    .fullscreen-page__content-area {
        padding-left: 0;
        max-width: 100%;
    }
    
    .photo-grid__item img {
        height: 100px;
    }
    
    .photo-grid__item--wide img {
        height: 100px;
        width: 160px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        width: 45px;
        height: 45px;
    }
    
    .site-footer {
        padding: 20px 30px;
        flex-direction: column;
        gap: 15px;
    }
    
    .photo-grid {
        bottom: 120px;
    }
    
    .photo-grid__item img {
        height: 80px;
    }
    
    .photo-grid__item--wide img {
        height: 80px;
        width: 130px;
    }
    
    .page-content {
        padding: 100px 30px 80px;
    }
    
    .page-content--overlay {
        margin: 70px 20px;
        padding: 40px 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .main-navigation a {
        font-size: 1rem;
    }
    
    .menu-overlay__logo-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .photo-grid__item img {
        height: 60px;
    }
    
    .photo-grid__item--wide img {
        height: 60px;
        width: 100px;
    }
}

/* ==================== WORDPRESS SPECIFIC ==================== */
.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;
}

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

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

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* Admin bar adjustment */
body.admin-bar .menu-toggle {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .menu-toggle {
        top: 46px;
    }
}
