/* Descubre Huesca: nube lateral y reservas AdSense */ .dh-tag-browser{max-width:100%;font-family:Arial,sans-serif;color:#40564d} .dh-tag-browser .tagcloud{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:8px 14px;max-width:100%;margin:12px 0;padding:0} .dh-tag-browser .tagcloud a{display:inline-block!important;max-width:100%;margin:0!important;padding:0 0 2px!important;font:400 15px/1.65 Arial,sans-serif!important;color:#17667a!important;text-decoration:none;border-bottom:1px solid #b9cfd0;overflow-wrap:anywhere} .dh-tag-browser .tagcloud a:hover{color:#18342f!important;border-bottom-color:#17667a} .dh-tag-browser .tagcloud a:focus-visible,.dh-more-tags summary:focus-visible{outline:2px solid #08768c;outline-offset:4px} .dh-tag-browser .dh-more-tags{margin-top:16px} .dh-tag-browser .dh-more-tags summary{cursor:pointer;color:#17667a;font:600 14px/1.6 Arial,sans-serif} .dh-inline-ad>span,.dh-side-ad>small{display:none!important}
/* Acabado de los bloques laterales de Elementor */
.dh-sidebox,.dh-sidebar-tags,.dh-latest-photo-cards{box-sizing:border-box;background:#fffdf7;border:1px solid #d9ddd6;border-top:3px solid #1485a4;padding:20px;margin-bottom:28px;min-width:0}
.dh-sidebox h2,.dh-sidebar-tags h2,.dh-latest-photo-cards h2{font:400 25px/1.25 Georgia,serif!important;color:#173e35;margin:0 0 20px!important}
.dh-latest-photo-cards .elementor-widget-contentviews_widget_grid1{padding:0!important;border:0;background:none}
.dh-latest-photo-cards .pt-cv-content-item:last-child{border-bottom:0!important}
/* Tarjetas Content Views: imagen encima del titulo en movil */
@media(max-width:600px){
.dh-review-posts .pt-cv-thumb-wrapper,.dh .dh-prose .pt-cv-thumb-wrapper{float:none!important;width:100%!important;max-width:100%;margin:0 0 14px!important;}
.dh-review-posts .pt-cv-thumbnail,.dh .dh-prose .pt-cv-thumbnail{float:none!important;display:block;width:100%!important;max-width:100%;height:auto!important;margin:0!important;}
.dh-review-posts .pt-cv-title,.dh .dh-prose .pt-cv-title{clear:both!important;}
.dh-review-posts .pt-cv-content,.dh .dh-prose .pt-cv-content{max-width:100%;overflow-wrap:anywhere;}
}
/* Formularios adaptables: revision movil 4 noviembre */
.dh #commentform textarea,.dh #commentform input:not([type=checkbox]):not([type=radio]){box-sizing:border-box;max-width:100%;}
.dh #commentform textarea{width:100%;min-width:0;}
/* Tipografia editorial: revision 4 noviembre */
.dh .dh-prose{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.8;color:#263f39}
.dh .dh-prose p{ text-align:justify!important;hyphens:auto; }
.dh .dh-prose h2{font:400 clamp(28px,3vw,36px)/1.22 Georgia,serif;color:#173e35;letter-spacing:-.025em;text-align:left}
.dh .dh-prose h3{font:400 clamp(23px,2.4vw,28px)/1.3 Georgia,serif;color:#17667a;text-align:left}
.dh .dh-prose h4,.dh .dh-prose h5,.dh .dh-prose h6{font-family:Georgia,serif;color:#173e35;line-height:1.4;text-align:left}
.dh .dh-articlehead h1{color:#173e35;font-weight:400;letter-spacing:-.035em}
.dh .dh-prose .pt-cv-title{font:400 25px/1.25 Georgia,serif!important;text-align:left!important;margin:16px 0 12px!important}
.dh .dh-prose .pt-cv-title a{color:#173e35;text-decoration:none}
.dh .dh-prose .pt-cv-title a:hover{color:#08768c;text-decoration:underline}
.dh .dh-prose .pt-cv-content{font:16px/1.65 Arial,sans-serif;color:#465c56;text-align:justify}
.dh-review-posts .pt-cv-title{font:400 26px/1.25 Georgia,serif!important;letter-spacing:-.02em}
.dh-review-posts .pt-cv-title a{color:#173e35!important;text-decoration:none}
.dh-review-posts .pt-cv-content{font:16px/1.65 Arial,sans-serif!important;color:#465c56;text-align:justify}
@media(max-width:600px){.dh .dh-prose{font-size:17px;line-height:1.75}.dh .dh-prose .pt-cv-title,.dh-review-posts .pt-cv-title{font-size:24px!important}}
@media(min-width:1025px){body .dh .dh-tripsection h2{color:#fff!important;}}
/* Encabezados HTML de Elementor en PC */
@media(min-width:1025px){body .elementor h1{color:#0088c4!important;max-width:none!important;width:100%;}body .elementor h2{color:#527d20!important;}body .elementor .dh-pagecovercopy{background:#eaf3f7!important;color:#40564d!important;}body .elementor .dh-pagecovercopy p{color:#40564d!important;}}
/* Proporcion comun de las fotos tambien en movil */
body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) img.pt-cv-thumbnail{width:100%!important;height:100%!important;object-fit:cover!important;}
/* Titulos de tarjetas: misma alineacion editorial que Destinos. */
body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-title{font:400 25px/1.25 Georgia,serif!important;letter-spacing:-.025em!important;text-align:left!important;text-align-last:left!important;text-justify:auto!important;word-spacing:normal!important;hyphens:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;width:auto!important;max-width:100%;}
body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-title :is(a,p,span){font:inherit!important;text-align:left!important;text-align-last:left!important;word-spacing:normal!important;hyphens:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;}
body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-title a{display:block!important;width:auto!important;max-width:100%;}
body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-title p{margin:0!important;padding:0!important;}
body .elementor .dh-native-card-grid h3,body .dh-listcard h2,body .dh-latest-photo-cards .pt-cv-title,body .dh-latest-photo-cards .pt-cv-title a{text-align:left!important;text-align-last:left!important;word-spacing:normal!important;hyphens:none!important;word-break:normal!important;white-space:normal!important;overflow-wrap:break-word!important;}
@media(max-width:600px){body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-title{font-size:24px!important;}}
/* Indice de apartados visible y facil de pulsar. */
body .elementor .dh-quick-index{box-sizing:border-box;width:100%!important;min-width:0;background:#e4f2f5!important;border:1px solid #bdd8e0!important;border-left:4px solid #1485a4!important;border-radius:6px;padding:20px!important;}
body .elementor .dh-quick-index .dh-index-label{font:700 14px/1.5 Arial,sans-serif!important;letter-spacing:.025em;color:#173e35!important;text-align:left!important;margin:0 0 14px!important;}
body .elementor .dh-quick-index :is(p:has(>a),nav){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;margin:0!important;padding:0!important;text-align:left!important;}
body .elementor .dh-quick-index a{display:flex!important;align-items:center;gap:12px;min-height:44px;max-width:100%;box-sizing:border-box;margin:0!important;padding:12px 14px!important;background:#fffdf8!important;border:1px solid #accbd4;border-radius:4px;color:#17667a!important;font:600 15px/1.4 Arial,sans-serif!important;text-align:left!important;text-decoration:none!important;white-space:normal;overflow-wrap:break-word;transition:background-color .15s,color .15s;}
body .elementor .dh-quick-index a::after{content:'↓';margin-left:auto;flex-shrink:0;}
body .elementor .dh-quick-index a:hover,body .elementor .dh-quick-index a:focus-visible{background:#17667a!important;color:#fff!important;text-decoration:underline!important;}
body .elementor .dh-quick-index a:focus-visible{outline:3px solid #0088c4;outline-offset:3px;}
body .elementor :is(#orientacion,#planifica,#visitas,#seguir){scroll-margin-top:72px;}
@media(max-width:600px){body .elementor .dh-quick-index{padding:16px!important;}body .elementor .dh-quick-index :is(p:has(>a),nav){grid-template-columns:minmax(0,1fr);}}
/* Rejilla final compartida de resultados principales */
body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-view .pt-cv-page{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr;gap:28px 24px!important;align-items:stretch!important;}
@media(max-width:1024px){body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-view .pt-cv-page{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dh-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body :is(#contenido,.elementor) :is(.dh-prose,.dh-review-posts) .pt-cv-view .pt-cv-page{grid-template-columns:minmax(0,1fr)!important}.dh-cards{grid-template-columns:minmax(0,1fr)!important}}

/* Descubre Huesca: términos sobre el título en tarjetas de resultados. */
body .pt-cv-wrapper .pt-cv-content-item .pt-cv-taxoterm.above_title {
  display:flex !important; flex-wrap:wrap; align-items:flex-start; gap:5px 7px;
  min-width:0; padding:0 !important; margin:0 0 9px !important; text-align:left !important;
}
body .pt-cv-wrapper .pt-cv-content-item .pt-cv-taxoterm.above_title a {
  display:inline-block !important; box-sizing:border-box; max-width:100%;
  margin:0 !important; padding:3px 8px !important;
  border:1px solid #b8d2c7 !important; border-radius:4px;
  background:#edf5f0 !important; color:#245047 !important;
  font:600 12px/1.4 Arial,sans-serif !important; letter-spacing:normal;
  text-transform:none !important; text-decoration:none; white-space:normal !important; overflow-wrap:anywhere;
}
body .pt-cv-wrapper .pt-cv-content-item .pt-cv-taxoterm.above_title a:is(:hover,:focus-visible) {
  background:#245047 !important; color:#fff !important; text-decoration:underline;
}


/* The result list keeps its responsive cards alongside the shared sidebar. */
.dh-results-reading > section { min-width: 0; }
body .dh-results-reading .dh-listgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  body .dh-results-reading .dh-listgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body .dh-results-reading .dh-listgrid { grid-template-columns: minmax(0, 1fr); }
}
.dh-canvas-network { width: 100%; min-width: 0; display: grid; gap: 16px; }
body.page-id-6784 .dh-native-blog .elementor-posts-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  body.page-id-6784 .dh-native-blog .elementor-posts-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.page-id-6784 .dh-native-blog .elementor-posts-container { grid-template-columns: minmax(0, 1fr); }
}
.dh-blog-terms { display:flex; flex-wrap:wrap; gap:5px 7px; margin:0 0 9px; text-align:left; }
.dh-blog-terms a { display:inline-block; max-width:100%; padding:3px 8px; border:1px solid #b8d2c7;
  border-radius:4px; background:#edf5f0; color:#245047; font:600 12px/1.4 Arial,sans-serif; overflow-wrap:anywhere; }
.dh-blog-terms a:is(:hover,:focus-visible) { background:#245047; color:#fff; text-decoration:underline; }
body:not(.cmplz-marketing) .dh-sidebar-ad-slot { display: none; }


/* Give each caption the width of its image while preserving the credit links. */
.dh-prose figure:has(> figcaption):has(> img, > a > img):not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull),
.elementor .elementor-widget-image figure.wp-caption {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}
.dh-prose .wp-caption, .elementor .wp-caption { max-width: 100%; }
.dh-prose :is(figure:has(> img, > a > img) > figcaption, .wp-caption-text),
.elementor .elementor-widget-image .wp-caption-text {
    contain: inline-size;
    text-align: center;
    overflow-wrap: anywhere;
}
.dh-tag-intro { max-width: 46rem; margin: 0 0 2rem; }
.dh-tag-intro figure { margin: 1rem 0 0; }
.dh-tag-intro img { display: block; width: 100%; height: auto; }
.dh-tag-intro figcaption { margin-top: .4rem; text-align: center; font-size: .875rem; }
@media (max-width: 760px) {
    .dh-photo-split { grid-template-columns: minmax(0, 1fr); }
    .dh-photo-copy { min-width: 0; overflow-wrap: anywhere; }
    .dh-brand { min-width: 0; max-width: 100%; }
    .dh-brand small { overflow-wrap: anywhere; }
}
