/*
Theme Name: Big Dram Notes
Theme URI: https://bigdramnotes.de/
Author: Big Dram Notes
Author URI: https://bigdramnotes.de/
Description: Ein persönliches, bildstarkes Block-Theme für Whiskygeschichten, eigene Eindrücke, Tasting Notes und Whisky-Tastings. Entwickelt für WordPress 7.0.1 im Corporate Design von Big Dram Notes.
Requires at least: 7.0
Tested up to: 7.0.1
Requires PHP: 7.4
Version: 1.3.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: big-dram-notes
Tags: block-patterns, block-styles, full-site-editing, custom-colors, custom-logo, featured-images, wide-blocks, blog
*/

/* Core styles are defined in theme.json. Theme-specific component styles follow. */

:root {
	--bdn-shadow-sm: 0 10px 30px rgba(20, 42, 32, 0.08);
	--bdn-shadow-lg: 0 22px 60px rgba(20, 42, 32, 0.16);
	--bdn-border: 1px solid rgba(28, 58, 43, 0.12);
}

html {
	scroll-behavior: smooth;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest-950);
}

a,
button,
input,
select,
textarea {
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.wp-site-blocks {
	overflow: clip;
}

.bdn-topbar {
	font-size: 0.8125rem;
	letter-spacing: 0.035em;
}

.bdn-site-header {
	position: relative;
	z-index: 20;
	box-shadow: 0 1px 0 rgba(28, 58, 43, 0.08);
}

.bdn-site-header .wp-block-site-title {
	line-height: 1;
}

.bdn-site-header .wp-block-site-title a {
	text-decoration: none;
}


.bdn-brand-lockup {
	flex-shrink: 0;
}

.bdn-brand-lockup figure {
	margin: 0;
	line-height: 0;
}

.bdn-wordmark,
.bdn-footer-wordmark {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.25rem, 2vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.035em;
	line-height: 1;
	white-space: nowrap;
}

.bdn-wordmark a {
	color: var(--wp--preset--color--forest);
	text-decoration: none;
}

.bdn-wordmark strong,
.bdn-footer-wordmark strong {
	color: var(--wp--preset--color--gold-dark);
	font-weight: 700;
}

.bdn-footer-wordmark {
	color: var(--wp--preset--color--cream);
}

.bdn-site-header .wp-block-navigation-item__content {
	text-underline-offset: 0.3em;
}

.bdn-site-header .current-menu-item > .wp-block-navigation-item__content,
.bdn-site-header .current-menu-ancestor > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--gold-dark);
}

.bdn-hero {
	position: relative;
	isolation: isolate;
}


.bdn-hero--editorial::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(12, 36, 26, 0.98) 0%, rgba(12, 36, 26, 0.92) 35%, rgba(12, 36, 26, 0.48) 58%, rgba(12, 36, 26, 0.04) 82%);
	z-index: 1;
	pointer-events: none;
}

.bdn-hero--editorial .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

.bdn-hero-content {
	margin-left: 0 !important;
}

.bdn-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 7rem;
	background: linear-gradient(to bottom, transparent, rgba(20, 42, 32, 0.42));
	z-index: -1;
	pointer-events: none;
}

.bdn-kicker {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: 700;
}

.bdn-hero-title {
	max-width: 12ch;
	text-wrap: balance;
}

.bdn-hero-copy {
	max-width: 42rem;
}

.bdn-hero .wp-block-button__link {
	min-width: 12rem;
	text-align: center;
}


.bdn-hero-secondary-link a {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	text-underline-offset: 0.25em;
}

.bdn-hero-secondary-link a:hover {
	text-decoration: underline;
}

.bdn-trust-lockup {
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
}

.bdn-trust-lockup > .wp-block-group {
	min-width: 0;
}

.bdn-trust-lockup h3 {
	margin: 0;
	white-space: nowrap;
	font-size: clamp(1.05rem, 1.4vw, 1.5rem);
	line-height: 1.1;
}

.bdn-trust-lockup p {
	margin: 0;
}

.bdn-trust-lockup figure {
	flex: 0 0 auto;
	margin: 0;
}

.bdn-trustbar {
	position: relative;
	z-index: 4;
	margin-top: -1.75rem !important;
	box-shadow: var(--bdn-shadow-lg);
}

.bdn-trust-item {
	min-height: 100%;
}

.bdn-trust-item + .bdn-trust-item {
	border-left: 1px solid rgba(28, 58, 43, 0.12);
}

.bdn-section-title {
	text-wrap: balance;
}

