/*
Theme Name: MXB Mods 2025
Theme URI: https://andersnoren.se/teman/hitchcock-wordpress-theme/
Template: hitchcock
Author: Anders Norén x dmkrtz
Author URI: https://andersnoren.se
Description: Hitchcock is a minimal portfolio theme for designers, photographers and other creatives. It features a beautiful responsive design, Block Editor support, a social icon menu, JetPack infinite scroll, custom accent color, custom header image, support for the gallery post format, the option to always show post preview titles, editor styles, and much more. Demo: https://andersnoren.se/themes/hitchcock/
Tags: blog,three-columns,custom-colors,custom-header,custom-menu,custom-logo,editor-style,featured-images,post-formats,sticky-post,theme-options,threaded-comments,translation-ready,grid-layout,portfolio,photography,block-styles,wide-blocks
Version: 2.2.1.1744736534
Updated: 2025-04-25 17:02:12

*/

/* ---------------------------------------------------------------------------------------------
   Globals
   --------------------------------------------------------------------------------------------- */
:root {
	--accent-color: #ff9900;
	--accent-color-light: #ffad33;
	--accent-color-dark: #cc7a00;
	--accent-color-hover: #FCBE5F;
	--grey-1: #333;
	--grey-2: #232323;
	
    --default-padding-sides: 20px;
    --default-border-width: 10px;
    --default-border-width-sub: 5px;
    --default-border-color: var(--grey-1);
    --default-border-radius: 20px;

    --default-body-color: #efefef;
    --default-content-color: #d1d1d1;
	
	--posts-grid-columns: 1; /* Mobile default */
}

/* ---------------------------------------------------------------------------------------------
   Fonts
   --------------------------------------------------------------------------------------------- */
   
/* https://gwfh.mranftl.com
/* poppins-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/poppins-v22-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/poppins-v22-latin-italic.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/poppins-v22-latin-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: url('assets/fonts/poppins-v22-latin-600italic.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/poppins-v22-latin-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: url('assets/fonts/poppins-v22-latin-700italic.woff2') format('woff2');
}

/* ---------------------------------------------------------------------------------------------
   Global
   --------------------------------------------------------------------------------------------- */
body #site-content {
    color: var(--default-body-color);
}

body a, .post-meta a { 
	color: var(--accent-color); 
}

body a:hover:not(.button),
.post-meta a:hover:not(.button) {
    color: var(--accent-color-hover);
    text-decoration: none;
}

.navigation {
	position: sticky;
	z-index: 10;
	top: 0;
}

.admin-bar .navigation {
	top: 32px;
}

body.logged-in .navigation .user-menu-wrapper {
	position: relative;
	padding-left: 34px;
	line-height: 14px;
	display: inline-block;
}
body.logged-in .navigation .user-menu-wrapper .avatar,
body.logged-in .navigation .user-menu-wrapper .menu-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
body.logged-in .navigation .user-menu-name {
	font-size: 13px;
	line-height: 1.4;
	display: inline-block;
}

.navigation img.menu-logo {
	height: 18px;
	width: auto;
	display: inline-block;
	vertical-align: middle;
}

.navigation .nav-logo {
	display: none;
	position: absolute;
	left: 20px;
}

@media (max-width: 900px) {
	.navigation .nav-logo {
		display: none!important;
	}
}

.navigation .nav-logo + .menu-item:before {
	display: none;
}

#wp-admin-bar-my-account img {
	border-radius: 100%;
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
	
	.admin-bar .navigation {
		top: 46px;
	}
	
    .post-header {
        max-width: unset;
    }
}

.header-image {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	transition: opacity 3s ease;
}

.post-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 0 90px;
}

.post-container {
    border: var(--default-border-width) solid var(--default-border-color);
    border-radius: var(--default-border-radius);
    background: rgba(29, 29, 29, 0.9);
}

.post-content {
    color: var(--default-content-color);
}

.post-content, .widget-content {
	font-family: 'Poppins';
}

.post-navigation a {
	align-content: center;
    text-align: center;
    font-size: xx-large;
}

.post-navigation p {
    position: absolute;
}

.post-brand>img {
	max-height: 100px;
	width: auto;
}

@media (max-width: 900px) {
    .post-navigation p {
        position: inherit;
    }
}

hr {
    background: #333;
    border: none;
    height: 10px;
    margin: 2rem auto;
    width: 90%;
    border-radius: 5px;
}

