/*
Theme Name: LVE Modern
Theme URI: https://leipziger-vocalensemble.de/lve_modern
Author: Christopher Karow
Description: WordPress Theme für das Leipziger Vocalensemble
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: lve
*/


/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --color-main: #34464e;
    --color-main-light: #5D8596;
    --color-main-muted: #7a726e;

    --color-paper: #f9f6f1;
    --color-paper-warm: #f0ebe2;

    --color-gold: #b8943f;
    --color-gold-light: #d4af6a;

    --color-rule: #ddd5c8;
    --color-header-bg: rgba(52, 70, 78, 0.97);
    --color-header-transparent: rgba(52, 70, 78, 0.0);

    --font-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
    --font-body: 'EB Garamond', 'Garamond', Georgia, serif;
    --font-sans: 'Dax Regular', Helvetica, sans-serif;

    --header-height: 80px;
    --max-width: 1120px;
    --gutter: clamp(1.25rem, 5vw, 3rem);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Logos & Images
   ============================================================ */

#lve-logo {
    background-image: url('assets/img/lve_white.webp');
    background-size: contain;
    background-repeat: no-repeat;
    height: 3rem;
    width: 4rem;
    margin-left: 1rem;
}

#vdk-logo {
    background-image: url('assets/img/vdk_white.webp');
    background-size: contain;
    background-repeat: no-repeat;
    height: 5rem;
    width: 100%;
    margin-left: 1rem;
}

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background-color: var(--color-main);
}

body {
    background-color: var(--color-paper);
    color: var(--color-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    border-top: var(--header-height) solid var(--color-main);
}

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

a:hover {
    color: var(--color-gold);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--color-main);
}

ol {
    list-style: none;
}

.content-page__inner ul,
.concert-detail__main ul,
.album-modal__description ul {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.content-page__inner ul li,
.concert-detail__main ul li,
.album-modal__description ul li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    padding-left: 1.2rem;
    position: relative;
}

.content-page__inner ul li::before,
.concert-detail__main ul li::before,
.album-modal__description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 6px;
    height: 1px;
    background: var(--color-gold);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================================
   Tables
   ============================================================ */

:is(.content-page__inner, .concert-detail__body) table,
table.ve-table {
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
    background: transparent;
    margin: 0;
}

/* ── Cells ── */
:is(.content-page__inner, .concert-detail__body) table :is(th, td),
table.ve-table :is(th, td) {
    border: none;
    background: transparent;
    padding: 0;
    vertical-align: top;
    text-align: left;
}

/* Remove right padding from last column */
:is(.content-page__inner, .concert-detail__body) table :is(th, td):last-child,
table.ve-table :is(th, td):last-child {
    padding-right: 0;
}

/* ── Header cells ── */
:is(.content-page__inner, .concert-detail__body) table th,
table.ve-table th {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    white-space: nowrap;
}

/* ── Body cells ── */
:is(.content-page__inner, .concert-detail__body) table td,
table.ve-table td {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-main);
}

/* ── Caption ── */
:is(.content-page__inner, .concert-detail__body) table caption,
table.ve-table caption {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-main);
    text-align: left;
    margin-bottom: 0.75rem;
    caption-side: top;
}

/* ── Column width helpers ── */
table.ve-table .col-shrink { width: 1%; white-space: nowrap; }
table.ve-table .col-date   { width: 9rem; white-space: nowrap; }
table.ve-table .col-time   { width: 5rem; white-space: nowrap; }
table.ve-table .col-fill   { width: 100%; }

/* ── Responsive: scroll on small screens ── */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ============================================================
   Image layout
   ============================================================ */

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

/* ── Floating image alignment ── */
.wp-block-image.alignleft,
.alignleft {
    float: left;
    margin: 0.25em 1.5em 1em 0;
    max-width: 66%; /* never wider than half the content column */
}

.wp-block-image.alignright,
.alignright {
    float: right;
    margin: 0.25em 0 1em 1.5em;
    max-width: 66%;
}

/* Make the <img> itself fill its container */
.wp-block-image.alignleft img,
.wp-block-image.alignright img,
.alignleft img,
.alignright img {
    width: 100%;
    height: auto;
    display: block;
}

/* Clear floats after post content */
.wp-block-image::after {
    content: "";
    display: table;
    clear: both;
}


/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.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: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: .875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================================
   Fixed Header
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--color-header-bg);
    border-bottom: 1px solid rgba(184, 148, 63, 0.25);
    transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header.is-transparent {
    background-color: var(--color-header-transparent);
    border-bottom-color: transparent;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    text-decoration: none;
}


/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style-type: none;
}

.primary-nav a {
    font-family: var(--font-sans);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    padding: 0.45rem 0.9rem;
    border-radius: 2px;
    transition: color var(--transition), background var(--transition);
    display: block;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: var(--color-gold-light);
    background: rgba(184, 148, 63, 0.1);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: #fff;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
    border-radius: 1px;
}

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

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

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

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    position: relative;
    height: clamp(480px, 72vh, 800px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--color-main);
}

.hero__bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.55;
    transition: transform 0.1s linear;
}

.hero__overlay,
.page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(26, 22, 20, 0.1) 0%,
            rgba(26, 22, 20, 0.25) 40%,
            rgba(26, 22, 20, 0.85) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
    width: 100%;
}

.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 0.75rem;
}

.hero__title {
    font-family: 'Futura PT Light', Helvetica, sans-serif;
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.01em;
    max-width: 14ch;
    text-transform: uppercase;
}

