/*
Theme Name: Space 2047 Super Sci-Fi Theme
Theme URI: https://www.space2047.com
Author: Benjamin Arthur Robinson
Author URI: https://www.space2047.com
Description: A complete sci-fi WordPress theme for Space 2047 with WooCommerce support, starter pages, twinkling stars, flying spaceships, editable desktop menu buttons, and a slide-out hamburger menu.
Version: 1.0.1
Requires at least: 5.8
Tested up to: 6.6
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: space2047-super-sci-fi-theme
Tags: custom-background, custom-logo, custom-menu, entertainment, e-commerce, blog
*/

:root {
    --s2047-bg: #020617;
    --s2047-cyan: #00e5ff;
    --s2047-pink: #ff4fc3;
    --s2047-yellow: #ffd400;
    --s2047-white: #ffffff;
    --s2047-panel: rgba(2, 8, 28, 0.88);
    --s2047-text: #eaf7ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--s2047-text);
    background:
        radial-gradient(circle at 15% 12%, rgba(0,229,255,.25), transparent 22%),
        radial-gradient(circle at 78% 18%, rgba(255,79,195,.20), transparent 24%),
        radial-gradient(circle at 50% 80%, rgba(72,61,255,.25), transparent 32%),
        linear-gradient(180deg, #020617 0%, #050027 48%, #000 100%);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
}

body::before {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 1px, transparent 1.8px),
        radial-gradient(circle, rgba(0,229,255,.75) 1px, transparent 1.8px),
        radial-gradient(circle, rgba(255,212,0,.85) 1px, transparent 2px);
    background-size: 80px 80px, 130px 130px, 190px 190px;
    background-position: 10px 20px, 50px 80px, 120px 30px;
    animation: s2047-twinkle 4s infinite alternate;
    opacity: .75;
}

body::after {
    background:
        linear-gradient(110deg, transparent 0%, rgba(0,229,255,.12) 48%, transparent 52%),
        linear-gradient(70deg, transparent 0%, rgba(255,79,195,.08) 48%, transparent 52%);
    animation: s2047-nebula 12s linear infinite;
    z-index: -2;
}

@keyframes s2047-twinkle {
    from { opacity: .45; filter: brightness(.8); }
    to { opacity: .95; filter: brightness(1.45); }
}

@keyframes s2047-nebula {
    from { transform: translateX(-10%); }
    to { transform: translateX(10%); }
}

a {
    color: var(--s2047-cyan);
}

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

.s2047-site {
    min-height: 100vh;
    position: relative;
}

.s2047-spaceship {
    position: fixed;
    width: 74px;
    height: 24px;
    pointer-events: none;
    z-index: -1;
    opacity: .78;
    filter: drop-shadow(0 0 12px rgba(0,229,255,.8));
    background: linear-gradient(90deg, transparent 0 10%, #dffbff 10% 65%, #00e5ff 65% 100%);
    border-radius: 60% 45% 45% 60%;
    animation: s2047-fly 18s linear infinite;
}

.s2047-spaceship::before {
    content: "";
    position: absolute;
    left: 18px;
    top: -8px;
    width: 24px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
}

.s2047-spaceship::after {
    content: "";
    position: absolute;
    left: -28px;
    top: 8px;
    width: 34px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,79,195,.9), rgba(0,229,255,.95));
}

.s2047-ship-1 { top: 18%; left: -90px; animation-duration: 19s; }
.s2047-ship-2 { top: 58%; left: -120px; animation-duration: 26s; transform: scale(.7); animation-delay: -9s; }
.s2047-ship-3 { top: 36%; left: -110px; animation-duration: 33s; transform: scale(.55); animation-delay: -15s; }

@keyframes s2047-fly {
    0% { transform: translateX(-120px) translateY(0) rotate(3deg); }
    45% { transform: translateX(55vw) translateY(-35px) rotate(-4deg); }
    100% { transform: translateX(calc(100vw + 180px)) translateY(20px) rotate(3deg); }
}

/* Header */
.s2047-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(180deg, rgba(2,6,23,.96), rgba(2,6,23,.70));
    border-bottom: 1px solid rgba(0,229,255,.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(0,229,255,.18);
}

.s2047-header-inner {
    min-height: 86px;
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
}

.s2047-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.s2047-brand-title {
    color: var(--s2047-white);
    font-family: Impact, Arial Black, sans-serif;
    letter-spacing: .08em;
    font-size: clamp(24px, 4vw, 48px);
    text-shadow: 0 0 12px rgba(0,229,255,.95), 0 0 24px rgba(255,79,195,.55);
    line-height: 1;
}

.s2047-brand-subtitle {
    margin-top: 4px;
    color: var(--s2047-yellow);
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 12px;
    text-transform: uppercase;
}

