/* Aero 10 */

/* Sidebar Right - Open */
#sidebar-right .sidebar-right__inner,
#sidebar-right .sidebar__inner,
#sidebar-right {
   display: flex;
   flex-direction: column;
   gap: 2rem;
}
#page #sidebar-right .block-content li {
   border-bottom: 1px solid var(--color-secondary-200);
   margin-bottom: 0.75rem;
   padding-bottom: 0.75rem;
}

#sidebar-right .region-sidebar-second .block {
   background-color: #fff;
   border: 1px solid #dce7ea;
   padding: 24px;
   position: relative;
}

#sidebar-right .region-sidebar-second .block::before {
   content: "";
   width: 48px;
   height: 4px;
   background: var(--color-primary);
   position: absolute;
   left: 24px;
   top: -1px;
}

#sidebar-right .block > h2 {
   color: var(--color-heading);
   font-family: var(--secondary-font-family);
   font-size: 1.5rem;
   font-style: normal;
   font-weight: 700;
   line-height: 130%;
   margin-bottom: 1.5rem !important;
}

/* Sidebar Right - Close */

/* Sidebar Right Search - Open */
#sidebar-right .region-sidebar-second-search {
   display: flex;
   flex-direction: column;
   background-color: #fff;
   border: 1px solid #dce7ea;
   padding: 24px;
   position: relative;
   gap: 1rem;
}

#sidebar-right .region-sidebar-second-search::before {
   content: "";
   width: 48px;
   height: 4px;
   background: linear-gradient(0deg, #008ca7 0%, #008ca7 100%), linear-gradient(0deg, #ea5a4f 0%, #ea5a4f 100%), #60cce4;
   position: absolute;
   left: 24px;
   top: 0;
}

#sidebar-right .region-sidebar-second-search .block {
   padding: 0;
   background-color: transparent;
}
/* Sidebar Right Search - Close */

/* Sidebar Right View - Open */

#sidebar-right .view-content .views-row {
   border-bottom: 1px solid var(--color-secondary-200);
   margin-bottom: 1rem;
   padding-bottom: 1rem;
}

#sidebar-right .view-content .views-row:last-child {
   border-bottom: none;
   margin-bottom: 0;
   padding-bottom: 0;
}

#sidebar-right .view-content .views-row a {
   display: flex;
   gap: 0.375rem;
}

#sidebar-right .view-content .views-row a::before {
   color: var(--color-primary-400);
   content: "\f054";
   font-family: "Font Awesome 7 Pro";
   font-size: 0.75rem;
   font-weight: 700;
}

/* Sidebar Right View - Close */

/* Sidebar meeting calendar - Open */

#page .meeting-calendar {
   border-bottom: 4px solid #85c4d2;
   transition: all 0.3s ease-in-out;
   will-change: transform;
}

#page .meeting-calendar:hover {
   border-color: #ea5a4f;
}

#page .meeting-calendar .inner {
   border: 1px solid #dce7ea;
   border-bottom: none;
}

#page .meeting-calendar .meeting-header {
   display: flex;
   justify-content: space-between;
   border-bottom: 1px solid #ecf3f5;
}

#page .meeting-calendar .meeting-header h4 {
   color: #121b1d;
   font-size: 16px;
   font-style: normal;
   font-weight: 700;
   line-height: 130%;
   padding: 12px 8px 14px 16px;
   margin-bottom: 0 !important;
}

#page .meeting-calendar .meeting-header img {
   width: 93px;
   height: 67px;
   object-fit: cover;
   object-position: center;
}

#page .meeting-calendar .content {
   background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 50%, rgba(236, 243, 245, 0.2) 100%);
   padding: 12px 16px 16px 16px;
}

#page .meeting-calendar .date {
   color: #121b1d;
   font-size: 14px;
   font-style: normal;
   font-weight: 600;
   line-height: 160%;
   margin-bottom: 8px !important;
}

#page .meeting-calendar .note {
   font-size: 0.875rem;
   font-weight: 500;
   margin-bottom: 0.5rem;
   color: #d73e33;
}

#page .meeting-calendar .city {
   color: #52676c;
   font-size: 14px;
   font-style: normal;
   font-weight: 500;
   line-height: 160%;
   margin-bottom: 0 !important;
}

#page .meeting-calendar .location {
   color: #52676c;
   font-size: 14px;
   font-style: normal;
   font-weight: 500;
   line-height: 160%;
   margin-bottom: 0 !important;
}

#page .meeting-calendar .controls-wrapper {
   position: relative;
}

#page .meeting-calendar .inner-controls {
   height: 0;
   overflow: hidden;
   transition: all 0.3s ease-in-out;
   position: absolute;
   bottom: 0;
   width: 100%;
   background: #fff;
   box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08);
}

#page .meeting-calendar .controls {
   display: flex;
   justify-content: space-between;
   padding: 1rem;
}

