:root {
  --home-primary-font-family: Google Sans,Noto Sans,Noto Sans JP,Noto Sans KR,Noto Naskh Arabic,Noto Sans Thai,Noto Sans Hebrew,Noto Sans Bengali,sans-serif;

  /* Colors ================================================================= */

  /* Orange */
  --home-color-control-50: #fbefec;
  --home-color-control-200: #ffecd8;
  --home-color-control-500: #ffcbaa;

  /* Green */
  --home-color-device-50: #e2f1ea;
  --home-color-device-200: #cfebda;
  --home-color-device-500: #60c0b2;

  /* Grey */
  --home-color-grey-200: #f8f9fa;
  --home-color-grey-350: #ddd;
  --home-color-grey-700: #5f6368;
  --home-color-grey-900: #202124;

  /* Yellow */
  --home-color-media-50: #fffaf0;
  --home-color-media-200: #ffedbd;
  --home-color-media-500: #f2bd69;

  /* Blue */
  --home-color-primary-50: #eaf6f9;
  --home-color-primary-200: #cae8ef;
  --home-color-primary-500: #86c9ef;
  --home-color-primary-700: #1d7db3;
  --home-color-primary-800: #00639b;

  /* Purple */
  --home-color-tools-50: #f9e9f6;
  --home-color-tools-200: #e4c9e0;
  --home-color-tools-500: #c798d6;

  /* Links */
  --home-color-link-heading: #202124;
  --home-color-quick-link-hover: #f8f9fa;
}

@media screen and (max-width:1000px) {
  .home-cards .devsite-landing-row-inner,
  .home-core .devsite-landing-row-inner,
  .home-hero-primary .devsite-landing-row-inner,
  .home-illustrated-items .devsite-landing-row-inner,
  .home-logos .devsite-landing-row-inner,
  .home-marquee .devsite-landing-row-inner,
  .home-sidecar .devsite-landing-row-inner,
  .home-sidecar-image .devsite-landing-row-inner,
  .home-stats .devsite-landing-row-inner {
    padding: 0 24px !important;
  }
}

@media screen and (max-width:600px) {
  .home-cards .devsite-landing-row-inner,
  .home-core .devsite-landing-row-inner,
  .home-hero-primary .devsite-landing-row-inner,
  .home-illustrated-items .devsite-landing-row-inner,
  .home-logos .devsite-landing-row-inner,
  .home-marquee .devsite-landing-row-inner,
  .home-sidecar .devsite-landing-row-inner,
  .home-sidecar-image .devsite-landing-row-inner,
  .home-stats .devsite-landing-row-inner {
    padding: 0 16px !important;
  }
}

.devsite-landing-row-item.devsite-landing-row-item-centered.devsite-landing-row-item-no-media.home-item-no-border,
.devsite-landing-row-item.devsite-landing-row-item-no-media.home-item-no-border,
.devsite-landing-row-item.home-item-no-border {
  border: 0;
}