.s2047-desktop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.s2047-action-button,
.s2047-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid var(--s2047-cyan);
    background: linear-gradient(135deg, rgba(0,229,255,.28), rgba(255,79,195,.20));
    color: #fff;
    padding: 12px 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(0,229,255,.30);
    cursor: pointer;
}

.s2047-action-button:hover,
.s2047-button:hover,
.wp-block-button__link:hover {
    background: linear-gradient(135deg, rgba(255,212,0,.38), rgba(0,229,255,.30));
    transform: translateY(-1px);
}

/* Hamburger */
.s2047-hamburger {
    width: 58px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 2px solid var(--s2047-cyan);
    border-radius: 14px;
    background: rgba(2,6,23,.88);
    box-shadow: 0 0 18px rgba(0,229,255,.7);
    padding: 0;
}

.s2047-hamburger span {
    display: block;
    width: 32px;
    height: 4px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--s2047-cyan);
}

/* Slide menu */
.s2047-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(5px);
    transition: .25s ease;
}

.s2047-menu-open .s2047-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.s2047-slide-menu {
    position: fixed;
    top: 12px;
    left: 12px;
    bottom: 12px;
    width: min(365px, calc(100vw - 24px));
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(calc(-100% - 40px));
    opacity: 0;
    pointer-events: none;
    transition: .32s ease;
    padding: 16px;
    border: 2px solid rgba(0,229,255,.92);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(153,65,255,.36), transparent 30%),
        radial-gradient(circle at 20% 40%, rgba(0,229,255,.18), transparent 32%),
        linear-gradient(180deg, rgba(2,8,28,.98), rgba(0,0,0,.97));
    box-shadow: 0 0 34px rgba(0,229,255,.65), inset 0 0 28px rgba(0,229,255,.12);
}

.s2047-menu-open .s2047-slide-menu {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.s2047-menu-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 2px solid var(--s2047-pink);
    background: rgba(255,79,195,.26);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    z-index: 4;
}

.s2047-menu-logo {
    text-align: center;
    padding: 8px 58px 12px;
}

.s2047-menu-planet {
    width: 74px;
    height: 74px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffd8ff, #a335ff 40%, #04102d 100%);
    border: 2px solid var(--s2047-cyan);
    box-shadow: 0 0 18px rgba(255,79,195,.85), 0 0 30px rgba(0,229,255,.55);
}

.s2047-menu-title {
    font-family: Impact, Arial Black, sans-serif;
    color: var(--s2047-cyan);
    font-size: 22px;
    letter-spacing: .16em;
    text-shadow: 0 0 10px rgba(0,229,255,.95);
}

.s2047-menu-title span {
    color: var(--s2047-pink);
}

.s2047-menu-arrows {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.s2047-menu-arrows button {
    width: 44px;
    height: 32px;
    padding: 0;
    border-radius: 10px;
    border: 2px solid #111;
    background: var(--s2047-yellow);
    color: #111;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,.28);
}

.s2047-menu-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 2px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--s2047-cyan) rgba(255,255,255,.08);
    -webkit-overflow-scrolling: touch;
}

.s2047-menu-scroll::-webkit-scrollbar {
    width: 10px;
}

.s2047-menu-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,.08);
    border-radius: 999px;
}

.s2047-menu-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--s2047-cyan), var(--s2047-pink));
    border-radius: 999px;
}

.s2047-menu-list,
.s2047-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.s2047-menu-list li {
    margin: 0 0 10px;
}

.s2047-menu-list a {
    min-height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 15px;
    font-weight: 900;
    border: 1px solid rgba(0,229,255,.64);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(0,229,255,.18), rgba(0,0,0,.35), rgba(255,79,195,.10));
    box-shadow: inset 0 0 16px rgba(0,229,255,.12), 0 0 10px rgba(0,229,255,.18);
}

.s2047-menu-list a:hover {
    background: linear-gradient(90deg, rgba(0,229,255,.48), rgba(0,104,255,.22), rgba(255,79,195,.24));
}

/* Layout */
.s2047-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 18px 64px;
}

.s2047-hero {
    position: relative;
    min-height: 76vh;
    display: grid;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    padding: clamp(34px, 6vw, 86px);
    background:
        linear-gradient(90deg, rgba(2,6,23,.92), rgba(2,6,23,.58), rgba(2,6,23,.92)),
        var(--s2047-hero-image);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 40px rgba(0,229,255,.26);
    border: 1px solid rgba(0,229,255,.38);
}

.s2047-hero-content {
    max-width: 820px;
}