label {
	font-family: 'Poppins';
}

.w-25 {
    width: 25% !important;
}
.w-33 {
    width: 33.3333% !important;
}
.w-50 {
    width: 50% !important;
}
.w-66 {
    width: 66.6667% !important;
}
.w-75 {
    width: 75% !important;
}
.w-100 {
    width: 100% !important;
}

/* Text Styles */
.text-muted {
	filter: brightness(0.5);
	font-size: small;
}

.text-center {
	text-align: center;
}

.no-margin {
	margin: 0 !important;
}

.no-padding {
	padding: 0 !important;
}

.no-transform {
	text-transform: inherit !important;
}

.content .msg {
	position: relative;
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, .25);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: rgba(0,0,0,0.5) 0 0 10px;
	overflow: hidden;
}
.content .msg:has(> a > img) {
    padding: 0;
}

.content .msg img {
    margin: 0 auto;
	border-radius: 5px;
    width: 100%;
}

@media (min-width: 600px) {
    .content .msg:hover {
        transform: scale(1.05);
        z-index: 1;
    }
}

.msg .ad-sponsored, .msg .ad-end-date {
	position: absolute;
	color: var(--default-body-color);
	font-size: x-small;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
}
.msg .ad-sponsored {
	left: 0;
	top: 0;
    border-bottom-right-radius: 10px;
}
.msg .ad-end-date {
	right: 0;
	bottom: 0;
    border-top-left-radius: 10px;
}

.mxb-box {
    position: fixed;
    bottom: 40px;
    width: 380px;
    max-width: 100%;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    color: white;
    z-index: 999;

    --flying-element-positioning: calc(50% - 380px - 520px - 40px);
}

/* Specific placement */
.mxb-recent-comments {
    left: var(--flying-element-positioning);
    text-align: left;
    align-items: flex-start;
    max-height: 600px;
}

.mxb-recent-comments .recent-comments-list {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #666 #222; /* Firefox */
    padding-right: 10px;
}

.mxb-related-ad {
    right: var(--flying-element-positioning);
    text-align: center;
    align-items: center;
    justify-content: space-between;
}

/* Shared elements */
.mxb-box h4,
.mxb-box .title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin: 0;
    color: #fff;
}

.mxb-recent-comments ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mxb-recent-comments li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* subtle light border */
}

/* Remove last border */
.mxb-recent-comments li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mxb-recent-comments a {
    font-weight: bold;
    text-decoration: none;
}

.mxb-recent-comments a:hover {
    text-decoration: underline;
}

.mxb-recent-comments .comment-text {
    display: block;
    color: var(--default-content-color);
    margin-top: 2px;
    font-size: 0.8rem;
}

.mxb-recent-comments .recent-comment-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mxb-recent-comments .comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mxb-recent-comments .comment-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.mxb-related-ad img.image {
    width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 1;
}

.mxb-related-ad a {
    width: 100%;
}

.mxb-related-ad .btn {
    width: 100%;
    display: inline-block;
    padding: 0.6rem 1rem;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Flex wrapper for both boxes */
.mxb-top-boxes {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive behavior */
@media (max-width: 1900px) {
    .mxb-box {
        position: static;
        margin: 0 auto;
        height: auto;
        max-height: 300px;
        min-width: 40%;
    }

    .mxb-recent-comments {
        flex: 1;
        min-width: 60%;
    }

    .mxb-top-boxes {
        margin-bottom: 20px;
    }
}

@media (min-width: 1900px) {
    .mxb-related-ad img.image {
        max-height: 200px;
    }
}

@media (max-width: 600px) {
    .mxb-recent-comments {
        display: none;
    }
}

/* Widgets / Full Width Widget */
.widget-content .wp-block-column figcaption {
    font-style: normal;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--default-content-color);
    font-size: small;
    margin-top: 10px;
    padding: 0;
    width: 100%;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    justify-items: center;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow figure {
    width: 90%;
    max-width: 250px;
}

@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column figure {
        max-width: 90%;
        width: 250px;
    }
}

/* ---------------------------------------------------------------------------------------------
   Navigation Menu
   --------------------------------------------------------------------------------------------- */
/* Nur tiefste Submenus bekommen Scrollbar */
.sub-menu:not(:has(.sub-menu)) {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #666 #222;
}

/* make the link a positioning context only when needed */
.menu-unread-anchor { position: relative; }

/* your badge */
span.messages-unread{
    position: absolute;
    background: #c65151;
    width: 0.8rem;
    height: 0.8rem;
    top: 50%;
    transform: translate(50%, -100%);
    border-radius: 100%;
    color: white;
    font-size: 0.6rem;
    display: grid;          /* for perfect centering */
    place-items: center;    /* center number */
    line-height: 0;         /* no line-height surprises */
}


/* ---------------------------------------------------------------------------------------------
   Scrollbar Styles
   --------------------------------------------------------------------------------------------- */
.sub-menu:not(:has(.sub-menu))::-webkit-scrollbar {
    width: 8px;
}

.sub-menu:not(:has(.sub-menu))::-webkit-scrollbar-track {
    background: #222;
}

.sub-menu:not(:has(.sub-menu))::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 4px;
    border: 2px solid #222;
}

