
:root {
  --gronze-background-body: #fefbff;
  --gronze-background-nav-rail: #f1ecee;    
  --gronze-background-icon-nav-rail: #cac697;
  --gronze-color-icon-nav-rail: #4d4055;    
  --gronze-background-header: #f8f1f6;    
  --gronze-color-title-header-links: #37b41e;
  --gronze-color-title-header-links-on-hover: #1d5820;
  --gronze-color-category-header: #858331;
  --gronze-color-grey-dark: #636363;
  --gronze-color-grey-date: #999999;
  --gronze-color-primary-text: #1c1b1d;
  --gronze-color-title-author: #03b41e;
  --gronze-background-backend-green: #31cd24;
  --gronze-box-elevation-1: 0px 1px 2px 0px rgb(0 0 0 / 30%), 0px 1px 3px 1px rgb(0 0 0 / 15%);
  --gronze-color-tab-variant-1: linear-gradient(0deg, rgb(77 66 86 / 8%), rgb(77 66 86 / 8%));
  --gronze-background-status-open: #38e13e;
  --gronze-background-status-closed: #ff2d2d;
  --gronze-background-status-temporarily-closed: #dee138;
  --gronze-background-booking: #0071f3;
}

/* edicion drupal */
.bg-gronze-green { background: var(--gronze-background-backend-green); }
.bg-gronze-green a { color: #FFFFFF; }
.bg-gronze-green a.is-active { color: #000000; border-color: var(--gronze-background-backend-green);}

.links-inline ul.inline { display: flex !important; flex-direction: row; }
.links-inline ul.inline li { margin-right: 20px; }

div[data-drupal-messages] { text-align: center; padding: 1rem !important; background: var(--gronze-background-nav-rail); }

/* page */
body { background: var(--gronze-background-body); }

.wrapper { flex: 1; padding: 1rem 2rem 2rem 2rem; overflow-y: auto; }

.header-max-width { max-width: 1200px; margin-left: auto; margin-right: auto; }

.header-one-column { background: var(--gronze-background-header); border-radius: 22px; }

.header-one-column .text-content { margin: 0; padding: 2rem; text-align: center; }

.header-logo-center { margin: 0 auto; }
.logo-center .logo { margin: 0 auto; }

.header-categories { margin-top: 1rem; }
.header-categories a { font-style: italic; color: var(--gronze-color-category-header); }

.header-title { margin-top: 1rem; }
.header-title h1 { font-size: 3em; font-weight: 400; color: var(--gronze-color-title-header-links); line-height: 3rem; }

.header-author { margin-top: 2rem; }
.header-author img { max-width: 50px; border-radius: 50%; margin: 0 auto 1rem auto; }
.header-author .author { color: var(--gronze-color-grey-dark); }
.header-author .author a,
.header-author .author .author-article { color: var(--gronze-color-category-header); }
.header-author .author .date-article { color: var(--gronze-color-grey-date); }

.main-content { display: flex; flex-direction: column; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0;}

.main-content h2 { font-size: 2.5rem; font-weight: 400; margin-bottom: 1rem; text-align: left; color: var(--gronze-color-primary-text); }
.title-padding { padding-left: 2rem; }
.main-content p { font-size: 1.2em; margin-bottom: 1rem; color: var(--gronze-color-primary-text); line-height: 1.8rem;}

.content-article-paragraphs p a { color: var(--gronze-color-category-header); }

.main-content .content-px { padding-left: 2rem; padding-right: 2rem; }
.main-content .content-pt-100 { padding-top: 4rem; width: 100%; }
.main-content .content-pt-50 { padding-top: 2rem; width: 100%; }

.col-data-color { background: var(--gronze-background-header); }

.main-content .content-article-image,
.main-content .content-etapa-image { display: block; text-align: center; }
.main-content .content-article-image p.image-text { font-size: 0.8em; color: var(--gronze-color-grey-date); text-align: center; margin-top: 1rem; }

.main-content .content-article-author { display: flex; flex-direction: row; justify-content: flex-start; align-items: center;}
.main-content .content-article-author .author-image { padding-right: 3rem; }
.main-content .content-article-author .author-image img { border-radius: 15px; }
.main-content .content-article-author .author-data .author-name { margin: 0; padding: 0; font-size: 2em; color: var(--gronze-color-title-author); }
.main-content .content-article-author .author-data .author-title { margin: 0; padding: 0; font-size: 1.3em; }

.main-content .navigation-two-columns { width: 100%; display: flex; flex-direction: row; justify-content: space-between; column-gap: 1rem; margin-bottom: 1rem;}
.main-content .navigation-two-columns .flex-two-columns { width: 50%; background: var(--gronze-background-header); border-radius: 22px; padding: 2rem; }
.main-content .navigation-two-columns .flex-two-columns p { color: var(--gronze-color-grey-dark); }
.main-content .navigation-two-columns .navigation-column-left { text-align: left;}
.main-content .navigation-two-columns .navigation-column-right { text-align: right;}

.main-content .navigation-one-row { margin-top: 1rem; background: var(--gronze-background-header); border-radius: 22px; padding: 1rem; }
.main-content .navigation-one-row ul { display: flex; flex-direction: row; justify-content: space-between; list-style: none; text-align: center; padding: 0 1rem;}
.main-content .navigation-one-row ul li a { color: black; text-decoration: none; padding: 1rem; }
.main-content .navigation-one-row ul li a:hover { background: var(--gronze-color-title-header-links) !important; padding: 1rem; border-radius: 10px; color: white; }

.navigation-one-row-tabs { margin-top: 1rem; background: var(--gronze-background-header); border-radius: 50px; 
  display: flex; flex-direction: row; justify-content: flex-start; text-align: center; white-space: nowrap; overflow: auto; width: 800px; margin: 0 auto; }
.navigation-one-row-tabs.tabs-w-100 { width: 100%; }
.navigation-one-row-tabs.tabs-shadow { box-shadow: var(--gronze-box-elevation-1); }

.navigation-one-row-tabs .tab,
.navigation-one-row-tabs .tab a { display: inline-flex; position: relative; flex-grow: 1; align-items: center; justify-content: center; padding: 0 24px; border: none; border-radius: 40px;
                                  background: #f8f1f6; color: #4d4156; line-height: 60px; text-decoration: none; text-decoration: initial; cursor: pointer; vertical-align: middle; }
.navigation-one-row-tabs .tab.active,
.navigation-one-row-tabs .tab.active a { background: var(--gronze-color-title-header-links); color: #FFFFFF; }
.navigation-one-row-tabs .tab:hover,
.navigation-one-row-tabs .tab a:hover { background: var(--gronze-color-tab-variant-1); color: #1c1b1d; }

.navigation-one-row-tabs .tab:before,
.navigation-one-row-tabs .tab a:before { position: absolute; width: 100%; height: 100%; opacity: 0; transform: scaleX(.32); transition-duration: .2s; transition-property: transform, opacity;
    transition-timing-function: cubic-bezier(.2,0,0,1); border-radius: 40px; background: #dcdaf5; content: ""; }
.navigation-one-row-tabs .tab span { transition: font-variation-settings .2s cubic-bezier(.2,0,0,1); font-variation-settings: "GRAD" 0; z-index: 1; }

.user-login .navigation-one-row-tabs .tab,
.user-login .navigation-one-row-tabs .tab a { line-height: 40px; padding: 0 12px;}

.user-login .user-login-form { padding: 2rem !important; border: 0 none; }
.user-login .user-login-form .form-item { /* padding: 0 1rem 1rem 1rem !important; */}
.bg-gronze-green { background: var(--gronze-color-title-header-links); }

.main-content .content-article-related { width: 100%; text-align: left;}

.comment-block { width: 100%; background: var(--gronze-background-header); border-radius: 22px; padding: 2rem; display: flex; flex-direction: column; align-items: start; margin-bottom: 1rem;}
.comment-block .comment-author { display: flex; flex-direction: row; align-items: center; margin-bottom: 1rem;}
.comment-block .comment-author .comment-author-image { padding-right: 2rem; }
.comment-block .comment-author .comment-author-image img { border-radius: 15px; }
.comment-block .comment-author .comment-author-name,
.comment-block .comment-author .comment-author-name a { color: var(--gronze-color-grey-dark); }
.comment-block .comment-author .comment-author-name span { color: var(--gronze-color-grey-date); }

.content-article-comments .comments-content img { max-width: 100px;}
.content-article-comments .comments-content > section > article.contextual-region { background: var(--md-sys-color-background-header); margin-bottom: 30px; padding: 1rem; border-radius: 1rem; }
.content-article-comments .comments-content > section > div.indented { margin-left: 2rem; }
.content-article-comments .comments-content > section > div.indented > article.contextual-region { background: #d9d5d8; margin-bottom: 30px; padding: 1rem; border-radius: 1rem; }

.comment-form { width: 100%; padding: 0 2rem; }

.content-article-lastnews .articles-content { width: 100%; display: flex; flex-direction: column; }
.content-article-lastnews .articles-content ul li { width: 100%; background: var(--gronze-background-header); border-radius: 22px; padding: 1.5rem; display: flex; flex-direction: row; align-items: start; margin-bottom: 1rem; }
.content-article-lastnews .articles-content ul li .related-date { padding-right: 3rem; color: var(--gronze-color-grey-date); }
.content-article-lastnews .articles-content ul li .related-type,
.content-article-lastnews .articles-content ul li .related-type a { text-align: left; color: var(--gronze-color-category-header); }

.content-article-lastnews .articles-content .related-more-btn {
    margin: 0;
    padding: 10px 38px;
    border: 1.5px solid var(--gronze-color-title-header-links);
    border-radius: 22px;
    background: #fff;
    color: var(--gronze-color-title-header-links);
    font-size: 1.08rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: block;
    width: fit-content;
}

.footer { background-color: var(--gronze-background-body); color: var(--md-sys-color-on-surface); margin-top: 6rem; padding: 0; font-size: 0.9rem; line-height: 1.5; 
  width: 100%; display: flex; flex-direction: column; align-items: center; position: relative;
}

.footer-border-top { width: 100%; padding: 0 0 3rem 0; }

.footer-content { display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: 5rem; margin-bottom: 2rem; width: 100%; max-width: 1200px; }

.footer-section { flex: 1; /* normal width*/ }
.footer-section.col-main { flex: 2; /* double width*/ }

.footer-logo-left img { max-width: 125px;}


/* header three columns */
.main-banner.header-three-column { background: var(--gronze-background-body); border: 0; box-shadow: none;} 
.header-three-column { position: sticky; top: 0; z-index: 1000; transition: all 0.5s ease; }

.header-three-column.shrink .header-logo-center,  /* small header */
.header-three-column.shrink .logo-center,
.header-three-column.shrink .info-row { opacity: 0; height: 0; margin: 0; overflow: hidden; transition: opacity 0.5s ease, height 0.5s ease; }

.container-three-columns { width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: stretch; gap: 10px; padding: 0; }

.col-three-columns {
  flex: 0 0 20%;
  background: var(--gronze-background-header);
  border-radius: 20px;
  padding: 25px 32px 25px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  box-sizing: border-box;
  box-shadow: none;
  border: none;
  transition: padding 0.5s ease, opacity 0.5s ease;
}

.col-three-center {
  flex: 1 1 60%;
  padding: 25px 24px 25px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}

.header-three-column.shrink .col-three-columns { padding-top: 12px; padding-bottom: 12px;}

.col-three-right { text-align: right;}

.col-three-left .label,
.col-three-right .label,
.col-three-left .stage,
.col-three-right .stage { color: var(--gronze-color-grey-dark); font-size: 1.3rem; font-weight: 500;}

.col-three-left .link a,
.col-three-right .link a { color: var(--gronze-color-title-header-links); font-size: 1.625rem; font-weight: 300;}

.col-three-left .extra-info,
.col-three-right .extra-info { color: var(--gronze-color-title-header-links); font-size: 1.3rem; font-weight: 300;}

.col-three-center .header-logo-center,
.col-three-center .logo-center  { max-height: 54px; opacity: 1; transition: opacity 0.5s ease, height 0.5s ease; }
.col-three-center .logo { margin: 0 auto; font-size: 1.7rem; font-weight: 700; color: color: var(--gronze-color-category-header); margin-bottom: 0.4rem; letter-spacing: 1px; }
.col-three-center .number-stage { display: flex; flex-direction: row; justify-content: center; color: var(--gronze-color-grey-dark); font-size: 2.3rem; font-weight: 600; margin-top: 14px; margin-bottom: 5px; line-height: 1.1; }
.col-three-center .title-path em,
.col-three-center .title-path em a { color: var(--gronze-color-category-header) !important; font-style: italic; font-size: 1.3rem; font-weight: 400; }
.col-three-center .title-stage h1 { color: var(--gronze-color-title-header-links); font-size: 2.625rem; font-weight: 400; margin: 13px 0 0 0; padding: 0; }

.info-row { display: flex; justify-content: center; align-items: start; gap: 36px; margin-top: 42px; 
            transition: opacity 0.7s ease, height 0.7s ease; }

.info-item { text-align: center; font-size: 1rem; color: #666; min-width: 90px; display: flex; flex-direction: column; align-items: center; }
.info-item .item-title { color: var(--gronze-color-grey-dark); font-size: 1rem; font-weight: bold; }
.info-item .item-value { color: var(--gronze-color-category-header); font-size: 1.313rem; font-weight: 500; margin-top: 4px;}

.dots { display: flex; justify-content: flex-start; gap: 4px; margin-top: 10px; }
.dot { width: 13px; height: 13px; border-radius: 50%; }
.dot.red { background: #ff2d2d; }
.dot.green { background: #19b51c; }
.dot.grey { background: #d3d3d3; }


.main-content .content-etapa-image img { max-width: 100%; border-radius: 12px; }

details { background: #faf7fa; border-radius: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 24px auto; padding: 0 0 12px 0; border: none; font-family: 'Roboto', sans-serif; }
details[open] { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
details p { padding: 12px 24px 0 24px; font-size: 1.08rem; color: #222; }

summary { cursor: pointer; font-size: 1.15rem; font-weight: 600; color: #222; padding: 16px 24px;
  border-radius: 16px 16px 0 0; background: #f6f4f4; outline: none; transition: background 0.2s; }

summary:hover, summary:focus { background: #e0e0e0; }



/* accommodations list */
.accommodations-section { width: 100%; margin-top: 36px; font-family: 'Roboto', sans-serif; }
.accommodations-header { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 12px 12px; }
.accommodations-header h2,
.accommodations-header h4 a { font-size: 3.9rem; font-weight: 400; color: #222; margin: 0; padding: 0; }
.accommodations-header h4 { margin: 0; padding: 0; }
.accommodations-population { display: flex; align-items: center; gap: 18px; font-size: 1.15rem; color: #888; }
.population-number { display:flex; flex-direction: row; font-weight: 500; margin-right: 8px; }

.location-services,
.location-services div.container { display: flex; flex-direction: row; }
.location-services .item-services { display: flex; margin-left: 10px; }
.location-services .item-services a { color: var(--gronze-color-category-header); text-decoration: none; }
.location-services .item-services a i::before { color: var(--gronze-color-category-header); }

.material-icons { font-size: 1.5rem; color: #a89c4b; }

.accommodations-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
/* el row tiene que ser de 12px + 1176px 12px = 1200px */ 
.accommodation-row { display: grid; grid-template-columns: 40px 340px 120px 330px 40px 80px 50px 50px 140px; align-items: center; background: #f7f3f7;
  border-radius: 22px; padding: 0 12px; min-height: 64px;
  font-size: 1.18rem; box-shadow: 0 1px 4px rgba(0,0,0,0.02); margin-bottom: 2px; position: relative; column-gap: 0; }

.accommodation-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 2rem;
  color: #7bbd3b;
  width: 36px;
  height: 36px;
  margin-top: 9px;
  margin-bottom: 0;
  grid-column: 1;
}

.accommodation-icon.Verde i:before { color: #7bbd3b; }
.accommodation-icon.Negro i:before { color: #000000; }

.accommodation-name,
.accommodation-name a {
  font-size: 1.22rem;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 180px;
  max-width: 320px;
  grid-column: 2;
}

.accommodation-votes { display: flex; align-items: center; justify-content: center; flex-shrink: 0; grid-column: 3; }
.accommodation-votes .gronze-rating-colorbar { width: 80px; display: flex; flex-direction: row; border-radius: 5px;}
.accommodation-votes .gronze-rating-colorbar .votes { height: 14px; }
.accommodation-votes .gronze-rating-colorbar .votes-up { background: var(--gronze-background-status-open);  }
.accommodation-votes .gronze-rating-colorbar .votes-none { background: #ffffff; }
.accommodation-votes .gronze-rating-colorbar .votes-down { background: var(--gronze-background-status-closed); }

.accommodation-votes .gronze-rating-colorbar .votes:first-child { border-top-left-radius: 10px; border-bottom-left-radius: 10px; }
.accommodation-votes .gronze-rating-colorbar .votes:last-child { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }

.accommodation-localizacion p {
  margin: 0;
  padding-left: 30px;
  font-size: 1.22rem;
  color: #888;
  white-space: pre-line;
  overflow: hidden;
  text-overflow: ellipsis;
  grid-column: 4;
}

.accommodation-rooms {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: color: var(--gronze-color-category-header);
  grid-column: 5;
}

.accommodation-rooms i:before,
.accommodation-price i:before { color: var(--gronze-color-category-header); }

.accommodation-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: color: var(--gronze-color-category-header);
  grid-column: 6;
}

.accommodation-services-only-icon h2 { display: none; }
.accommodation-services-only-icon i::before { color: var(--gronze-color-category-header); }

.line-room, .line-price { width: 100%;}

.accommodation-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  min-width: 16px;
  min-height: 16px;
  grid-column: 7;
}

.dot-open { background: var(--gronze-background-status-open); }
.dot-closed { background: var(--gronze-background-status-closed); }
.dot-temporarily-closed { background: var(--gronze-background-status-temporarily-closed); }

.accommodation-booking a {
  background: var(--gronze-background-booking);
  color: #fff;
  font-weight: 600;
  border-radius: 22px;
  padding: 7px 22px;
  text-decoration: none;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(0,113,243,0.08);
  transition: background 0.18s, box-shadow 0.18s;
  border: none;
}

.accommodation-booking a:hover {
  background: #0057b8;
  box-shadow: 0 4px 16px rgba(0,113,243,0.13);
}

.accommodation-row:not(:last-child) {
  margin-bottom: 10px;
}
.accommodation-icon {
  font-size: 2rem;
  color: #7bbd3b;
  flex-shrink: 0;
  margin-right: 10px;
}
.accommodation-icon.hotel {
  color: #6c648b;
}



.barra-verde {
  display: inline-block;
  height: 10px;
  background: #38e13e;
  width: 100%;
  border-radius: 6px;
  transition: width 0.2s;
  vertical-align: middle;
}
.barra-verde.has-roja {
  border-radius: 6px 0 0 6px;
  width: calc(100% - var(--barra-roja-width, 12px));
}
.barra-verde.has-roja + .barra-roja {
  border-radius: 0 6px 6px 0;
  margin-left: 0;
}
.barra-roja {
  display: inline-block;
  height: 10px;
  background: #ff2d2d;
  width: var(--barra-roja-width, 12px);
  border-radius: 0 6px 6px 0;
  margin-left: 0;
  vertical-align: middle;
}

.accommodation-personas {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #a89c4b;
  font-weight: 500;
  min-width: 70px;
  margin-right: 10px;
}
.accommodation-personas .material-icons {
  font-size: 1.3rem;
  margin-right: 2px;
  color: #a89c4b;
}
.accommodation-mano {
  color: #b59c46;
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.accommodation-mano .material-icons {
  font-size: 1.3rem;
}
.accommodation-status {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 18px;
}





@media (max-width: 1080px) {
  .accommodations-section {
    max-width: 99vw;
    padding: 10px 0 4px 0;
  }
  .accommodations-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 12px 8px 12px;
  }
  .accommodations-list {
    gap: 8px;
  }
  .accommodation-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 8px;
    font-size: 1rem;
    min-height: 44px;
    gap: 8px;
  }
  .accommodation-name, .accommodation-localizacion {
    min-width: 120px;
    font-size: 0.98rem;
    margin-right: 8px;
  }
  .accommodation-votes {
    width: 60px;
    margin-right: 8px;
  }
  .accommodation-dot, .accommodation-mano, .accommodation-personas {
    margin-right: 8px;
  }
  .accommodation-booking {
    padding: 5px 12px;
    font-size: 0.95rem;
  }
}