/*
 Theme Name:   Sund Kapital
 Theme URI:    https://bricksbuilder.io/
 Description:  Sund Kapital extend Bricks.
 Author:       Patrick Jarnfelt
 Author URI:   https://jarnfelt.dk
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/
@import url(https://fonts.bunny.net/css?family=lora:400,500,600,700|work-sans:300,300i,400,400i,500,600,700);

/* Override plugin variables */
:root {
  --tec-border-radius-default: 20px !important;
  --tec-color-text-primary: var(--color-black) !important;
  --tec-color-accent-primary: var(--color-primary) !important;
  --tec-color-accent-secondary: var(--color-secondary) !important;
  --tec-color-accent-primary-active: var(--color-primary) !important;
  --tec-color-accent-secondary-active: var(--color-secondary) !important;
  --tec-color-accent-primary-hover: #ff8c69 !important;
  --tec-color-accent-secondary-hover: var(--color-secondary) !important;
  --tec-font-family-sans-serif: "Work Sans", sans-serif !important;
  --tec-font-family-serif: "Lora", serif !important;
  --tec-font-weight-bold: 600 !important;
  --transform-pressed: scale(0.98);
}
body {
  /* letter-spacing: -5%; */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", serif;
}
.text-secondary a {
  color: var(--color-secondary);
}
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
  color: #ffffff !important;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.clickable-card__link {
  color: inherit;
  text-decoration: none;
  opacity: 0;
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}
* {
  box-sizing: border-box;
}

.container {
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  gap: 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brxe-section {
  overflow-x: hidden;
}
/* The REAL modern approach */
.grid-container {
  display: grid;
  /* Let the columns wrap automatically! */
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  /* This is the magic part */
  grid-auto-rows: 100px; /* Set a height for auto-generated rows */
  grid-template-rows: 100px; /* Explicitly define the FIRST row's height */
  gap: 1rem;
}

/* And constrain the container's height to only allow two rows */
.grid-wrapper {
  /* Max height = 2 * row height + 1 * gap */
  max-height: 224px; /* 2*100px + 1*16px */
  overflow-y: hidden; /* Hide any items that would form a 3rd row */
  overflow-x: auto; /* Allow horizontal scrolling if needed */
}
.sund-mega-list ol,
ol.sund-mega-list {
  margin-left: 0;
  counter-reset: listItem;
  margin-bottom: 2.7em;
}

ol.sund-mega-list > li {
  list-style: none;
  position: relative;
  margin-left: 2em;
  margin-bottom: 2em;
  padding-left: 1em;
  min-height: 2em;
}

.sund-mega-list ol > li:before,
ol.sund-mega-list > li:before {
  position: absolute;
  color: var(--color-blood);
  font-family: var(--font-heading);
  counter-increment: listItem;
  content: counter(listItem);
  font-size: 2.2em;
  text-align: center;
  top: 0.2em;
  left: -1.5em;
  width: 2em;
}

.wp-block-heading {
  margin-top: 0;
  margin-bottom: 0.7em;
}
.brxe-post-content :where(p) {
  margin-top: 0;
}

.animate__staggered > :nth-child(1) {
  animation-delay: 0ms;
}
.animate__staggered > :nth-child(2) {
  animation-delay: 100ms;
}
.animate__staggered > :nth-child(3) {
  animation-delay: 200ms;
}
.animate__staggered > :nth-child(4) {
  animation-delay: 300ms;
}
.animate__staggered > :nth-child(5) {
  animation-delay: 400ms;
}
.animate__staggered > :nth-child(6) {
  animation-delay: 500ms;
}
.animate__staggered > :nth-child(7) {
  animation-delay: 600ms;
}
.animate__staggered > :nth-child(8) {
  animation-delay: 700ms;
}
.animate__staggered > :nth-child(9) {
  animation-delay: 800ms;
}
.animate__staggered > :nth-child(10) {
  animation-delay: 900ms;
}

.tribe-events-c-subscribe-dropdown__button,
.tribe-events-c-subscribe-dropdown__button button {
  background-color: var(--color-gallery);
}
.tribe-events-c-subscribe-dropdown__button {
  border-radius: 14px;
  color: var(--color-black);
}

.wp-block-verse {
  font-style: normal;
  color: var(--color-dark-gray);
  background-color: transparent;
  padding: 0;
  font-size: 22px;
  line-height: 1.6;
  font-family: "Work sans";
}
#brx-content .event-tickets .tribe-tickets__rsvp-wrapper {
  max-width: inherit;
  margin: 0 auto;
}
#brx-content .tribe-tickets__rsvp-wrapper {
  margin: 0;
  padding: 20px;
  border: none !important;
}
#brx-content .tribe-tickets__rsvp-ar {
  padding: 0;
}
#brx-content .tribe-tickets__rsvp-ar-form-wrapper {
  width: 100% !important;
  background: none;
}
#brx-content .event-tickets .tribe-tickets__rsvp {
  padding: var(--tec-spacer-1) var(--tec-grid-gutter-small-half);
}
#brx-content
  .tribe-tickets__rsvp-description.tribe-common-h6.tribe-common-h--alt.tribe-common-b3--min-medium {
  font-size: var(--text-lg);
}
.tribe-tickets__rsvp-form-button.tribe-tickets__rsvp-form-button--cancel {
  background-color: var(--color-light-gray);
  color: var(--color-black);
}
.tribe-common-c-btn.tribe-tickets__rsvp-form-button {
  background-color: var(--color-primary);
  border-radius: 14px;
}

