body {
    background-color: #e9e9e9;
    margin: 0;
    font-family: "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #222;
    font-size: x-large;
}

.post-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.post-layout.what-the-text {
  gap: 5rem;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  flex-direction: row;
  margin-block-start: 5rem;
}

.sidebar-column {
  width: 20rem;
  min-width: 18rem;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-card {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.1rem;
  box-shadow: var(--md-shadow);
  transition: var(--md-transition);
}

.sidebar-card__title {
  margin: 0 0 0.6rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.01em;
}

.wrapper-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    position: relative;
    padding-bottom: 6rem;
    max-width: 90vw;
}

.what-the-image .wp-block-post-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    width: 100%;
    position: relative;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-block-start: 0 !important;

}

.what-the-text .post-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 32px;
    color: #333;
    min-width: 40vw;
    max-width: min-content;
    line-height: 1.7;
    z-index: 10;
}

/* 🖼️ PHOTO CARD */
.gallery-wrapper > figure {
    max-height: 100vh;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 0;
    flex-shrink: 0;
	width: fit-content;
}
.gallery-wrapper > figure img {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    display: block; 
    margin: 0 auto;
    min-width: 35vw;
}

.gallery-wrapper > figure video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block; 
    margin: 0 auto;
}

/* 🧩 TEXT Card CONTAINER */
.what-the-image .wp-block-post-content p {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 32px;
    color: #333;
    min-width: 35vw;
    max-width: min-content;
    line-height: 1.7;
    z-index: 10;
    margin: 0 0 24px 0;
    margin-block-start: 0;
}


/* 💬 COMMENT CARD */
.comment-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 32px;
    width: auto;
    max-width: 50vw;
    margin-bottom: 64px;
    justify-self: center;
}

.my-header-shadow {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.bbq {font-size: 10pt; color: #777;}
.bbq:hover {color:#333; text-decoration: none;}

/* 🪶 MATERIAL SHADOW TRANSITIONS */ 
.gallery-wrapper > figure, .what-the-image .wp-block-post-content p, .what-the-text .post-card, .comment-card, .my-header-shadow, .wp-block-group > figure { 
    transition: box-shadow 0.25s ease; 
} 
.gallery-wrapper > figure:hover, .what-the-image .wp-block-post-content p:hover, .what-the-text .post-card:hover, .comment-card:hover, .my-header-shadow:hover, .wp-block-group > figure:hover { 
    box-shadow: 0 6px 20px rgba(0,0,0,0.25); 
}


/* 📱 RESPONSIVE */
@media (max-width: 900px) {
    .what-the-image .wp-block-post-content {
        flex-direction: column;
        align-items: center;
    }
    .what-the-image .wp-block-post-content > figure {
        position: static;
        height: auto;
    }
    .what-the-image .wp-block-post-content p,
    .comment-card, .what-the-text .post-card {
        width: 80%;
        max-width: none;
    }
    .wrapper-wrapper {
        flex-direction: column-reverse;
        align-items: center;
    }

    .what-the-image .wp-block-post-content > .gallery-wrapper {
        position: static;
    }
    .timeline-controls {
        flex-direction: column;
    }
	.post-layout.what-the-text {
		align-items: center;
		flex-direction: column;
	}
}

html {
    scroll-behavior: smooth;
}

.wp-block-group > .wp-block-image {
    margin-block-start: 1rem;
}
.wp-block-group > .wp-block-image img {
    min-width: 35vw;
}


/* --- CONTAINER LAYOUT --- */
.timeline-controls {
    display: flex;
    width: 70vw;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 60px;
}

.back-to-top {
  background: linear-gradient(135deg, #3bb1c0 0%, #3700b3 100%);
  padding: 12px 24px !important;
  z-index: 1000;
}

.map-button {
  position: fixed !important;
  right: 0;
  bottom: 10vh;
  width: 96px;
  height: 96px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(50%);
  transition: transform .18s ease, box-shadow .18s ease;
  z-index: 9999;
  pointer-events: auto;
}
.map-button:hover {
  transform: translateX(0);
}
.map-button-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #b0b0b0;
  stroke-width: 1.4px;
  transition: stroke .15s, transform .18s;
  transform: translateX(-8px);
  pointer-events: none;
  padding-top: 2px;
}
.map-button:hover .map-button-icon svg {
  transform: translateX(0px) scale(1.03);
  stroke: #6b6b6b;
}


/* ===== CSS VARIABLES FOR CONSISTENT THEME ===== */
:root {
  --md-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  --md-shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.25);
  --md-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Material Design Circular Button */
.md-btn-circle {
  border: 0;
  background: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--md-transition);
  box-shadow: var(--md-shadow);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.md-btn-circle:hover { 
    box-shadow: var(--md-shadow-hover);
    transform: translateY(-1px);
}

.md-btn-circle:active {
    transform: scale(0.92);
    transition: transform 0.1s ease;
}

.md-btn-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #287160;
    color: white;
    font-size: 14px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
    cursor: default;
}

/* Material Design Flat Button */
.md-btn-flat {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 9999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--md-transition);
  box-shadow: var(--md-shadow);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.md-btn-flat:hover {
    box-shadow: var(--md-shadow-hover);
    transform: translateY(-1px);
}

.md-btn-flat:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

/* Ripple Effect Base */
.md-btn-ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgb(77, 149, 197) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.md-btn-ripple:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

.my-header {
    border-bottom-color:rgba(0,0,0,0.08);
    border-bottom-width:1px;
    padding-top:5vh;
    padding-bottom:5vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center; 
    background-color: white;
}

.my-tiny-head {
    border-bottom-color:rgba(0,0,0,0.08);
    border-bottom-width:1px;
    padding-top:1vh;
    padding-bottom:1vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center; 
    background-color: white;
}

.my-foot {
    border-top-color:rgba(0,0,0,0.08); 
    border-top-width:1px; 
    padding:1.2rem; 
    overflow: hidden; 
    background-color:white; 
    display:flex; 
    flex-direction:row; 
    justify-content:space-around; 
    align-items:center;
}