.s2047-kicker {
    color: var(--s2047-yellow);
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.s2047-hero h1,
.s2047-page-title {
    margin: 12px 0;
    font-family: Impact, Arial Black, sans-serif;
    font-size: clamp(46px, 9vw, 118px);
    line-height: .9;
    letter-spacing: .03em;
    color: #fff;
    text-shadow: 0 0 18px rgba(0,229,255,.9), 0 8px 0 rgba(0,0,0,.45);
}

.s2047-hero p {
    font-size: clamp(18px, 2.4vw, 26px);
    line-height: 1.45;
    max-width: 760px;
    color: #eaf7ff;
}

.s2047-hero-actions,
.s2047-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.s2047-section {
    margin: 52px 0;
}

.s2047-section-title {
    font-family: Impact, Arial Black, sans-serif;
    font-size: clamp(34px, 6vw, 72px);
    letter-spacing: .04em;
    text-shadow: 0 0 15px rgba(0,229,255,.6);
    margin: 0 0 18px;
}

.s2047-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 22px;
}

.s2047-card,
.post,
.product,
.type-page {
    border: 1px solid rgba(0,229,255,.38);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(2,8,28,.88), rgba(0,0,0,.78));
    box-shadow: 0 0 24px rgba(0,229,255,.14);
    padding: 20px;
    overflow: hidden;
}

.s2047-card img,
.post img,
.product img {
    border-radius: 16px;
}

.s2047-card h3,
.entry-title,
.product .woocommerce-loop-product__title {
    color: #fff;
    font-family: Impact, Arial Black, sans-serif;
    letter-spacing: .04em;
    text-shadow: 0 0 10px rgba(0,229,255,.5);
}

.s2047-crew-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.s2047-entry {
    font-size: 18px;
    line-height: 1.7;
}

.s2047-entry h1,
.s2047-entry h2,
.s2047-entry h3 {
    font-family: Impact, Arial Black, sans-serif;
    letter-spacing: .04em;
}

.s2047-page-header {
    margin-bottom: 26px;
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(0,229,255,.16), rgba(255,79,195,.12));
    border: 1px solid rgba(0,229,255,.34);
}

.s2047-page-title {
    font-size: clamp(40px, 7vw, 86px);
}

.s2047-footer {
    border-top: 1px solid rgba(0,229,255,.34);
    background: rgba(0,0,0,.55);
    padding: 34px 18px;
    text-align: center;
    color: #c8f7ff;
}

/* Forms */
input,
textarea,
select {
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0,229,255,.55);
    background: rgba(0,0,0,.45);
    color: #fff;
    padding: 12px;
}

textarea {
    min-height: 150px;
}

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: linear-gradient(180deg, rgba(2,8,28,.88), rgba(0,0,0,.80));
    border: 1px solid rgba(0,229,255,.38);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 0 20px rgba(0,229,255,.14);
}

.woocommerce span.onsale {
    background: var(--s2047-pink);
}

.woocommerce div.product .product_title {
    color: #fff;
    font-family: Impact, Arial Black, sans-serif;
}

/* Blog */
.s2047-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}

.s2047-read-more {
    margin-top: 12px;
}