#page .meeting-calendar .controls .read-more a {
   color: #fff;
   font-family: var(--secondary-font-family);
   font-size: 14px;
   font-style: normal;
   font-weight: 500;
   line-height: 140%;
   padding: 0.3125rem 0.75rem 0.375rem 0.75rem;
   background-color: #d73e33;
}

#page .meeting-calendar .controls .read-more a:hover {
   background: var(--color-red-800);
}

#page .meeting-calendar .controls .read-more a::before {
   display: none;
}

#page .meeting-calendar .controls .flag {
   font-weight: 500;
}

/* Sidebar meeting calendar - Close */

/* Upcoming meeting - Open */

#sidebar-right .upcoming-meetings-sidebar .view-content {
   margin-bottom: 1.5rem;
}

#sidebar-right .upcoming-meetings-sidebar .view-footer a {
   align-items: center;
   box-sizing: border-box;
   border-radius: var(--border-radius);
   border: 1px solid transparent;
   cursor: pointer;
   display: inline-flex;
   font-family: var(--secondary-font-family);
   font-size: 1rem;
   font-weight: 400;
   gap: 0.5rem;
   line-height: 120%;
   margin: 0 0.25rem 0.5rem 0;
   min-height: 2.75rem;
   outline: none;
   padding: 0.625rem 1rem 0.625rem 1rem;
   position: relative;
   text-align: center;
   text-decoration: none !important;
   transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
   user-select: none;
   vertical-align: middle;
   white-space: nowrap;

   width: 100%;
   justify-content: center;
}

#sidebar-right .upcoming-meetings-sidebar .views-row {
   margin-bottom: 1rem;
   border: none;
   overflow: clip;
   padding: 0;
}

/* Cyan Button - WCAG AA: white text on darker cyan (4.5:1+ contrast) */
#page .upcoming-meetings-sidebar .view-footer a {
   background: var(--color-cyan-400); /* Much darker cyan for better contrast */
   color: var(--color-black) !important;
   /* box-shadow: var(--box-shadow); */
}

#page .upcoming-meetings-sidebar .view-footer a:hover {
   background: var(--color-cyan-600);
   box-shadow: 0 0 1rem 0 rgba(0, 96, 100, 0.25);
   color: var(--color-black) !important;
   transform: translateY(-1px);
}

/* Additional Info - Open */
#sidebar-right .initiatives-additional-info .block-content p {
   margin-bottom: 1rem !important;
}

#sidebar-right .initiatives-additional-info .block-content p:last-child {
   margin-bottom: 0 !important;
}

/* Additional Info - Close */

/* Initiatives Search Page- Open */

#page .initiatives-search-form.page {
   margin-bottom: 2rem;
}

#page .initiatives-search-form.page > h2 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
}

/* Initiatives search form */
.initiatives-search-form .form--inline {
   display: flex;
   gap: 0.5rem;
   align-items: center;
}

.initiatives-search-form .form--inline::after {
   display: none;
}

.initiatives-search-form .form--inline .form-item {
   margin-bottom: 0;
}

.initiatives-search-form .form--inline .form-item label {
   display: none;
}

.initiatives-search-form .form--inline .form-actions input[type="submit"] {
   /* height: 100%; */
}

.initiatives-search-form .form--inline input[type="submit"] {
   color: #fff;
   font-size: 1.125rem;
   font-style: normal;
   font-weight: 500;
   line-height: 160%;
   padding: 0.5rem 2.75rem 0.625rem 1rem;
   padding: 0.5rem 0.625rem;
   background-color: #008099;
   background-image: url("/themes/custom/aero10/images/icons/search-white.svg");
   background-repeat: no-repeat;
   background-position: right 14px center;
   background-size: 20px;
   width: 50px;
}

.initiatives-search-form .form--inline input[type="submit"]:hover {
   color: #fff;
   background-color: #d73e33;
}

.initiatives-search-form .form--inline input[type="text"] {
   /* padding: 0.625rem 0.625rem 0.625rem 2.25rem;
   background-image: url("/themes/custom/aero10/images/icons/search-blue.svg");
   background-repeat: no-repeat;
   background-position: 0.625rem 0.875rem;
   background-size: 1.25rem; */
}

/* Initiatives Search Page - Close */

/* Initiatives Search Sidebar Right - Open */

#sidebar-right .region-sidebar-second-search form {
   margin-bottom: 0;
}

#sidebar-right .initiatives-search-form.sidebar-right .form--inline .form-actions {
   /* display: none; */
}

/* Initiatives Search Sidebar Right - Close */

/* Advanced Search - Open */

#sidebar-right .advanced-button {
   display: flex;
   color: #008099;
   align-items: center;
   gap: 6px;
   padding: 0;
   font-weight: 500;
}

#sidebar-right .advanced-button:hover {
   color: #d73e33;
}

#sidebar-right .advanced-button::before {
   font-family: "Font Awesome 7 Pro";
   content: "\f1de";
}

#sidebar-right .advanced-filters {
   overflow: hidden;
   max-height: 0;
   opacity: 0;
   visibility: hidden;
   transition:
      max-height 300ms ease,
      opacity 200ms ease,
      visibility 0ms linear 300ms;
}

