/* Phuket Charter — Blog page (root .pc-home.pc-blog). Styles the dynamic "Blog Journal" widget
 * (feature card, filters, search, story grid) and two decorative details the approved HTML draws
 * with pseudo-elements. Page layout/typography of the static sections lives in Elementor settings. */

/* Editor's pick */
.pc-blog .pcb-feature { display: grid; grid-template-columns: 1.13fr 0.87fr; min-height: 565px; border: 1px solid rgba(255,255,255,0.13); background: #062236; }
.pc-blog .pcb-feature-media { position: relative; overflow: hidden; min-height: 470px; display: block; background: #12384a; }
.pc-blog .pcb-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.9s ease; }
.pc-blog .pcb-feature:hover .pcb-feature-media img { transform: scale(1.035); }
.pc-blog .pcb-feature-copy { padding: clamp(40px, 5.4vw, 88px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.pc-blog .pcb-feature-copy h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(43px, 4.5vw, 70px); line-height: 0.99; letter-spacing: -0.035em; margin: 29px 0 24px; color: #fff; }
.pc-blog .pcb-feature-copy p { font-family: Montserrat, Arial, sans-serif; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.74); max-width: 460px; margin: 0; }
.pc-blog .pcb-feature-copy .pcb-link { margin-top: 24px; }

/* Shared bits */
.pc-blog .pcb-meta { font-family: Montserrat, Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.60); display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.pc-blog .pcb-meta span + span::before { content: ""; width: 3px; height: 3px; display: inline-block; border-radius: 50%; background: rgba(255,255,255,0.44); margin: 0 13px 2px 0; }
.pc-blog .pcb-meta time { color: inherit; }
.pc-blog h2 a, .pc-blog h3 a { color: inherit; text-decoration: none; }
.pc-blog .pcb-link { display: inline-flex; align-items: center; gap: 18px; font-family: Montserrat, Arial, sans-serif; text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: #fff; text-decoration: none; padding: 15px 0 10px; align-self: flex-start; border-bottom: 1px solid rgba(255,255,255,0.44); transition: gap 0.25s, color 0.25s; }
.pc-blog .pcb-link:hover { gap: 26px; color: #d1f0f2; }

/* Tools: filters + search */
.pc-blog .pcb-tools { display: flex; justify-content: space-between; align-items: center; gap: 22px; border-top: 1px solid rgba(255,255,255,0.13); border-bottom: 1px solid rgba(255,255,255,0.13); padding: 15px 0; margin-bottom: 43px; }
.pc-blog .pcb-filters { display: flex; gap: 4px; flex-wrap: wrap; }
.pc-blog .pcb-filter { border: 1px solid transparent; background: transparent; color: rgba(255,255,255,0.60); padding: 12px 15px; font: 500 10px/1.2 Montserrat, Arial, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-radius: 999px; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.pc-blog .pcb-filter:hover { color: #fff; }
.pc-blog .pcb-filter[aria-pressed="true"] { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.07); }
.pc-blog .pcb-search { min-width: 210px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 0 14px; }
.pc-blog .pcb-search svg { width: 15px; height: 15px; fill: none; stroke: #ccdce1; stroke-width: 1.6; flex: none; }
.pc-blog .pcb-search input { width: 100%; background: transparent; color: #fff; border: 0; outline: 0; min-height: 42px; font: 400 11px/1.4 Montserrat, Arial, sans-serif; min-width: 0; }
.pc-blog .pcb-search input::placeholder { color: rgba(255,255,255,0.44); }
.pc-blog .pcb-search input:focus-visible { outline: none; }
.pc-blog .pcb-search:focus-within { border-color: rgba(255,255,255,0.6); }
.pc-blog .pcb-count { display: none; color: rgba(255,255,255,0.44); font: 400 10px/1.4 Montserrat, Arial, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.pc-blog .pcb-count.is-show { display: block; }

/* Story grid */
.pc-blog .pcb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 29px; row-gap: 60px; }
.pc-blog .pcb-story { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.pc-blog .pcb-story[hidden] { display: none !important; }
.pc-blog .pcb-story-media { position: relative; overflow: hidden; background: #12384a; aspect-ratio: 1.29; display: block; width: 100%; }
.pc-blog .pcb-story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, filter 0.7s ease; filter: saturate(0.85); }
.pc-blog .pcb-story:hover .pcb-story-media img { transform: scale(1.065); filter: saturate(1.03); }
.pc-blog .pcb-go { position: absolute; right: 16px; bottom: 16px; background: #fff; color: #031a2b; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 100%; font-size: 20px; transition: transform 0.2s; }
.pc-blog .pcb-story:hover .pcb-go { transform: translate(2px, -2px); }
.pc-blog .pcb-story .pcb-meta { margin-top: 25px; font-size: 9px; }
.pc-blog .pcb-story h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.08; letter-spacing: -0.025em; margin: 16px 0 13px; max-width: 410px; color: #fff; }
.pc-blog .pcb-story h3 a:hover { color: #d6e4e6; }
.pc-blog .pcb-story p { font-family: Montserrat, Arial, sans-serif; font-size: 12.5px; line-height: 1.9; max-width: 440px; color: rgba(255,255,255,0.74); margin: 0; }
.pc-blog .pcb-story .pcb-link { margin-top: 13px; font-size: 9px; }
.pc-blog .pcb-more { text-align: center; margin-top: 75px; }
.pc-blog .pcb-more[hidden] { display: none; }
.pc-blog .pcb-more-btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 196px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.035); color: #fff; font: 600 10px/1.2 Montserrat, Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.14em; cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.3s; }
.pc-blog .pcb-more-btn:hover { background: #fff; color: #02131f; transform: translateY(-2px); }
.pc-blog .pcb-empty { display: none; text-align: center; padding: 80px 20px; border: 1px solid rgba(255,255,255,0.13); color: rgba(255,255,255,0.74); font-family: Montserrat, Arial, sans-serif; font-size: 14px; line-height: 1.9; }
.pc-blog .pcb-empty.is-show { display: block; }
.pc-blog .pcb-empty h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 35px; margin: 0 0 10px; color: #fff; }
.pc-blog .pcb-empty p { margin: 0; }

/* Statement rings (approved HTML draws them with ::before/::after) */
.pc-blog .pc-statement { position: relative; overflow: hidden; }
.pc-blog .pc-statement::before, .pc-blog .pc-statement::after { content: ""; position: absolute; width: 350px; height: 350px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; top: 50%; transform: translateY(-50%); pointer-events: none; }
.pc-blog .pc-statement::before { left: -175px; }
.pc-blog .pc-statement::after { right: -175px; }

@media (max-width: 1024px) {
  .pc-blog .pcb-feature { grid-template-columns: 1fr; }
  .pc-blog .pcb-feature-media { min-height: 415px; }
  .pc-blog .pcb-feature-copy { padding: 50px; }
  .pc-blog .pcb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; row-gap: 42px; }
  .pc-blog .pcb-tools { align-items: stretch; flex-direction: column; }
  .pc-blog .pcb-search { align-self: flex-start; min-width: 300px; }
}
@media (max-width: 767px) {
  .pc-blog .pcb-feature-media { min-height: 270px; }
  .pc-blog .pcb-feature-copy { padding: 35px 25px 42px; }
  .pc-blog .pcb-feature-copy h2 { font-size: 52px; }
  .pc-blog .pcb-tools { padding: 13px 0 18px; margin-bottom: 35px; }
  .pc-blog .pcb-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 4px; }
  .pc-blog .pcb-filters::-webkit-scrollbar { display: none; }
  .pc-blog .pcb-filter { white-space: nowrap; font-size: 9px; padding: 10px 12px; }
  .pc-blog .pcb-search { width: 100%; min-width: 0; }
  .pc-blog .pcb-grid { grid-template-columns: 1fr; row-gap: 50px; }
  .pc-blog .pcb-story-media { aspect-ratio: 1.38; }
  .pc-blog .pcb-story h3 { font-size: 39px; }
  .pc-blog .pcb-story p { font-size: 13px; }
  .pc-blog .pcb-more { margin-top: 53px; }
}