.sub-menu:not(:has(.sub-menu))::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

/* Chrome, Edge, Safari */
.mxb-recent-comments::-webkit-scrollbar {
    width: 8px;
}

.mxb-recent-comments::-webkit-scrollbar-track {
    background: #222;
}

.mxb-recent-comments::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 4px;
    border: 2px solid #222;
}

.mxb-recent-comments::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}


/* --------------------------------------------------------------------------------
Pagination
   -------------------------------------------------------------------------------- */
.archive-header { 
    margin-bottom: 30px; 
}

.content .archive-image {
    justify-items: center;
    margin: 20px 0;
}

.content .archive-image img {
    min-height: 100px;
    width: 500px;
    max-width: 100%;
}

/* Archive Navigation ------------------------ */

.archive-nav {
	color: #2d2d2d;
	margin-top: 40px;
	text-align: center;
}

.archive-nav a {
	font-size: 2rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0 20px;
    border-radius: 10px;
    outline: 2px solid grey;
}

.archive-nav .sep { pointer-events: none; user-select: none; }

/* ---------------------------------------------------------------------------------------------
   Tax Pages Children Grid and Mod Filter
   --------------------------------------------------------------------------------------------- */
.term-grid-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.term-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.term-grid-item {
    display: block;
    text-align: center;
    padding: 0.5rem;
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
	border-color: #333;
	text-transform: uppercase;
	font-weight: 600;
}

.term-grid-item:hover {
    background-color: #33333399;
}

/* Mod Filter */
.mod-filter-form {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 0.5rem;
}

.mod-filter-form select {
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* ---------------------------------------------------------------------------------------------
   Post Archive Content
   --------------------------------------------------------------------------------------------- */
@media (min-width: 600px) {
  :root {
    --posts-grid-columns: 2; /* Tablet */
  }
}

@media (min-width: 1024px) {
  :root {
    --posts-grid-columns: 3; /* Desktop */
  }
}

#posts {
	display: grid;
	grid-template-columns: repeat(var(--posts-grid-columns), 1fr);
	gap: 20px; /* Adjust margin between items */
	margin-top: 0;
}

.related-posts {
    margin-top: 20px !important;
}

.related-posts>h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

#posts .post {
    border-radius: 10px;
    box-shadow: rgba(0,0,0,0.5) 0 0 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    background-color: #111;
    background-repeat: no-repeat;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-top: 0;
}

#posts .post + .post {
	margin-left: 0;
}

.content #posts .post:first-child, .content #posts .post.sticky {
	grid-column: span var(--posts-grid-columns);
	aspect-ratio: var(--posts-grid-columns) / 1;
}

#posts .post:nth-child(3n+1) {
	margin-left: 0;
}

#posts .post .archive-post-title {
    color: white;
}

#posts .post .archive-post-header {
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.post-overlay {
    background: inherit;
}

.has-post-thumbnail .post-overlay {
    background: linear-gradient(to bottom, transparent 25%, rgba(0, 0, 0, 0.9) 100%);
    opacity: 1;
}

@media (min-width: 768px) {
    #posts .post:hover {
        transform: scale(1.05);
        z-index: 1;
    }
}

#posts .post:hover .post-overlay {
    opacity: 0.5;
}

#posts .post .archive-post-brand-logo {
    position: absolute;
    right: 20px;
    top: 40px;
    left: 20px;
    justify-items: center;
    opacity: 0.25;
    transition: opacity 0.3s ease;
}

#posts .post .archive-post-brand-logo img {
    max-height: 50px;
}

#posts .post:hover .archive-post-brand-logo {
    opacity: 1;
}