#sidebar-right .advanced-filters.is-open {
   opacity: 1;
   visibility: visible;
   transition:
      max-height 300ms ease,
      opacity 200ms ease,
      visibility 0ms linear 0ms;
}

#sidebar-right .advanced-filters .status-facets > h2 {
   color: #000;
   font-size: 1rem;
   font-style: normal;
   font-weight: 700;
   line-height: 160%;
   margin-bottom: 0.5rem !important;
}

#sidebar-right .advanced-filters .status-facets .form--inline fieldset {
   border: none;
   padding: 0;
   width: 100%;
}

#sidebar-right .advanced-filters .status-facets .form--inline fieldset legend {
   display: none;
}

#sidebar-right .advanced-filters .status-facets .form--inline .form-actions {
   display: none;
}

/* committees sigs */

#sidebar-right .advanced-filters .status-facets.committee-sig > h2 {
   font-size: 1.125rem;
}

#sidebar-right .advanced-filters .status-facets.committee-sig .form--inline fieldset {
   border: none;
   padding: 0;
   width: 100%;
}

#sidebar-right .advanced-filters .status-facets.committee-sig .form--inline fieldset legend {
   display: block;
   padding: 0;
   margin-bottom: 0.5rem;
}

/* Container (collapsed by default) */

/*----- BLOG TAGS - Open -----*/
#sidebar-right .sidebar__blog--tags .view-content .views-summary {
   display: flex;
   flex-wrap: wrap;
   gap: 0.125rem 1.25rem;
}
#sidebar-right .sidebar__blog--tags .view-content .views-summary li {
   border-bottom: 1px solid var(--color-secondary-200);
   display: flex;
   flex-wrap: nowrap;
   gap: 0.25rem;
   margin: 0;
   padding: 0.75rem 0;
}
#sidebar-right .sidebar__blog--tags .view-content .views-summary li a {
   font-weight: 500;
}
#sidebar-right .sidebar__blog--tags .view-content .views-summary li::before,
#sidebar-right .sidebar__blog--tags .view-content .views-summary li a::before {
   display: none;
}
/*----- BLOG TAGS - Close -----*/

/*----- BLOG ARCHIVE - Open -----*/
#sidebar-right .sidebar__blog--archive .view-content {
   display: grid;
   gap: 0.125rem 0rem;
   grid-template-columns: repeat(3, 1fr);
}
#sidebar-right .sidebar__blog--archive .view-content .views-row {
   border-bottom: 1px solid var(--color-secondary-200);
   display: flex;
   flex-wrap: nowrap;
   gap: 0.25rem;
   margin: 0;
   padding: 0.75rem 0;
}
#sidebar-right .sidebar__blog--archive .view-content .views-row a {
   font-weight: 500;
}
#sidebar-right .sidebar__blog--archive .view-content .views-row a::before {
   display: none;
}
/*----- BLOG ARCHIVE - Close -----*/

/*----- BUTTON TOGGLE - Open -----*/
#sidebar-right .sidebar-block__toggle {
   background-color: var(--color-primary-200);
   border-radius: 0.25rem;
   color: var(--color-heading);
   display: inline-flex;
   font-size: 0.8125rem;
   font-weight: 600;
   margin-top: 1.25rem;
   padding: 0.5rem 0.75rem;
   text-transform: uppercase;
   transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
   line-height: 140%;
}
#sidebar-right .sidebar-block__toggle:hover {
   background-color: var(--color-primary-300);
   color: var(--color-heading);
}
/*----- BUTTON TOGGLE - Close -----*/

/*----- IMPORTANT LINKS - Open -----*/
#sidebar-right #important-links {
   background: #ecfcff;
   background: linear-gradient(150deg, #fff 10%, #ecfcff 40%);
   border-color: #a1ddea;
}
#sidebar-right #important-links::before {
   background-color: var(--color-tertiary);
}

#sidebar-right #important-links ul {
   margin: 0 !important;
}

#sidebar-right #important-links ul li {
   padding: 0 0 0.75rem 0;
}

#sidebar-right #important-links li:last-child {
   border-bottom: none;
}
#sidebar-right #important-links li::before {
   display: none;
}

#sidebar-right #important-links li a {
   color: var(--color-black);
   display: block;
   padding-left: 1.625rem;
   position: relative;
}
#sidebar-right #important-links li a::before {
   color: var(--color-primary-400);
   content: "\f138";
   font-family: "Font Awesome 7 Pro";
   font-size: 1.125rem;
   font-weight: 400;
   left: 0px;
   margin-right: 0.5rem;
   position: absolute;
   top: 0px;
   transition: all 250ms ease-out;
}
#sidebar-right #important-links li a:hover {
   color: var(--color-element-link-hover);
}
#sidebar-right #important-links li a:hover::before {
   color: var(--color-element-link-hover);
   transform: translateX(0.125rem);
}
/*----- IMPORTANT LINKS - Close -----*/
