/* ============================================================================================
   Blog article v2 - new design, ported from F:\CyprusParadise-NewDesigns\prototypes\blog\
   article-styles.css, shared by two templates:
     - Views/BlogItem.cshtml (north-cyprus-castles.html) - the full-bleed-photo ".story-hero"/
       ".story-layout" long-form template.
     - Views/BlogItem2.cshtml (cyprus-winter.html) - the side-by-side ".article-hero"/
       ".weather-snapshot"/".numbered-guide" template.
   Both share .article-actions/.share-btn2/.article-cta/.related below. Scoped under .hp2 (same
   wrapper Home-v2.css/Blog-v2.css already use) so it only adds classes genuinely specific to
   these two templates - shares .wrap/.btn/.eyebrow/base typography with those files.

   Not ported from article-styles.css: .weather-layout/.month-nav/.month-card (a third,
   "Cyprus Weather"-style article variant with its own sticky month index - no template uses it
   yet). BlogItem.cshtml's .story-aside only ever renders the auto-generated "In this guide" TOC
   card (BlogItemController.ProcessArticleBody) plus whatever Sidebar Cards an editor has added -
   see that file's own comments. */

.article-page {
  background: #fff;
}

.hp2 .article-wrap {
  width: min(980px, calc(100% - 40px));
  margin: auto;
}

.hp2 .article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 700;
}

.hp2 .article-breadcrumbs a {
  color: var(--home-primary-dark);
}

/* ---- Story hero ---- */

.hp2 .story-hero {
  position: relative;
  display: grid;
  min-height: min(680px, calc(100vh - 120px));
  align-items: end;
  color: #fff;
}

.hp2 .story-hero__image,
.hp2 .story-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hp2 .story-hero__image {
  object-fit: cover;
}

.hp2 .story-hero__shade {
  background: linear-gradient(0deg, rgba(20, 29, 34, 0.88), rgba(20, 29, 34, 0.1) 72%);
}

.hp2 .story-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1050px, calc(100% - 40px));
  margin: auto;
  padding: 70px 0 50px;
}

.hp2 .story-hero .article-breadcrumbs,
.hp2 .story-hero .article-breadcrumbs a {
  color: #fff;
}

.hp2 .story-hero .article-byline {
  color: #fff;
}

.hp2 .story-hero__copy {
  max-width: 820px;
}

.hp2 .article-kicker {
  margin: 0 0 8px;
  color: var(--home-primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp2 .story-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hp2 .article-deck {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}

.hp2 .article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0 0;
  color: var(--home-text-muted);
  font-size: 13px;
}

.hp2 .article-byline span + span::before {
  margin-right: 10px;
  content: "•";
}

/* ---- Article hero (side-by-side variant - BlogItem2's .article-hero, distinct from
   BlogItem's full-bleed-photo .story-hero above) ---- */

.hp2 .article-hero {
  padding: 36px 0 0;
  background: var(--home-primary-mist);
}

.hp2 .article-hero__heading {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hp2 .article-hero__heading .article-deck,
.hp2 .article-hero__heading .article-byline {
  margin-left: auto;
  margin-right: auto;
}

.hp2 .article-hero__heading .article-byline {
  justify-content: center;
  margin-bottom: 30px;
}

.hp2 .article-hero h1 {
  margin: 0;
  font-size: clamp(39px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hp2 .article-hero__media {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  height: clamp(320px, 50vw, 560px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  box-shadow: var(--home-shadow-lg);
}

.hp2 .article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp2 .article-hero__caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 340px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(60, 78, 90, 0.88);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(6px);
}

/* ---- Weather-snapshot stat tiles ---- */

.hp2 .weather-snapshot {
  padding: 48px 0;
  background: #fff;
}

.hp2 .snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hp2 .snapshot {
  padding: 18px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: var(--home-page-bg);
}

.hp2 .snapshot span {
  display: block;
  color: var(--home-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.hp2 .snapshot strong {
  display: block;
  margin-top: 5px;
  font-family: var(--home-font-display);
  font-size: 22px;
}

/* ---- Numbered guide (.reason-block) ---- */

.hp2 .numbered-guide {
  padding: 60px 0 84px;
}

.hp2 .numbered-guide__intro {
  max-width: 760px;
  margin: 0 auto 44px;
  font-size: 19px;
  line-height: 1.7;
  text-align: center;
}

.hp2 .reason-list {
  display: grid;
  gap: 52px;
}

.hp2 .reason-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 68px);
  align-items: center;
}

.hp2 .reason-block:nth-child(even) .reason-block__media {
  order: 2;
}

.hp2 .reason-block__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(16, 68, 67, 0.1);
}

.hp2 .reason-block__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp2 .reason-block__number {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 56px;
  height: 56px;
  border: 4px solid #fff;
  border-radius: 50%;
  place-items: center;
  background: var(--home-primary-dark);
  color: #fff;
  font-family: var(--home-font-display);
  font-size: 19px;
  font-weight: 800;
  box-shadow: var(--home-shadow);
}

.hp2 .reason-block__copy .article-kicker {
  margin-bottom: 6px;
}

.hp2 .reason-block h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 39px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hp2 .reason-block__copy p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--home-text);
}

.hp2 .reason-block__tip {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--home-primary-mist);
  color: var(--home-primary-dark);
  font-size: 12px;
  font-weight: 900;
}

/* ---- Share/like bar ---- */

.hp2 .article-actions {
  border-bottom: 1px solid var(--home-border);
  background: #fff;
}