#posts .post .sticky-badge {
	position: absolute;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: gold;
    border-bottom-right-radius: 10px;
    font-size: large;
}

#posts .post .archive-post-mod-types {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 10px;
    font-size: large;
    display: flex;
    gap: 5px;
}

#posts .post .mod-type-icon[title] {
    cursor: help;
}

.archive-post-text {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.875em;
    font-weight: 600;
    letter-spacing: .015em;
    margin-bottom: 0;
    text-transform: uppercase;
}

#posts .post .archive-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    font-size: 0.875em;
    letter-spacing: .015em;
	align-items: center;
}

#posts .post .archive-post-meta>div {
	display: flex;
	gap: 5px;
	align-items: center;
}

#posts .post .post-views {
    display: inline-block;
}

/* ---------------------------------------------------------------------------------------------
   Page/Post Template
   --------------------------------------------------------------------------------------------- */
.single.post .post-inner {
    padding: 20px var(--default-padding-sides);
}

.content .featured-media {
	width: 100%;
	overflow: hidden;
    position: relative;
    border-radius: calc(var(--default-border-radius) / 2) calc(var(--default-border-radius) / 2) 0 0;
}

.content .post-header {
    width: 100%;
    padding: 40px var(--default-padding-sides);
}

.content .has-post-thumbnail .post-inner {
    border-top: 10px solid var(--default-border-color);
    padding-top: 20px !important;
}

.content .post-header {
	background: linear-gradient(0, transparent, black 150%);
    text-shadow: 0 0 15px black;
}

.content .has-post-thumbnail .post-header {
    background: linear-gradient(0, transparent, black 100%);
	position: absolute;
	padding-bottom: 60px;
}

.content .post-meta p { 
	margin: 5px 0;
}

.content p.post-edit {
    margin: 20px 0;
}

/* ---------------------------------------------------------------------------------------------
   Ultimate Member
   --------------------------------------------------------------------------------------------- */
/* Registration */
.um .um-req {
	color: red !important;
}

/* Account */
.um-account-main div.um-account-heading, .um-account-name a {
	color: var(--default-body-color);
}

/* Profile Pages */
.um.um-profile {
    max-width: 100% !important;
}

.um .um-profile-body {
    max-width: 100% !important;
	padding: 0 var(--default-padding-sides);
}

.um-page .post-meta {
	padding: var(--default-padding-sides);
    margin-top: 20px;
}

.um-page-user .post-inner {
	padding: 0 !important;
}

.um-page-user .post-header {
	display: none;
}

.um .um-cover {
	overflow: hidden;
	border-radius: calc(var(--default-border-radius) / 2) calc(var(--default-border-radius) / 2) 0 0;
	border-bottom: var(--default-border-width) solid var(--default-border-color);
    background: #222;
}

.um .um-profile-nav {
	background: var(--grey-1);
}

.um .um-profile-photo a.um-profile-photo-img {
	border: var(--default-border-color) solid var(--default-border-width) !important;
	background: rgba(29, 29, 29, 0.9);
}

.um, .um label, .um .um-item-link a, .um .um-field-label {
	color: var(--default-content-color) !important;
}

.um.um-profile .um-name a {
	color: var(--default-body-color) !important;
}
.um.um-profile .um-meta-text {
	color: var(--default-content-color) !important;
}

.um .um-ajax-items {
	width: 100%;
}
.um .um-ajax-items .um-item {
	text-align: center;
}
.um .um-item .um-item-img a {
	width: 80%;
}
.um .um-item .um-item-img img {
	width: 100%;
}

/* UM Buttons */
.picker__box, .picker__nav--next:hover, .picker__nav--prev:hover, .um .um-field-group-head, .um .um-members-pagi span.current, .um .um-members-pagi span.current:hover, .um .um-profile-nav-item.active a, .um .um-profile-nav-item.active a:hover, .um-modal-btn, .um-modal-btn.disabled, .um-modal-btn.disabled:hover, .um-modal-header, .upload, div.uimob800 .um-account-side li a.current, div.uimob800 .um-account-side li a.current:hover {
    background: var(--accent-color);
}

