/**
 * ======================
 * Leggero CSS Stylesheet
 * ======================
 *
 * Name: Stringendo
 * Theme: Leggero
 * Author: Fraenkiman
 * Version: 1.40
 * Module: style.css
 *
 * This stylesheet only wires together the module files.
 * The templates are shared across styles and must not be changed.
 */

@import url('common.css');
@import url('globals.css');
@import url('column.css');

/* Small widget & plugin tweaks (keep them minimal and style-agnostic) */

/* Calendar widget */
.calendar {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.calendar caption {
	margin-bottom: .4rem;
	color: var(--fp-muted, #475569);
	font-weight: 600;
}

.calendar th,
.calendar td {
	border: 1px solid var(--fp-accent-2, #8b0000);
	padding: .18rem .25rem;
	text-align: center;
	font-size: .92em;
}

.calendar th {
	background: var(--fp-surface-2, #f1f5f9);
}

/* Archive toggle icon */
.togglelink {
	user-select: none;
}

/* Last comments widget */
.last-comments {
	padding-left: 0;
}

.comment-quote {
	margin: .5rem 0;
	padding: .65rem .8rem;
	background: var(--fp-surface-2, #f1f5f9);
	border: 1px solid var(--fp-border, #e2e8f0);
	border-radius: var(--fp-radius-sm, 10px);
}

/* Cookie banner: keep readable on this style */
#cookie_banner {
	left: 0;
	right: 0;
	bottom: 0;
	position: fixed;
	z-index: 9999;
	padding: .75rem 1rem;
	background: rgba(255, 255, 255, .95);
	border-top: 1px solid var(--fp-border, #e2e8f0);
	backdrop-filter: blur(8px);
}

#cookie_banner .buttonbar {
	max-width: var(--fp-container, 1120px);
	margin: 0 auto !IMPORTANT;
}

#cookie_banner input[type="submit"] {
	white-space: nowrap;
}

.responsive_bbcode_video button {
	height: unset !IMPORTANT;
}

/* ============================================================
   RETRO AMBER – FINAL (Stringendo / FlatPress 1.5.1)
   Color-only overrides. Stringendo spacing, columns and layout stay.
   ============================================================ */
:root {
  color-scheme: dark;
  --fp-bg: #1b1b1b;
  --fp-surface: #584638;
  --fp-surface-2: #654e3d;
  --fp-text: #fff0dc;
  --fp-muted: #e0bf96;
  --fp-border: #84684e;
  --fp-link: #ffd27a;
  --fp-link-visited: #f0bd73;
  --fp-link-hover: #ffe8b0;
  --fp-accent: #f3b65e;
  --fp-accent-2: #e7a94f;
  --fp-accent-3: #ffbe54;
}
/* Replace Stringendo's fixed pale gradients with lighter warm-brown panels. */
body:not([class^="admin-"]) .entry,
body:not([class^="admin-"]) #column > div,
body:not([class^="admin-"]) .stringendo-widgets-under-main > div {
  background: linear-gradient(165deg, #584638 0%, #654e3d 100%);
  color: #fff0dc;
  border-color: #84684e;
}
body:not([class^="admin-"]) .entry p,
body:not([class^="admin-"]) .entry li,
body:not([class^="admin-"]) .entry div,
body:not([class^="admin-"]) #column p,
body:not([class^="admin-"]) #column li,
body:not([class^="admin-"]) .stringendo-widgets-under-main p,
body:not([class^="admin-"]) .stringendo-widgets-under-main li { color: #fff0dc; }
body:not([class^="admin-"]) .entry-title,
body:not([class^="admin-"]) .entry-title a,
body:not([class^="admin-"]) .entry h2:not(.date),
body:not([class^="admin-"]) .entry h3,
body:not([class^="admin-"]) .entry h4,
body:not([class^="admin-"]) #column h2,
body:not([class^="admin-"]) #column h3,
body:not([class^="admin-"]) #column h4,
body:not([class^="admin-"]) .stringendo-widgets-under-main h4 { color: #ffd27a; }
body:not([class^="admin-"]) h2.date,
body:not([class^="admin-"]) .entry p.date,
body:not([class^="admin-"]) .entry-footer,
body:not([class^="admin-"]) .entry-footer li,
body:not([class^="admin-"]) #column small,
body:not([class^="admin-"]) #column .date { color: #e0bf96; }
body:not([class^="admin-"]) .entry a:link,
body:not([class^="admin-"]) #column a:link,
body:not([class^="admin-"]) .stringendo-widgets-under-main a:link { color: #ffd27a; }
body:not([class^="admin-"]) .entry a:visited,
body:not([class^="admin-"]) #column a:visited,
body:not([class^="admin-"]) .stringendo-widgets-under-main a:visited { color: #f0bd73; }
body:not([class^="admin-"]) .entry a:hover,
body:not([class^="admin-"]) #column a:hover,
body:not([class^="admin-"]) .stringendo-widgets-under-main a:hover,
body:not([class^="admin-"]) .entry a:focus,
body:not([class^="admin-"]) #column a:focus { color: #ffe8b0; text-decoration: underline; }
/* Preserve orange Stringendo header and readable title. */
body:not([class^="admin-"]) #head h1 a { color: #181818; }
body:not([class^="admin-"]) #head .subtitle { color: #fff4e5; }