@media (max-width: 820px) {
    .s2047-header-inner {
        grid-template-columns: auto 1fr;
    }

    .s2047-desktop-actions {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .s2047-brand-title {
        font-size: 32px;
    }
}


/* Centered titles and buttons update */
.s2047-hero,
.s2047-hero-content,
.s2047-page-header,
.s2047-card,
.s2047-entry,
.s2047-section,
.s2047-footer {
    text-align: center;
}

.s2047-section-title,
.s2047-page-title,
.entry-title,
.s2047-card h3,
.s2047-brand,
.s2047-brand-title,
.s2047-brand-subtitle {
    text-align: center;
}

.s2047-hero-actions,
.s2047-card-actions,
.s2047-desktop-actions,
.s2047-footer,
.wp-block-buttons {
    justify-content: center;
    align-items: center;
}

.s2047-action-button,
.s2047-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button,
input[type="submit"] {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.s2047-menu-list a {
    justify-content: center;
    text-align: center;
}


/* Read more buttons on all post cards */
.s2047-read-more,
.entry-summary + .s2047-read-more,
.post .s2047-read-more,
.s2047-post-grid .s2047-button {
    display: inline-flex !important;
    margin: 16px auto 0 !important;
    min-width: 150px !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Keep blog post cards centred and tidy */
.s2047-post-grid .s2047-card {
    text-align: center !important;
}

.s2047-post-grid .entry-title,
.s2047-post-grid .entry-summary {
    text-align: center !important;
}

/* WooCommerce shop page should show products cleanly, not ordinary page lists */
.woocommerce .page-description,
.woocommerce-products-header__title.page-title {
    text-align: center !important;
}

.woocommerce ul.products {
    text-align: center !important;
}

.woocommerce ul.products li.product {
    text-align: center !important;
}

.woocommerce ul.products li.product .button {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Pagination buttons */
.nav-links,
.pagination,
.woocommerce-pagination {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 32px auto !important;
}

.nav-links a,
.nav-links span,
.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0,229,255,.55) !important;
    background: rgba(0,0,0,.45) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 900 !important;
}

.page-numbers.current,
.nav-links .current {
    background: var(--s2047-yellow) !important;
    color: #111 !important;
}


/* Functional Contact Page */
.s2047-contact-form {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.s2047-contact-form p {
    margin: 0 0 18px;
}

.s2047-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--s2047-yellow);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-align: center;
}

.s2047-contact-form input,
.s2047-contact-form textarea {
    width: 100%;
    display: block;
    border: 1px solid rgba(0,229,255,.7);
    background: rgba(0,0,0,.58);
    color: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: inset 0 0 14px rgba(0,229,255,.12);
}

.s2047-contact-form textarea {
    min-height: 180px;
}

.s2047-contact-form button {
    display: flex !important;
    margin: 12px auto 0 !important;
}

.s2047-contact-alert {
    max-width: 760px;
    margin: 0 auto 22px;
    padding: 16px 18px;
    border-radius: 16px;
    text-align: center;
    font-weight: 900;
}

.s2047-contact-success {
    border: 1px solid rgba(0,255,170,.75);
    background: rgba(0,255,170,.14);
    color: #dfffee;
}

.s2047-contact-error {
    border: 1px solid rgba(255,79,195,.8);
    background: rgba(255,79,195,.16);
    color: #ffe8f8;
}


/* Author page */
.s2047-author-page {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.s2047-author-hero-image {
    display: block;
    width: min(100%, 760px);
    margin: 0 auto 32px;
    border-radius: 28px;
    border: 2px solid rgba(0,229,255,.55);
    box-shadow: 0 0 34px rgba(0,229,255,.32), 0 0 60px rgba(255,79,195,.18);
}

.s2047-author-page blockquote {
    max-width: 860px;
    margin: 28px auto;
    padding: 24px;
    border-left: 6px solid var(--s2047-yellow);
    border-radius: 18px;
    background: rgba(0,229,255,.10);
    font-size: 1.15em;
    font-weight: 700;
}

.s2047-author-page ul {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.s2047-author-page h2 {
    text-align: center;
    color: #fff;
    text-shadow: 0 0 14px rgba(0,229,255,.75);
}


/* Full Author Page Details */
.s2047-author-page {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.s2047-author-hero-image {
    display: block;
    width: min(100%, 780px);
    margin: 0 auto 34px;
    border-radius: 30px;
    border: 2px solid rgba(0,229,255,.65);
    box-shadow: 0 0 36px rgba(0,229,255,.35), 0 0 70px rgba(255,79,195,.20);
}

.s2047-author-page p {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.s2047-author-page h2 {
    text-align: center;
    margin-top: 34px;
    color: #fff;
    text-shadow: 0 0 14px rgba(0,229,255,.75);
}

.s2047-author-page ul {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.s2047-author-page li {
    margin-bottom: 8px;
}

.s2047-author-page blockquote {
    max-width: 900px;
    margin: 28px auto;
    padding: 24px;
    border-left: 6px solid var(--s2047-yellow);
    border-radius: 18px;
    background: rgba(0,229,255,.10);
    font-size: 1.12em;
    font-weight: 700;
    box-shadow: inset 0 0 18px rgba(0,229,255,.10);
}


/* Forced Full Author Page */
.s2047-author-page {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.s2047-author-hero-image {
    display: block;
    width: min(100%, 780px);
    margin: 0 auto 34px;
    border-radius: 30px;
    border: 2px solid rgba(0,229,255,.65);
    box-shadow: 0 0 36px rgba(0,229,255,.35), 0 0 70px rgba(255,79,195,.20);
}

.s2047-author-page p {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.s2047-author-page h2 {
    text-align: center;
    margin-top: 34px;
    color: #fff;
    text-shadow: 0 0 14px rgba(0,229,255,.75);
}

.s2047-author-page ul {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.s2047-author-page li {
    margin-bottom: 8px;
}

.s2047-author-page blockquote {
    max-width: 900px;
    margin: 28px auto;
    padding: 24px;
    border-left: 6px solid var(--s2047-yellow);
    border-radius: 18px;
    background: rgba(0,229,255,.10);
    font-size: 1.12em;
    font-weight: 700;
}


/* Space 2047 autoposter posts */
.post .s2047-button,
.s2047-entry .s2047-button {
    margin-top: 18px;
}


/* Custom Logo Support */
.s2047-brand-logo img.custom-logo {
    max-height: 80px;
    width: auto;
    display: block;
}

.s2047-brand-logo .custom-logo-link {
    display: inline-block;
}

.s2047-brand .custom-logo-link {
    display: inline-block;
}

.s2047-brand {
    text-decoration: none;
}