.google-symbols {
  font-variation-settings:
    'FILL' 0,
    'ROND' 50,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

/* ========================================================================== */
/* Home cards tablet/mobile styles */
/* ========================================================================== */

.home-cards .devsite-landing-row-item-buttons {
  display: block;
}

/* Needed because with a background of white, the buttons on the cards aren't
 * styled correctly. This needs to be fixed in core, but removing the background
 * of white and adding in this padding fixes the button issue. */
.home-cards .devsite-landing-row-item-description {
  padding: 40px;
}

.home-cards .devsite-landing-row-item-description-content,
.home-cards .devsite-landing-row-item-labels {
  color: var(--home-color-grey-700);
}

.home-cards-center-image .devsite-landing-row-item-media {
  align-content: center;
}

@media screen and (max-width:1000px) {
  .home-cards .devsite-landing-row-item-description-content {
    font: 400 14px / 20px var(--home-primary-font-family) !important;
  }
  .home-cards .devsite-landing-row-item-labels>span {
    display: none;
  }
  .home-cards .devsite-landing-row-item-no-media h3 {
    font: 700 24px / 32px var(--home-primary-font-family) !important;
  }
  .home-cards .devsite-landing-row-item-icon-container {
    display: none;
  }
}



/* ========================================================================== */
/* Home Core additional styles
/* ========================================================================== */

.home-core .devsite-landing-row-description {
  font: 400 16px / 24px var(--home-primary-font-family);
  color: var(--home-color-grey-700) !important;
}

.home-core .home-core-grey-text .devsite-landing-row-item-description-content,
.home-core .home-core-grey-text .devsite-landing-row-item-labels>span {
  color: var(--home-color-grey-700);
}

.home-core-fix-links .devsite-landing-row-item-body a {
  color: var(--home-color-grey-900) !important;
}

.home-core-fix-links .devsite-landing-row-item-body a:hover {
  color: var(--home-color-primary-800) !important;
  text-decoration: none;
}

/* Used to make the description look like a subheading
 * Do not move above the first home-core style in this block */
.home-core-large-description .devsite-landing-row-description {
  color: var(--home-color-grey-900) !important;
  font: 400 32px / 40px var(--home-primary-font-family) !important;
}

/* Used to make the description look like a subheading
 * Do not move above the first home-core style in this block */
.home-core-small-description .devsite-landing-row-item-description-content {
  color: var(--home-color-grey-900) !important;
  font: 400 14px / 20px var(--home-primary-font-family) !important;
}

.home-core-small h3 {
  font: 700 24px / 32px var(--home-primary-font-family) !important;
}

.home-core-smaller h3 {
  font: 700 16px / 24px var(--home-primary-font-family) !important;
}

.home-core-smaller .devsite-landing-row-item-icon-container {
  height: 36px;
  width: 36px;
}

.home-core-smaller .devsite-landing-row-item-description {
  grid-column: 1 / span 12 !important;
}

.home-core-medium-header h2 {
  font: 700 32px / 40px var(--home-primary-font-family) !important;
}

.home-core-small-header h2 {
  font: 700 24px / 32px var(--home-primary-font-family) !important;
}

.home-core-icon-margin .devsite-landing-row-item-body {
  margin: 8px 0 0 0;
}


/* ========================================================================== */
/* Adds a horizontal rule before a row
/* ========================================================================== */

.home-core-line .devsite-landing-row-group {
  border-top: 1px solid var(--home-color-primary-500);
  padding: 64px 0 0;
}

.home-core-line-grey .devsite-landing-row-group {
  border-top: 1px solid var(--home-color-grey-350);
  padding: 64px 0 0;
}

.home-core-line-cta {
  border-top: 1px solid var(--home-color-grey-350);
  padding: 64px 0;
}

/* Temp fix until CTA is updated in core */
.devsite-landing-row.devsite-landing-row-cta:not([background]) {
  background: inherit;
}



/* ========================================================================== */
/* Horizontal rule before a row, similar to home-core-line, however this class
/* should not be used with any other standard home-* class, as they have
/* tenant-level padding that will override the padding here.
/* ========================================================================== */

.home-core-line-small .devsite-landing-row-group {
  border-top: 1px solid var(--home-color-grey-350);
  padding: 32px 0 0;
}

.home-core-line-small .devsite-landing-row {
  padding: 32px 0 0 !important;
}

.home-core-line-small .devsite-landing-row-inner {
  padding: 0 64px;
}



/* ========================================================================== */
/* Background image used in the hero section for the home page. */
/* ========================================================================== */

.home-hero-primary {
  background: url(/https/developers.home.google.com/images/illo_ranr_home_hero-blue.svg) no-repeat right / cover;
}

@media screen and (max-width: 1000px) {
  .home-hero-primary {
    background: url(/https/developers.home.google.com/images/illo_ranr_home_hero_tablet.svg) no-repeat top right / cover;
    padding: 64px 225px 70px 40px;
  }
  .home-hero-primary .devsite-landing-row-group {
    display: inline;
  }
  .home-hero-primary h3 {
    font: 400 48px / 56px var(--home-primary-font-family) !important;
  }
}

@media screen and (max-width: 700px) {
  .home-hero-primary {
    background: #cae8ef url(/https/developers.home.google.com/images/illo_ranr_home_hero_mobile.svg) no-repeat top right;
    padding: 64px 36px 44px;
  }
  .home-hero-primary .devsite-landing-row-item-description-content {
    font: 400 16px / 24px var(--home-primary-font-family);
  }
  .home-hero-primary h3 {
    font: 400 40px / 48px var(--home-primary-font-family) !important;
  }
}

.home-hero-primary-padding {
  padding: 64px 0 64px 0 !important;
}


/* ========================================================================== */
/* Home Illustrated Items styles */
/* ========================================================================== */

.arrow-green {
  filter: brightness(0) saturate(100%) invert(43%) sepia(9%) saturate(1648%) hue-rotate(121deg) brightness(92%) contrast(91%);
}

.arrow-yellow {
  filter: brightness(0) saturate(100%) invert(71%) sepia(97%) saturate(247%) hue-rotate(317deg) brightness(108%) contrast(103%);
}

@media screen and (max-width: 840px) {
  .home-category-arrow {
    display: none;
  }
}

/* ========================================================================== */
/* Home Illustrated Beta styles */
/* ========================================================================== */

.home-illustrated-items-category-beta .devsite-landing-row-item-description-content {
  color: var(--home-color-grey-700) !important;
  font: 500 24px / 32px var(--home-primary-font-family) !important;
}

.home-illustrated-items-category-beta h3 {
  font: 700 40px / 48px var(--home-primary-font-family) !important;
}

.home-illustrated-items-program-beta h3 {
  font: 500 24px / 40px var(--home-primary-font-family) !important;
}


/* ========================================================================== */
/* iframe styles
 * This removes the padding around the iframe so it aligns with other rows
 * outside of it.  */
/* ========================================================================== */

section.devsite-landing-row.devsite-landing-row-1-up.devsite-landing-row-100.home-iframe {
  padding: 16px 16px 0;
}

section.devsite-landing-row.devsite-landing-row-1-up.devsite-landing-row-100.home-iframe-devices {
  padding: 0 0 20px;
}

.home-iframe .devsite-landing-row-inner,
section.devsite-landing-row.devsite-landing-row-1-up.devsite-landing-row-100.home-iframe-updates {
  padding: 0;
}



/* ========================================================================== */
/* Item shrinker
 *
 * Increases the top and right-side padding of an item to make it look more like
 * a specialized sidecar header/description */
/* ========================================================================== */
.home-item-shrink .devsite-landing-row-item-description {
  padding: 0 96px 0 0;
}

.home-item-shrink .devsite-landing-row-item-body {
  justify-content: center;
}

@media screen and (max-width: 600px) {
  .home-item-shrink .devsite-landing-row-item-description {
    padding: inherit;
  }
}



/* ========================================================================== */
/* List Items. Used for columns of content. */
/* ========================================================================== */

.home-list .devsite-landing-row-item-list h4 {
  font: 400 16px / 24px var(--home-primary-font-family);
}

.home-list .devsite-landing-row-item-list-item-description {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.home-list-gap-increase .devsite-landing-row-group {
  grid-gap: 48px;
}

.home-list-button-no-margin .devsite-landing-row-item-buttons {
  margin: 0;
}


/* ========================================================================== */
/* Common Link styles */
/* ========================================================================== */

.home-list-links a,
.home-sidecar-light a {
  color: var(--home-color-grey-900) !important;
}

.home-list-links a:active,
.home-list-links a:hover {
  text-decoration-color: var(--home-color-primary-200) !important;
  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-thickness: 4px !important;
  -webkit-text-decoration-color: var(--home-color-primary-200) !important;
  -webkit-text-decoration-line: underline !important;
  -webkit-text-decoration-style: solid !important;
  -webkit-text-decoration-thickness: 4px !important;
}



/* ========================================================================== */
/* List Links Items
 * Used for columns of links. For example, the Docs page */
/* ========================================================================== */

.home-list-links .devsite-landing-row-item-list h4 {
  font: 400 20px / 28px var(--home-primary-font-family);
}

.home-list-links .devsite-landing-row-item-description {
  padding: 32px;
}

.home-list-links .devsite-landing-row-item-description .devsite-landing-row-item-body h3 {
  font: 700 32px / 40px var(--home-primary-font-family);
  margin: 0 0 8px;
}

.devsite-landing-row-column>.home-list-links:nth-of-type(n+2),
.home-list-links .devsite-landing-row-item-list-item {
  margin: 16px 0 0;
}

.home-list-links {
  border-radius: 16px !important;
}

@media screen and (max-width: 840px) {
  .devsite-landing-row-column>.home-list-links:nth-of-type(n+2) {
    margin: 32px 0 0;
  }
}

.home-list-links-icon .devsite-landing-row-item-list-item-description {
  align-self: center;
}

.home-list-links-icon .devsite-landing-row-item-list h4 {
  margin: 0px;
}



/* ========================================================================== */
/* Logos row */
/* ========================================================================== */

.devsite-landing-row.home-logos  {
  padding: 64px 0;
}

.home-logos .devsite-landing-row-description {
  font: 400 16px / 24px var(--home-primary-font-family)
}

.home-logos h2 {
  font: 700 40px / 48px var(--home-primary-font-family) !important;
}

.home-logos .devsite-landing-row-group {
  grid-auto-rows: 184px;
  grid: auto-flow / repeat(6, 1fr);
}

.home-logos .devsite-landing-row-inner {
  padding: 0 64px;
}

.home-logos .devsite-landing-row-item {
  aspect-ratio: 1 / 1;
  border: 0;
  justify-content: center;
}

.home-logos .devsite-landing-row-item-media {
  align-items: center;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  padding: 24px;
}

@media screen and (max-width: 840px) {
  .home-logos .devsite-landing-row-item {
    display: grid;
    place-content: center;
  }
}

/* ========================================================================== */
/* Newsletter styles */
/* ========================================================================== */


.home-newsletter-landing-row-item {
  align-items: center;
  flex-direction: row;
}

.home-newsletter-landing-row-item .devsite-landing-row-item-buttons {
  margin-left: 0;
  margin-right: 0;
}

/* ========================================================================== */
/* Marquee row tablet/mobile styles */
/* ========================================================================== */

@media screen and (max-width: 1000px) {
  .home-marquee .devsite-landing-row-inner {
    padding: 0 64px;
  }
  .home-marquee .devsite-landing-row-item {
    display: inline;
  }
  .home-marquee h3 {
    font: 700 48px / 56px var(--home-primary-font-family);
  }
  .home-marquee img {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .home-marquee .devsite-landing-row-item-description-content,
  .home-marquee .devsite-landing-row-item-labels>span {
    font: 400 16px / 24px var(--home-primary-font-family);
  }
  .home-marquee h3 {
    font: 700 40px / 48px var(--home-primary-font-family);
  }
}



/* ========================================================================== */
/* Quick links row */
/* ========================================================================== */

.home-quick-links-header {
  color: var(--home-color-link-heading);
  font: 500 14px / 20px var(--home-primary-font-family);
  letter-spacing: 1.5px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.home-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-quick-link {
  align-items: center;
  background-color: var(--home-color-primary-50);
  border-radius: 24px;
  display: flex;
  height: 96px;
  padding: 24px 32px;
  width: 100%;
}

.home-quick-links div:hover {
  background-color: var(--home-color-quick-link-hover);
}

.home-quick-links a:link>:not(.material-icons):hover {
  text-decoration: none !important;
}

.home-quick-link span:hover {
  text-decoration: none !important;
}

.home-quick-link-label,
.home-quick-link-label-hover {
  color: var(--home-color-link-heading);
  font: 500 20px / 28px var(--home-primary-font-family);
  margin-right: auto;
}

.home-quick-link .home-quick-link-label-hover {
  display: none;
}

.home-quick-link:hover .home-quick-link-label {
  display: none;
}

.home-quick-link:hover .home-quick-link-label-hover {
  display: flex;
}

.home-quick-link-icon {
  color: var(--home-color-primary-700);
  display: inline-block;
  font-size: 32px;
}

@media screen and (max-width: 840px) {
  .home-quick-links {
    grid-template-columns: 1fr;
    grid-gap: 24px;
  }

  .home-quick-link {
    padding: 14px 18px;
  }
}

@media screen and (max-width: 600px) {
  .home-quick-links {
    grid-gap: 16px;
  }
}



/* ========================================================================== */
/* Sidecar accessory classes */
/* ========================================================================== */

.home-sidecar .devsite-landing-row-item-icon-container,
.home-sidecar .devsite-landing-row-item-icon {
  height: 56px;
  width: 56px;
}



/* ========================================================================== */
/* Hide the TOC link icons for any index.yaml page
/* ========================================================================== */

.devsite-landing-row-item-list h4>.devsite-heading-link.material-icons,
h1>.devsite-heading-link.material-icons,
h2>.devsite-heading-link.material-icons,
h3>.devsite-heading-link.material-icons {
  visibility: hidden;
}



/* ========================================================================== */
/* Get Started row styles
/* ========================================================================== */

.home-get-started-row {
  display: grid !important;
  grid: auto-flow/repeat(4,1fr) !important;
}

.home-get-started-card {
  display: flex !important;
}

.home-get-started-icon {
  display: block !important;
}

.home-button-icon {
  vertical-align: text-bottom;
}