.bdn-media-frame {
	position: relative;
}

.bdn-media-frame::before {
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: var(--wp--preset--border-radius--medium);
	z-index: -1;
}

.bdn-media-frame img {
	display: block;
	width: 100%;
	box-shadow: var(--bdn-shadow-lg);
}

.bdn-card {
	height: 100%;
	overflow: hidden;
	border: var(--bdn-border);
	box-shadow: var(--bdn-shadow-sm);
}

.bdn-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--bdn-shadow-lg);
}

.bdn-card figure,
.bdn-card figure img {
	width: 100%;
}

.bdn-card figure img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bdn-card .bdn-card-body {
	min-height: 15rem;
}

.bdn-card-link {
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.bdn-feature-panel {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.bdn-feature-panel::before {
	content: "";
	position: absolute;
	width: 32rem;
	height: 32rem;
	border: 1px solid rgba(200, 155, 60, 0.25);
	border-radius: 50%;
	right: -14rem;
	top: -18rem;
	z-index: -1;
}

.bdn-feature-list {
	list-style: none;
	padding: 0;
}

.bdn-feature-list li {
	position: relative;
	padding-left: 1.7rem;
	margin-block: 0.65rem;
}

.bdn-feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.62rem;
	height: 0.62rem;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.14);
}


.bdn-pillar-card {
	height: 100%;
	border: var(--bdn-border);
	box-shadow: var(--bdn-shadow-sm);
}

.bdn-pillar-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bdn-shadow-lg);
}

.bdn-pillar-number {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 1.2rem;
}

.bdn-whisky-guide img {
	box-shadow: var(--bdn-shadow-lg);
}

.bdn-experience {
	border-top: 1px solid rgba(28, 58, 43, 0.1);
	border-bottom: 1px solid rgba(28, 58, 43, 0.1);
}

.bdn-step-number {
	width: 3.2rem;
	height: 3.2rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 50%;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.45rem;
	font-weight: 700;
}

.bdn-testimonial {
	position: relative;
}

.bdn-testimonial::before {
	content: "“";
	position: absolute;
	left: 1.2rem;
	top: -1.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 7rem;
	line-height: 1;
	color: rgba(200, 155, 60, 0.22);
}

.bdn-query-card {
	height: 100%;
	overflow: hidden;
	border: var(--bdn-border);
	box-shadow: var(--bdn-shadow-sm);
}

.bdn-query-card .wp-block-post-featured-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.bdn-query-card .wp-block-post-title a {
	text-decoration: none;
}

.bdn-query-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--gold-dark);
}

.bdn-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.bdn-cta::before,
.bdn-cta::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(200, 155, 60, 0.28);
	border-radius: 50%;
	z-index: -1;
}

.bdn-cta::before {
	width: 24rem;
	height: 24rem;
	left: -12rem;
	top: -13rem;
}

.bdn-cta::after {
	width: 16rem;
	height: 16rem;
	right: -8rem;
	bottom: -10rem;
}

.bdn-contact-form {
	display: grid;
	gap: 1rem;
}

.bdn-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.bdn-field {
	display: grid;
	gap: 0.45rem;
}

.bdn-field--full {
	grid-column: 1 / -1;
}

.bdn-field label,
.bdn-consent label {
	font-weight: 650;
}

.bdn-field input,
.bdn-field select,
.bdn-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(28, 58, 43, 0.22);
	border-radius: 0.35rem;
	background: #fff;
	color: var(--wp--preset--color--forest-950);
	font: inherit;
}

.bdn-field textarea {
	min-height: 9rem;
	resize: vertical;
}

.bdn-field input:focus,
.bdn-field select:focus,
.bdn-field textarea:focus {
	border-color: var(--wp--preset--color--gold-dark);
	box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.13);
}

.bdn-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.bdn-consent input {
	margin-top: 0.3rem;
}

.bdn-form-submit {
	appearance: none;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 999px;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest-950);
	cursor: pointer;
	font: inherit;
	font-weight: 750;
	padding: 0.8rem 1.35rem;
}

.bdn-form-submit:hover {
	background: var(--wp--preset--color--gold-dark);
	border-color: var(--wp--preset--color--gold-dark);
	color: var(--wp--preset--color--cream);
	transform: translateY(-1px);
}

.bdn-form-notice {
	padding: 0.9rem 1rem;
	border-radius: 0.35rem;
}

.bdn-form-notice--success {
	background: #e6f4ea;
	border: 1px solid #8bc49a;
	color: #174f2c;
}