.hero__title span {
    font-family: 'Futura PT Book', Helvetica, sans-serif;
    padding-right: .5rem;
}

.hero__subtitle {
    margin-top: 1.25rem;
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 42ch;
    font-style: italic;
}

.front_page__title {
    padding-bottom: 1rem;
}

/* ============================================================
   Page Header (interior pages)
   ============================================================ */
.page-header {
    background-color: var(--color-main);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(184, 148, 63, 0.04) 40px,
            rgba(184, 148, 63, 0.04) 42px
    );
}

.page-header .container {
    position: relative;
}

.page-header__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 0.6rem;
}

.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 500;
}

/* Variant: thumbnail background with gradient overlay */
.page-header--has-image::before {
    /* Hide the diagonal pattern when an image fills the background */
    display: none;
}

.page-header__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

/* ============================================================
   Info Card (shared)
   ============================================================ */
.info-card {
    background: var(--color-main);
    color: #fff;
    border-radius: 4px;
    padding: 2rem;
    overflow: hidden;
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

.info-card__title {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
}

.info-card__row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
    font-size: 0.95rem;
}

.info-card__row:last-of-type {
    margin-bottom: 0;
}

.info-card__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-gold-light);
}

.info-card__label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    display: block;
}

.info-card__value {
    color: rgba(255, 255, 255, 0.9);
    hyphens: auto;
}

.info-card__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* ============================================================
   Section Header (shared)
   ============================================================ */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-rule);
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
}

.section-header--borderless {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: flex-end;
}

.section-header__link {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    white-space: nowrap;
}

.section-header__link:hover {
    color: var(--color-gold-light);
}

.section-header__link::after {
    content: ' →';
}

/* ============================================================
   Buttons (shared)
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    font-weight: 500;
}

.btn--gold {
    background: var(--color-gold);
    color: var(--color-main);
    width: 100%;
    justify-content: center;
}

.btn--gold:hover {
    background: var(--color-gold-light);
    color: var(--color-main);
}

.btn--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
}

.btn--outline:hover {
    border-color: var(--color-gold-light);
    color: var(--color-gold-light);
}

/* ============================================================
   Generic Content Page
   ============================================================ */
.content-page {
    padding: 4rem 0 6rem;
}

.content-page__inner {
    /* max-width: 720px; */
    max-width: var(--max-width);
}

.content-page__inner h1 {
    padding-bottom: 1rem;
}

.content-page__inner h2,
.concert-detail__main h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    padding-bottom: .2rem;
    border-bottom: 1px solid var(--color-rule);
    margin-bottom: 0.75rem;
}

.content-page__inner p {
    margin-bottom: 1.25rem;
    color: var(--color-main);
}

.content-page__inner a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================================
   Blog Index
   ============================================================ */
.post-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-rule);
}

.post-item__title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.post-item__title a {
    color: var(--color-main);
}

.post-meta-date {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.post-item__excerpt {
    color: var(--color-main-light);
}

.read-more-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--color-main);
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 0 2.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer-col-3 div {
    margin-left: auto;
    margin-right: 0;
}

.footer-brand__name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-brand__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 30ch;
}

.footer-col__title,
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--color-gold-light);
}

.footer-col.col-3 p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.3);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--color-gold-light);
}

/* Newsletter form in footer */
.footer div.tnp.tnp-subscription {
    margin: 0.5rem 0 0;
    max-width: none;
}

.footer .tnp-subscription form {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.footer .tnp-subscription div.tnp-field {
    margin-bottom: 0;
}

.footer .tnp-subscription div.tnp-field-email {
    flex: 1;
}

.footer .tnp-subscription input[type="email"].tnp-email {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: 0;
    padding: 0.55rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: border-color var(--transition);
}

.footer .tnp-subscription input[type="email"].tnp-email::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer .tnp-subscription input[type="email"].tnp-email:focus {
    border-color: var(--color-gold-light);
}

.footer .tnp-subscription form:focus-within input[type="submit"].tnp-submit {
    border-top-color: var(--color-gold-light);
    border-right-color: var(--color-gold-light);
    border-bottom-color: var(--color-gold-light);
}

.footer .tnp-subscription div.tnp-field-button {
    flex-shrink: 0;
}

.footer .tnp-subscription input[type="submit"].tnp-submit {
    display: block;
    background-color: rgba(255, 255, 255, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    border-radius: 0;
    color: transparent;
    font-size: 0;
    width: 2.75rem;
    height: 100%;
    padding: 0.55rem 0;
    cursor: pointer;
    text-shadow: none;
    transition: background-color var(--transition), border-color var(--transition);
}

.footer .tnp-subscription input[type="submit"].tnp-submit:hover {
    background-color: rgba(255, 255, 255, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d4af6a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pagination .page-numbers {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-rule);
    border-radius: 2px;
    transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .current {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__grid > *:first-child {
        grid-column: 1 / -1;
    }

    .primary-nav {
        display: none;
    }

    .primary-nav.is-open {
        display: flex;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-main);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem var(--gutter) 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-nav.is-open ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        width: 100%;
    }

    .primary-nav.is-open a {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 60px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__grid > *:first-child {
        grid-column: auto;
    }

    /* ── Responsive: stack on small screens ── */
        .wp-block-image.alignleft,
        .wp-block-image.alignright,
        .alignleft,
        .alignright {
            float: none;
            max-width: 100%;
            margin: 1em 0;
    }
}
