.BaseMaster_logoContainer {
    padding-top: 7px;
}

.CHBlock_container {
  font-family: Gibson !important;
}

.CHBlock_container h1, .CHBlock_richTextContent h1 {
  font-size: 48px !important;
  font-family: Gibson !important;
}

.CHHeroBlock_contentContainer {
  width: 620px !important;

}

p {
  font-size: 1.2em;
  font-family: Gibson !important;
}

#wrapper {
  margin-left: auto;
  margin-right: auto;
  padding-top: 1%;
  padding-bottom: 1.5%;
  display: grid;
  grid-template-columns: 78% 22%;
  grid-auto-rows: minmax(200px, auto);
  grid-gap: 10px 20px;
  width: 1080px;
}

#wrapper-externals {
  margin-left: auto;
  margin-right: auto;
  padding-top: 1%;
  padding-bottom: 1%;
  display: grid;
  grid-template-columns: 32% 32% 32%;
  grid-auto-rows: 150px;
  grid-gap: 20px;
  width: 1080px;
}


.block-externals {
  background-color: #ffffff;
  border-radius: 10px;
  padding-left: 25px;
  padding-right: 10px;
  padding-top: 10px; 
  margin-top: 10px; 
  line-height:1.3;
  /*border-bottom: solid #696969;*/
}

.bigger {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.block {
  background-color: white;
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px; 
  margin-top: 10px;
  padding-bottom:20px;
  line-height: 0.4;
}

.news {
  background-color: #f3f3f3;
  border-radius: 10px;
  padding: 5px;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 0px;
  line-height: 1.1;
}

/* Chat Widget Container */
        #chat-widget {
            position: fixed;
            bottom: 6rem; /* equivalent to bottom-24 */
            right: 1.5rem; /* equivalent to right-6 */
            width: 380px;
            height: 600px;
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            z-index: 50;
            border: 1px solid #e5e7eb;
            
            /* Animation properties */
            transition: all 0.3s ease-in-out;
            transform-origin: bottom right;
        }

        /* Visibility States */
        .chat-hidden {
            opacity: 0;
            transform: scale(0.9) translateY(20px);
            pointer-events: none;
        }

        .chat-visible {
            opacity: 1;
            transform: scale(1) translateY(0);
            pointer-events: all;
        }

        /* Widget Header */
        .chat-header {
            background-color: white;
            padding: 1rem;
            border-bottom: 1px solid #f3f4f6;
            border-top: 4px solid #00326e; /* BV Blue */
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .chat-header h2 {
            font-size: 1.125rem;
            font-weight: 700;
            color: #1f2937;
            margin: 0;
        }

        .close-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: #9ca3af;
            padding: 0.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s;
        }

        .close-btn:hover {
            color: #4b5563;
        }

        /* Iframe Area */
        .iframe-container {
            flex: 1;
            position: relative;
            background-color: #f9fafb;
        }

        /* Loading Spinner */
        .spinner-container {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            z-index: 0;
        }

        .spinner {
            width: 30px;
            height: 30px;
            border: 3px solid #d1d5db;
            border-top: 3px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        iframe {
            width: 100%;
            height: 100%;
            border: none;
            position: relative;
            z-index: 10;
        }

        /* Trigger Button */
        .trigger-container {
            position: fixed;
            bottom: 1.5rem; /* right-6 */
            right: 1.5rem;
            z-index: 50;
        }

        #chat-trigger {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            transition: transform 0.1s ease;
            display: block;
            width: auto;
            height: auto;
            box-shadow: none;
            outline: none;
        }

        #chat-trigger img {
            width: 60px; /* Standard size for floating action buttons */
            height: 60px;
            display: block;
            /* Optional: subtle shadow for visibility against white backgrounds */
            filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
        }

        #chat-trigger:hover {
            transform: scale(1.05);
        }

        #chat-trigger:active {
            transform: scale(0.95);
        }

.CHBlock_richTextContent, .CHBlock_container * {font-family: -apple-system, Helvetica, Arial, sans-serif;}