.hp2 .article-actions__inner {
  display: flex;
  min-height: 68px;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.hp2 .article-actions__label {
  font-weight: 900;
}

.hp2 .share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp2 .share-btn2 {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--home-text);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.hp2 .share-btn2:hover {
  border-color: var(--home-primary-dark);
  background: var(--home-primary-mist);
  color: var(--home-primary-dark);
}

/* ---- Story layout: prose + sidebar ---- */

.hp2 .story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 56px;
  padding: 60px 0 88px;
  align-items: start;
}

.hp2 .story-prose {
  font-size: 18px;
  line-height: 1.8;
  color: var(--home-text);
}

.hp2 .story-prose > p:first-child::first-letter {
  float: left;
  margin: 8px 9px 0 0;
  color: var(--home-primary-dark);
  font-family: var(--home-font-display);
  font-size: 62px;
  font-weight: 800;
  line-height: 0.72;
}

.hp2 .story-prose h2 {
  margin: 52px 0 14px;
  font-size: clamp(26px, 4vw, 37px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  scroll-margin-top: 24px;
}

.hp2 .story-prose h2:first-child {
  margin-top: 0;
}

.hp2 .story-prose h3,
.hp2 .story-prose h4 {
  margin: 32px 0 10px;
  font-family: var(--home-font-display);
  color: var(--home-primary-deep);
}

.hp2 .story-prose p {
  margin: 16px 0;
}

.hp2 .story-prose a {
  color: var(--home-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp2 .story-prose figure {
  margin: 32px 0;
}

.hp2 .story-prose figure img {
  width: 100%;
  max-height: 500px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(16, 68, 67, 0.1);
}

.hp2 .story-prose figcaption {
  margin-top: 8px;
  color: var(--home-text-muted);
  font-size: 12px;
}

.hp2 .story-prose blockquote,
.hp2 .pullquote {
  margin: 36px 0;
  padding: 24px 30px;
  border-left: 5px solid var(--home-primary);
  background: var(--home-primary-mist);
  color: var(--home-primary-dark);
  font-family: var(--home-font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.hp2 .story-prose ul,
.hp2 .story-prose ol {
  margin: 16px 0;
  padding-left: 22px;
}

.hp2 .story-prose li {
  margin: 6px 0;
}

.hp2 .story-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
}

.hp2 .aside-card {
  padding: 20px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.hp2 .aside-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.hp2 .aside-card ol {
  margin: 0;
  padding-left: 20px;
}

.hp2 .aside-card li {
  margin: 8px 0;
}

.hp2 .aside-card a {
  color: var(--home-text);
  text-decoration: none;
}

.hp2 .aside-card a:hover {
  color: var(--home-primary-dark);
}

.hp2 .aside-card p {
  margin: 0;
  color: var(--home-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hp2 .aside-card p + p {
  margin-top: 10px;
}

/* ---- Closing CTA ---- */

.hp2 .article-cta {
  padding: 54px 0;
  background: var(--home-primary-dark);
  color: #fff;
}

.hp2 .article-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.hp2 .article-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
}

.hp2 .article-cta p {
  margin: 8px 0 0;
  color: var(--home-primary-soft);
}

.hp2 .article-cta .btn {
  white-space: nowrap;
}

/* ---- Related stories ---- */

.hp2 .related {
  padding: 68px 0 84px;
}

.hp2 .related__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hp2 .related__head h2 {
  margin: 0;
  font-size: 32px;
}

.hp2 .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp2 .related-card {
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 68, 67, 0.1);
}

.hp2 .related-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.hp2 .related-card__body {
  padding: 17px;
}

.hp2 .related-card__body span {
  color: var(--home-primary-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hp2 .related-card h3 {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.3;
}

.hp2 .related-card h3 a {
  color: var(--home-text);
  text-decoration: none;
}

.hp2 .related-card h3 a:hover {
  color: var(--home-primary-dark);
}

@media (max-width: 860px) {
  .hp2 .story-layout {
    grid-template-columns: 1fr;
  }

  .hp2 .story-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .hp2 .story-prose blockquote,
  .hp2 .pullquote {
    margin-right: 0;
    margin-left: 0;
  }

  .hp2 .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp2 .snapshot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hp2 .reason-block {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hp2 .reason-block:nth-child(even) .reason-block__media {
    order: 0;
  }

  .hp2 .reason-block__media {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .hp2 .article-wrap,
  .hp2 .story-hero__inner {
    width: min(100% - 28px, 1050px);
  }

  .hp2 .article-breadcrumbs {
    margin-bottom: 20px;
  }

  .hp2 .article-actions__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 0;
  }

  .hp2 .story-hero {
    min-height: 560px;
  }

  .hp2 .story-aside,
  .hp2 .article-cta__inner,
  .hp2 .related-grid {
    grid-template-columns: 1fr;
  }

  .hp2 .story-prose {
    font-size: 17px;
  }

  .hp2 .story-prose h2 {
    margin-top: 40px;
  }

  .hp2 .article-cta .btn {
    width: 100%;
  }

  .hp2 .article-hero {
    padding-top: 24px;
  }

  .hp2 .article-hero__media {
    width: 100%;
    height: 300px;
    border-radius: 0;
  }

  .hp2 .article-hero__caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .hp2 .snapshot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hp2 .snapshot {
    padding: 14px;
  }

  .hp2 .reason-block__media {
    min-height: 280px;
  }

  .hp2 .reason-block__number {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