.tribe-common-c-btn.tribe-tickets__rsvp-actions-button-going {
  background-color: var(--color-primary);
  border-radius: 14px;
  color: var(--color-white);
}

.tribe-block__venue__map > div {
  width: 100% !important;
}
.tribe-block__venue {
  width: 100% !important;
  max-width: 100% !important;
}
.tribe-tickets__rsvp-form-wrapper {
  border: none !important;
  padding: 0 !important;
}

/* Organizer Shortcode Styling */
.tribe-event-organizer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tribe-event-organizer .organizer-image {
  margin-bottom: 0.5rem;
}

.tribe-event-organizer .organizer-image img {
  width: 150px;
  height: 150px;
  border-radius: 100px;
  object-fit: cover;
}

.tribe-event-organizer .organizer-name {
  font-family: "Lora", serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.tribe-event-organizer .organizer-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--color-dark-gray, #333);
  margin-bottom: 1rem;
}

.tribe-event-organizer .organizer-email,
.tribe-event-organizer .organizer-phone,
.tribe-event-organizer .organizer-website {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-dark-gray, #555);
}

.tribe-event-organizer .organizer-email a,
.tribe-event-organizer .organizer-phone a,
.tribe-event-organizer .organizer-website a {
  color: var(--color-primary, #007bff);
  text-decoration: none;
}

.tribe-event-organizer .organizer-email a:hover,
.tribe-event-organizer .organizer-phone a:hover,
.tribe-event-organizer .organizer-website a:hover {
  text-decoration: underline;
}
.tribe-common-h5 {
  font-size: large;
}
.tribe-common-c-btn.tribe-tickets__rsvp-form-button {
  padding: 12px 24px;
  color: white;
  font-weight: 600;
}
.tribe-common-c-btn.tribe-tickets__rsvp-actions-button-going {
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  text-align: center;
}
.tribe-common.tribe-events {
  max-width: 100%;
}
.tribe-common.event-tickets {
  display: flex;
  justify-content: center;
}
.tribe-events-c-subscribe-dropdown__container {
  max-width: 300px;
}
.post-0 {
  margin: 0 auto;
}

.bg-gradient-seashell {
  background:
    linear-gradient(to right bottom, var(--color-seashell) 0%, white 100%),
    linear-gradient(white, white);
}
.bg-gradient-seashell-bottom-right {
  background:
    linear-gradient(to right bottom, white 0%, var(--color-seashell) 100%),
    linear-gradient(var(--color-seashell), var(--color-seashell));
}

/* Organizer Card Container - add this class to your wrapper if needed */
.sund-event__organizer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

/* Circular Image */
.sund-event__organizer-image {
  width: 120px;
  height: 120px;
  margin-bottom: 8px;
}

.sund-event__organizer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Name */
.sund-event__organizer-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Title/Role */
.sund-event__organizer-title {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

/* Contact Links */
.sund-event__organizer-email,
.sund-event__organizer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
}

.sund-event__organizer-email a,
.sund-event__organizer-phone a {
  color: inherit;
  text-decoration: none;
}

.sund-event__organizer-email a:hover,
.sund-event__organizer-phone a:hover {
  text-decoration: underline;
}

.sund-event__organizer-email svg,
.sund-event__organizer-phone svg {
  flex-shrink: 0;
}
.tribe-common .tec-tickets-plus-waitlist-container--submit button:disabled {
  cursor: pointer;
  background-color: var(--color-light-gray) !important;
}
.single-post .brxe-post-content h1,
.single-post .brxe-post-content h2,
.single-post .brxe-post-content h3,
.single-post .brxe-post-content h4,
.single-post .brxe-post-content h5 {
  margin-top: 40px;
}
.wp-block-button__link.wp-element-button {
  background-color: var(--color-primary);
  border-radius: 14px;
  color: var(--color-white);
  font-weight: 600;
}
.btn:active {
  transform: var(--transform-pressed);
}

.dropdown-menu {
  --animate-duration: 0.3s;
}