/* UM Link Colors */
.um .um-cover-add:hover, .um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i, .um .um-field-radio.active:not(.um-field-radio-state-disabled) i, .um .um-item-meta a, .um .um-member-less a:hover, .um .um-member-more a:hover, .um .um-member-name a:hover, .um .um-members-pagi a:hover, .um .um-profile-subnav a.active, .um .um-tip:hover, .um-account-name a:hover, .um-account-nav a.current, .um-account-side li a.current span.um-account-icon, .um-account-side li a.current:hover span.um-account-icon, .um-dropdown li a:hover, i.um-active-color, span.um-active-color {
    color: var(--accent-color);
}
.um-profile.um .um-profile-edit-a.active, .um-profile.um .um-profile-headericon a:hover {
    color: var(--accent-color);
	background: rgba(29, 29, 29, 0.5);
}
div.um-modal .upload:hover {
	background: var(--accent-color-hover);
}
.um-modal-body {
	background: var(--grey-1);
}

/* UM DropDown */
.um-dropdown {
	background: var(--grey-1);
	border-color: #111;
}
.um-dropdown ul {
	background: transparent;
}
.um-dropdown li a {
	color: #aaa;
}
.um-dropdown-arr {
	z-index: 17;
}

/* UM Date Picker */
.picker--focused .picker__day--highlighted, .picker--focused .picker__list-item--highlighted, .picker--focused .picker__list-item--selected, .picker__day--highlighted:hover, .picker__day--infocus:hover, .picker__day--outfocus:hover, .picker__footer, .picker__header, .picker__list-item--highlighted:hover, .picker__list-item--selected, .picker__list-item--selected:hover, .picker__list-item:hover, .um .um-field-group-head:hover {
    background: var(--grey-1);
}

.picker tbody > tr:nth-child(odd) {
	background: #232323;
}

/* ---------------------------------------------------------------------------------------------
   wpDiscuz / comments
   --------------------------------------------------------------------------------------------- */
#comments {
    margin: 0;
}

#wpdcom {
    max-width: 100%;
    padding: 0 var(--default-padding-sides);
    margin: 0;
}

.wpd-avatar img {
    --comment-border-color: #666;
    border-left: 2px solid var(--comment-border-color) !important;
    border-top: 2px solid var(--comment-border-color) !important;
    border-right: 2px solid var(--comment-border-color) !important;
    border-radius: 100% !important;
    background-color: transparent !important;
}

/* ----------------------------------------------------------------------------------------------
   Everything ACF
   --------------------------------------------------------------------------------------------- */
.switch-full-width .acf-switch {
    width: 100%;
}

.acf-field-gallery, .acf-gallery-toolbar, .acf-gallery-attachments {
	padding: 0 !important;
}

.acfe-form .acf-gallery .button {
    padding: 8px 20px;
	text-decoration: none;
}

.acf-gallery .acf-gallery-main, .acf-gallery .acf-gallery-main .acf-gallery-toolbar {
    background: transparent !important;
}

.acf-gallery, .acf-gallery-toolbar {
	border: 0 !important;
}

.acf-field input[type=text], .acf-field input[type=password], .acf-field input[type=date], .acf-field input[type=datetime], .acf-field input[type=datetime-local], .acf-field input[type=email], .acf-field input[type=month], .acf-field input[type=number], .acf-field input[type=search], .acf-field input[type=tel], .acf-field input[type=time], .acf-field input[type=url], .acf-field input[type=week], .acf-field textarea, .acf-field select {
    padding: 0.4rem 0.6rem !important;
    border-radius: 4px !important;
    border: 1px solid #ccc !important;
	height: 35px !important;
}

.acf-field-group>.acf-input {
    border: var(--default-border-width-sub) solid var(--default-border-color) !important;
    border-radius: var(--default-border-radius) !important;
    overflow: hidden !important;
}

.acf-field-group.no-border .acf-input {
    border: none !important;
}

.acf-field-group>.acf-input>.acf-fields {
    background: transparent !important;
}

.acf-fields>.acf-field-message, .acf-fields>.acf-field-group {
	border: 0!important;
}

.acf-fields>.acf-field {
    border-color: var(--default-border-color) !important;
}

.acf-field-url .acf-icon.small, .acf-field-url .acf-icon.-small {
    height: 100% !important;
    top: 0 !important;
    align-content: center !important;
}

.acf-field p.description {
    color: var(--default-content-color) !important;
	font-size: small;
}

.acf-form-submit {
    margin-top: 15px;
}

.acf-field.acf-field-accordion>.acf-accordion-title {
    background: #333 !important;
}
.acf-field.acf-field-accordion {
    background: transparent !important;
}

