/*
  File:            css/site-ui.css
  Description:     Styles for js/site-ui.js (header "More" drop-down and navigation drawer), the static
                   reviews on the About page and the notice on the Colleague Consult page. The original
                   cookie notice is hidden because the website sets no tracking cookies.
                   Contact page video (own MP4 file instead of Vimeo).
                   Colleague Consult page: Google Calendar booking.
                   Home page logo that shrinks smoothly while scrolling (js/home-logo.js).
                   Footer: practice name, psychologist line and phone number.
                   Used by all pages.
  Website:         drchristinacortez.com
  Maintained for:  Dr Christina Cortez
  Last updated:    2026-11-21 15:59 PST
*/

/* "More" drop-down */
ul[data-ux="Dropdown"].dcc-open {
  display: block !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Navigation drawer */
[data-ux="NavigationDrawer"].dcc-open {
  transform: none !important;
  visibility: visible !important;
  overflow-y: auto !important;
}
html.dcc-drawer-open,
html.dcc-drawer-open body {
  overflow: hidden;
}
[data-ux="NavigationDrawer"] [data-ux="CloseIcon"] {
  cursor: pointer;
}

/* No tracking cookies on this website, so no cookie notice */
.widget-cookie-banner {
  display: none !important;
}

/* Reviews (About page) */
.dcc-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
  text-align: left;
}
.dcc-review {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31, 42, 42, 0.08);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dcc-review-stars {
  color: #e2a400;
  font-size: 18px;
  letter-spacing: 2px;
}
.dcc-review-title {
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  color: #1f2a2a;
}
.dcc-review-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #384646;
}
.dcc-review-name {
  margin: auto 0 0;
  font-size: 14px;
  color: #5b6b6b;
}

/* Colleague Consult notice */
.dcc-notice {
  max-width: 760px;
  margin: 40px auto;
  padding: 32px 24px;
  text-align: center;
}
.dcc-notice h2 {
  margin: 0 0 12px;
}
.dcc-notice p {
  margin: 0;
  font-size: 18px;
}
.dcc-notice h2 {
  font-family: 'Sofia', cursive;
  font-weight: 400;
  font-size: 40px;
  color: #36aea6;
}

/* Contact page map: shown only on request */
.dcc-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #e9f4f3;
  text-align: center;
  padding: 16px;
}
.dcc-map-placeholder p {
  margin: 0;
  font-size: 16px;
  color: #1f2a2a;
}
.dcc-map-button {
  background: #ffffff;
  border: 1.5px solid #4f8f8c;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  color: #1f2a2a;
}
.dcc-map-button:hover {
  background: #d8efed;
}

/* Contact page: own video file (replaces the Vimeo player) */
video[data-aid="VIDEO_IFRAME_RENDERED"] {
  object-fit: contain;
  background: #000000;
}

/* Contact page: "Get directions" button on the right side of the map, so it does not cover
   Google's address box in the top left corner of the live map */
button[data-tccl^="ux2.contact.get_directions"] {
  left: auto !important;
  right: 16px !important;
  top: 16px !important;
  z-index: 2;
  border: 2px solid #000000 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Footer (all pages): practice name, "Christina Cortez, PsyD. PSY35917" and phone number.
   Text 1pt smaller than before (21pt -> 20pt); the phone number (was 24pt) the same size;
   space between the three lines 2pt smaller (12pt -> 10pt). */
[data-aid="FOOTER_BUSINESS_NAME_RENDERED"],
[data-aid="FOOTER_ADDRESS_RENDERED"],
[data-aid="FOOTER_PHONE_RENDERED"],
[data-aid="FOOTER_PHONE_RENDERED"] a {
  font-size: 20pt !important;
  line-height: 1.5 !important;
}
[data-aid="FOOTER_BUSINESS_NAME_RENDERED"],
[data-aid="FOOTER_ADDRESS_RENDERED"] {
  margin-bottom: 10pt !important;
}

/* Colleague Consult page: Google Calendar appointment booking */
.dcc-booking {
  max-width: 1000px;
}
.dcc-booking-frame {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  margin: 8px 0 12px;
  background: #ffffff;
  border-radius: 8px;
}
.dcc-booking-link {
  font-size: 16px !important;
}
.dcc-booking-link a {
  color: #1d7f7a;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .dcc-booking { padding: 24px 8px; }
  .dcc-booking-frame { height: 900px !important; }
}

/* Home page (index.html, home.html), screens 1024px and wider: logo size, logo margins and header
   padding follow the scroll position (values set by js/home-logo.js), without delayed animations */
html[data-dcc-home-logo] [data-ux="Container"] img[data-aid="HEADER_LOGO_IMAGE_RENDERED"] {
  height: var(--dcc-logo-h, 240px) !important;
  max-height: var(--dcc-logo-h, 240px) !important;
  width: auto !important;
  max-width: none !important;
  margin-top: var(--dcc-logo-m, 0px) !important;
  margin-bottom: var(--dcc-logo-m, 0px) !important;
  transition: none !important;
}
html[data-dcc-home-logo] [data-dcc-logo-box] {
  padding-top: var(--dcc-head-pad, 24px) !important;
  padding-bottom: var(--dcc-head-pad, 24px) !important;
  transition: none !important;
}
html[data-dcc-home-logo]:not([data-dcc-logo-ready]) [data-ux="Container"] img[data-aid="HEADER_LOGO_IMAGE_RENDERED"] {
  visibility: hidden;
}