.bdn-form-notice--error {
	background: #fae9e6;
	border: 1px solid #d99a8f;
	color: #78281f;
}

.bdn-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.bdn-footer a {
	color: var(--wp--preset--color--gold);
	text-decoration-color: rgba(200, 155, 60, 0.55);
	text-underline-offset: 0.25em;
}

.bdn-footer a:visited {
	color: var(--wp--preset--color--gold);
}

.bdn-footer a:hover {
	color: var(--wp--preset--color--cream);
}

.bdn-legal-note {
	font-size: 0.8125rem;
	opacity: 0.8;
}


@media (max-width: 1200px) {
	.bdn-trust-lockup {
		flex-direction: column;
		text-align: center;
	}

	.bdn-trust-lockup h3 {
		font-size: 1.2rem;
	}
}

@media (max-width: 900px) {
	
.bdn-hero-secondary-link a {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	text-underline-offset: 0.25em;
}

.bdn-hero-secondary-link a:hover {
	text-decoration: underline;
}

.bdn-trust-lockup {
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
}

.bdn-trust-lockup > .wp-block-group {
	min-width: 0;
}

.bdn-trust-lockup h3 {
	margin: 0;
	white-space: nowrap;
	font-size: clamp(1.05rem, 1.4vw, 1.5rem);
	line-height: 1.1;
}

.bdn-trust-lockup p {
	margin: 0;
}

.bdn-trust-lockup figure {
	flex: 0 0 auto;
	margin: 0;
}

.bdn-trustbar {
		margin-top: 0 !important;
	}

	.bdn-trust-item + .bdn-trust-item {
		border-left: 0;
		border-top: 1px solid rgba(28, 58, 43, 0.12);
	}

	.bdn-media-frame::before {
		inset: 0.8rem -0.8rem -0.8rem 0.8rem;
	}
}

@media (max-width: 700px) {
	.bdn-topbar .bdn-topbar-secondary {
		display: none;
	}

	.bdn-hero-title {
		max-width: 100%;
	}

	.bdn-hero .wp-block-buttons,
	.bdn-hero .wp-block-button,
	.bdn-hero .wp-block-button__link {
		width: 100%;
	}


	.bdn-brand-lockup .wp-block-image {
		display: none;
	}

	.bdn-wordmark {
		font-size: 1.2rem;
	}

	.bdn-hero--editorial::before {
		background: linear-gradient(90deg, rgba(12, 36, 26, 0.97) 0%, rgba(12, 36, 26, 0.88) 68%, rgba(12, 36, 26, 0.56) 100%);
	}

	.bdn-experience .wp-block-buttons,
	.bdn-experience .wp-block-button,
	.bdn-experience .wp-block-button__link {
		width: 100%;
	}

	.bdn-form-grid {
		grid-template-columns: 1fr;
	}

	.bdn-field--full {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Editor-selectable block styles. */
.wp-block-group.is-style-bdn-card {
	border: var(--bdn-border);
	border-radius: var(--wp--preset--border-radius--medium);
	box-shadow: var(--bdn-shadow-sm);
	padding: var(--wp--preset--spacing--50);
}

.wp-block-button.is-style-bdn-outline .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	color: var(--wp--preset--color--gold);
}

.wp-block-button.is-style-bdn-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest-950);
}

@media (max-width: 781px) {
	.bdn-hero--editorial::before {
		background: linear-gradient(90deg, rgba(12, 36, 26, 0.96) 0%, rgba(12, 36, 26, 0.82) 70%, rgba(12, 36, 26, 0.38) 100%);
	}

	.bdn-trust-lockup {
		justify-content: flex-start;
	}
}


/* Version 1.3: persönliche Erzählweise und sichtbarer Tasting-Bereich. */
.bdn-personal-tasting {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.bdn-personal-tasting::after {
	content: "";
	position: absolute;
	width: 26rem;
	height: 26rem;
	right: -12rem;
	bottom: -15rem;
	border: 1px solid rgba(200, 155, 60, 0.24);
	border-radius: 50%;
	z-index: -1;
}

.bdn-story-card {
	height: 100%;
	border: var(--bdn-border);
	box-shadow: var(--bdn-shadow-sm);
}

.bdn-story-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bdn-shadow-lg);
}

.bdn-about-actions .wp-block-button__link {
	min-width: 12rem;
	text-align: center;
}

@media (max-width: 781px) {
	.bdn-about-actions,
	.bdn-about-actions .wp-block-button,
	.bdn-about-actions .wp-block-button__link {
		width: 100%;
	}
}
