/* GTT Featured Products & Articles v1.4.1 — Travel Solar desktop/tablet grid density and shared alignment.
 * >=768px ONLY. Existing mobile carousel/guide styling is unchanged.
 * Shared with Logo Strip 1.0.10: 1320px CONTENT grid and viewport-aware gutters.
 * Existing product/card data, Elementor styling controls, and links remain intact.
 */
@media (min-width: 768px) {
  .lfp-25303018-wrapper.gtt-travel-solar-page {
    --gtt-ts-content-width: 1320px;
    --gtt-ts-gutter: clamp(24px, 3.2vw, 48px);
    --gtt-ts-section-gap: 38px;
    box-sizing: border-box;
    width: 100%;
    /* Max width INCLUDES horizontal padding: 1320px actual content at wide screens. */
    max-width: calc(var(--gtt-ts-content-width) + 2 * var(--gtt-ts-gutter));
    padding: 32px var(--gtt-ts-gutter) 48px;
    gap: 28px;
  }
  .gtt-travel-solar-page .lfp-25303018-main-col { min-width: 0; }
  .gtt-travel-solar-page .lfp-25303018-products-block { margin-bottom: var(--gtt-ts-section-gap); }
  .gtt-travel-solar-page .lfp-25303018-header {
    min-width: 0;
    gap: 12px 20px;
    align-items: baseline;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #DDE4E8;
  }
  .gtt-travel-solar-page .lfp-25303018-title {
    min-width: 0;
    margin: 0;
    color: #233746;
    font-family: Outfit, sans-serif;
    font-size: clamp(23px, 2.2vw, 30px);
    font-weight: 600;
    line-height: 1.22;
  }
  .gtt-travel-solar-page .lfp-25303018-view-all {
    flex: 0 0 auto;
    color: #578A2A;
    font: 600 12px/1.35 Outfit, sans-serif;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-decoration: none;
  }
  .gtt-travel-solar-page .lfp-25303018-view-all:hover { color: #233746; text-decoration: underline; }
  .gtt-travel-solar-page .lfp-25303018-view-all:focus-visible { outline: 3px solid #83B745; outline-offset: 3px; }
  .gtt-travel-solar-page .lfp-25303018-products-grid,
  .gtt-travel-solar-page .gtt-fp-category-row .lfp-25303018-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.65vw, 22px);
    align-items: stretch;
    /* Fixed track count keeps one- and two-product categories compact. */
    grid-auto-flow: row;
    justify-content: start;
  }
  .gtt-travel-solar-page .lfp-25303018-product-card {
    min-width: 0;
    height: 100%;
    border-color: #DDE4E8;
    border-radius: 9px;
  }
  .gtt-travel-solar-page .lfp-25303018-product-image-wrapper { aspect-ratio: 4 / 3; }
  .gtt-travel-solar-page .lfp-25303018-product-details {
    min-width: 0;
    padding: 15px 16px 17px;
  }
  .gtt-travel-solar-page .lfp-25303018-product-name {
    min-height: 2.7em;
    margin: 0 0 10px;
    color: #233746;
    font: 600 15px/1.35 Outfit, sans-serif;
    overflow-wrap: anywhere;
  }
  .gtt-travel-solar-page .lfp-25303018-product-price {
    margin: auto 0 0;
    padding-top: 9px;
    color: #233746;
    font: 600 16px/1.4 Outfit, sans-serif;
  }
  .gtt-travel-solar-page .gtt-fp-product-badge {
    display: inline-block;
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    max-width: calc(100% - 18px);
    border-radius: 3px;
    padding: 4px 7px;
    color: #233746;
    background: #83B745;
    font: 600 11px/1.25 Outfit, sans-serif;
  }
  .gtt-travel-solar-page .gtt-fp-product-score {
    display: block;
    margin: 0 0 5px;
    color: #61717D;
    font: 400 13px/1.35 Outfit, sans-serif;
  }
  .gtt-travel-solar-page .gtt-fp-product-score strong { color: #507B25; font-weight: 600; }
  .gtt-travel-solar-page .gtt-fp-product-best-for {
    display: block;
    margin: 0 0 8px;
    color: #61717D;
    font: 400 13px/1.4 Outfit, sans-serif;
  }
  .gtt-travel-solar-page .gtt-fp-category-rows {
    gap: var(--gtt-ts-section-gap);
    margin-bottom: var(--gtt-ts-section-gap);
  }
  .gtt-travel-solar-page .gtt-fp-category-row { margin: 0; scroll-margin-top: 100px; }
  .gtt-travel-solar-page .gtt-fp-category-row .lfp-25303018-header { margin-bottom: 16px; }
  .gtt-travel-solar-page .gtt-fp-category-empty {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 12px 16px;
    border-radius: 9px;
    color: #61717D;
    background: #F9FBF6;
  }
  .gtt-travel-solar-page .lfp-25303018-posts-block .lfp-25303018-header { margin-bottom: 18px; }
}
/* Three columns where tablet landscape has room for readable ~270px cards. */
@media (min-width: 900px) and (max-width: 1199px) {
  .lfp-25303018-wrapper.gtt-travel-solar-page { --gtt-ts-section-gap: 34px; }
  .gtt-travel-solar-page .lfp-25303018-products-grid,
  .gtt-travel-solar-page .gtt-fp-category-row .lfp-25303018-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .lfp-25303018-wrapper.gtt-travel-solar-page {
    --gtt-ts-gutter: 24px;
    --gtt-ts-section-gap: 28px;
    padding: 28px var(--gtt-ts-gutter) 42px;
    gap: 24px;
  }
  .gtt-travel-solar-page .lfp-25303018-title { font-size: clamp(22px, 2.6vw, 26px); }
  .gtt-travel-solar-page .lfp-25303018-product-image-wrapper { aspect-ratio: 5 / 3; }
  .gtt-travel-solar-page .lfp-25303018-product-details { padding: 14px 15px 16px; }
}
/* Portrait tablet: preserve two readable product columns. */
@media (min-width: 768px) and (max-width: 899px) {
  .gtt-travel-solar-page .lfp-25303018-products-grid,
  .gtt-travel-solar-page .gtt-fp-category-row .lfp-25303018-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  .gtt-travel-solar-page .lfp-25303018-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gtt-travel-solar-page .lfp-25303018-post-image img { height: 190px; }
}


/* v1.4.2: priority 3 — guide discovery at >=768px only.
 * Existing mobile guide intro, horizontal post cards, product/category query,
 * Elementor settings and mobile.css remain unchanged. */
@media (min-width: 768px) {
  /* Same stored introduction content; desktop and landscape tablets place the
   * action beside the copy instead of leaving the section mobile-only. */
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 5px 28px;
    min-width: 0;
    margin: 0 0 var(--gtt-ts-section-gap, 38px);
    padding: 24px clamp(24px, 3vw, 36px);
    border: 1px solid #DFEAD7;
    border-radius: 12px;
    background: #F0F6EB;
    color: #233746;
    font-family: Outfit, Arial, sans-serif;
  }
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-eyebrow {
    grid-column: 1;
    grid-row: 1;
    display: block;
    margin: 0;
    color: #578A2A;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .65px;
    text-transform: uppercase;
  }
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-title {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    color: #233746;
    font-family: Outfit, Arial, sans-serif;
    font-size: clamp(23px, 2.15vw, 29px);
    font-weight: 600;
    line-height: 1.24;
  }
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-description {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    max-width: 65ch;
    color: #61717D;
    font-size: 14px;
    line-height: 1.5;
  }
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-link {
    grid-column: 2;
    grid-row: 1 / 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    max-width: 100%;
    padding: 11px 18px;
    border: 1px solid #83B745;
    border-radius: 8px;
    background: #FFFFFF;
    color: #426D20;
    font: 600 14px/1.3 Outfit, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  }
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-link:hover {
    background: #233746;
    border-color: #233746;
    color: #FFFFFF;
  }
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-link:focus-visible {
    outline: 3px solid #83B745;
    outline-offset: 3px;
  }

  /* More scannable editorial cards, equal-height columns and genuine saved
   * category labels. Do not modify post/link data or Elementor styling controls. */
  .gtt-travel-solar-page .lfp-25303018-posts-block { min-width: 0; }
  .gtt-travel-solar-page .lfp-25303018-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 24px);
    align-items: stretch;
  }
  .gtt-travel-solar-page .lfp-25303018-post-card {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #DDE4E8;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(35, 55, 70, .04);
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
  }
  .gtt-travel-solar-page .lfp-25303018-post-card:hover,
  .gtt-travel-solar-page .lfp-25303018-post-card:focus-within {
    border-color: #83B745;
    box-shadow: 0 6px 18px rgba(35, 55, 70, .10);
  }
  .gtt-travel-solar-page .lfp-25303018-post-card:focus-within {
    outline: 3px solid #83B745;
    outline-offset: 3px;
  }
  .gtt-travel-solar-page .lfp-25303018-post-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0;
    border-bottom: 1px solid #E4EBED;
  }
  .gtt-travel-solar-page .lfp-25303018-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gtt-travel-solar-page .lfp-25303018-post-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px 20px 20px;
  }
  .gtt-travel-solar-page .gtt-fp-post-category {
    display: block;
    margin: 0 0 7px;
    color: #578A2A;
    font: 600 11px/1.4 Outfit, Arial, sans-serif;
    letter-spacing: .6px;
    text-transform: uppercase;
  }
  /* Stored post dates may be example values. Surface the real editorial
   * category instead, while preserving all saved dates for possible reuse. */
  .gtt-travel-solar-page .lfp-25303018-post-date { display: none; }
  .gtt-travel-solar-page .lfp-25303018-post-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin: 0 0 10px;
    color: #233746;
    font-family: Outfit, Arial, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .gtt-travel-solar-page .lfp-25303018-post-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    flex: 0 0 auto;
    margin: 0 0 18px;
    color: #61717D;
    font: 400 14px/1.55 Outfit, Arial, sans-serif;
  }
  .gtt-travel-solar-page .lfp-25303018-read-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    margin-top: auto;
    color: #578A2A;
    font: 600 12px/1.4 Outfit, Arial, sans-serif;
    letter-spacing: .35px;
    text-decoration: none;
  }
  .gtt-travel-solar-page .lfp-25303018-read-more[href]:not([href="#"]):not([href=""])::after {
    position: absolute;
    inset: 0;
    content: "";
    border-radius: inherit;
  }
  .gtt-travel-solar-page .lfp-25303018-read-more:focus-visible { outline: none; }
}
/* Portrait and landscape tablets keep comfortable article widths. */
@media (min-width: 768px) and (max-width: 1024px) {
  .gtt-travel-solar-page .lfp-25303018-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .gtt-travel-solar-page .lfp-25303018-post-title { font-size: 18px; }
  .gtt-travel-solar-page .lfp-25303018-post-content { padding: 16px 18px 18px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    padding: 22px 24px;
  }
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-link {
    grid-column: 1;
    grid-row: 4;
    justify-self: start;
    margin-top: 10px;
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro { padding: 22px 24px; gap: 4px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .gtt-travel-solar-page .lfp-25303018-post-card,
  .gtt-travel-solar-page .gtt-fp-mobile-guide-intro .gtt-fp-guide-link,
  .gtt-travel-solar-page .lfp-25303018-post-image img { transition: none; }
  .gtt-travel-solar-page .lfp-25303018-post-image img:hover { transform: none; }
}