.acf-field.acf-accordion .acf-input.acf-accordion-content>.acf-fields {
    border-top: none !important;
}

.acf-field table {
	overflow: auto;
}

.acf-repeater .acf-row, .acf-repeater .acf-fields, .acf-repeater .acf-row-handle {
    background: transparent !important;
}

/* Checkboxes */
.acf-checkbox-list:before {
	display: none!important;
}

ul.acf-checkbox-list:focus-visible, ul.acf-checkbox-list:focus, ul.acf-checkbox-list:active, ul.acf-checkbox-list:focus-within {
    outline: none !important;
    border-color: transparent !important;
}

/* Container für Checkbox-Elemente */
.acf-field-checkbox ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Default: 1 column for mobile */
    gap: 0.5rem;
}

@media (min-width: 600px) {
    .acf-field-checkbox ul {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (min-width: 1024px) {
    .acf-field-checkbox ul {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for desktops */
    }
}

/* Einzelne Checkbox-Elemente */
.acf-field-checkbox ul li {
    display: flex;
	margin: 0!important;
}

/* Label-Styling */
.acf-field-checkbox ul li label {
	display: flex !important;
    width: 100%;
	gap: 0.5rem;
	align-items: center;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    color: #fff;
    font-size: 0.95rem;
    user-select: none;
}

/* Hover */
.acf-field-checkbox ul li label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffc107;
}

/* Checkbox selbst */
.acf-field-checkbox ul input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    aspect-ratio: 1;
    border: 2px solid #aaa;
    border-radius: 4px;
    background-color: transparent;
    position: relative;
    transition: all 0.2s ease;
}

/* Checked-Zustand */
.acf-field-checkbox ul input[type="checkbox"]:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

/* Häkchen */
.acf-field-checkbox ul input[type="checkbox"]:checked::after {
    content: "✓";
    color: #000;
    font-size: 14px;
    position: absolute;
    line-height: 14px;
    width: 100%;
    text-align: center;
}

/* Button Styles */
.acf-button {
    text-decoration: none;
}
.acf-button:hover {
    background-color: var(--accent-color-dark);
}

.acf-image-uploader, .acf-file-uploader {
	padding: 10px 0;
}

/* Rating Widget */
.hentry .rmp-results-widget__avg-rating,
.hentry .rmp-results-widget__vote-count { display:none !important; }
.hentry .rmp-results-widget__visual-rating { display:flex !important; flex-wrap: nowrap; margin: 0 !important; }

/* Post Manage Buttons */
/* Container */
.post-actions>div{
	display: flex;
	justify-content: center;
	align-items:start;
	gap:.6rem;
	flex-wrap:wrap;
}
.post-actions>div>h3{
    margin: 0 .25rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
}
/* Base button */
.post-actions>div>a{
	padding:.55rem 1rem;
	border-radius:9999px;          /* pill */
	font-weight:700;
	color:#fff !important;
	text-decoration:none !important;
	box-shadow:0 2px 6px rgba(0,0,0,.18), 0 1px 2px rgba(0,0,0,.12);
	transition:transform .06s ease, filter .18s ease, box-shadow .18s ease;
	-webkit-tap-highlight-color:transparent;
}
/* Message (blue) */
.post-actions>div a.message-author {
    background: linear-gradient(180deg, #3ba9ff 0%, #0073e6 100%);
}
/* Edit (orange) */
.post-actions>div a.post-edit-link{
	background:linear-gradient(180deg, #ffb224 0%, #ff8a00 100%);
}
/* Trash (red) */
.post-actions>div a.post-trash-link{
	background:linear-gradient(180deg, #ff3434 0%, #d81313 100%);
}
/* Interactions */
.post-actions>div>a:hover{ filter:brightness(1.05) saturate(1.05); }
.post-actions>div>a:focus{
	outline:none;
	box-shadow:0 0 0 3px rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.18);
}

.post-actions.download-card {
  margin-top: 1rem;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-items: center;       /* centers items in their cells */
  justify-content: center;       /* centers items in their cells */
}

.post-actions>div {
	width: 30%;
}

@media (max-width: 992px) {     /* 2 columns on tablets */
	.post-actions>div {
		width: 50%;
	}
}

@media (max-width: 600px) {     /* 1 column on phones */
	.post-actions>div {
		width: 100%;
	}
}

/* Better Messages Styling */
.bp-messages-wrap img.avatar {
	border-radius: 50% !important;
}