/* Global Post Promotion — Nagai Exclusive theme
   Palette taken from the lighthouse logo:
   navy #163563 · deep navy #0f2a52 · teal #199baa · gold #d6a147 · light gold #e7c078 · cream #f5deb6 */
.gpp-grid {
    --gpp-navy: #163563; --gpp-navy-deep: #0f2a52; --gpp-teal: #199baa; --gpp-teal-dark: #0f7f8d;
    --gpp-gold: #d6a147; --gpp-gold-light: #e7c078; --gpp-cream: #f5deb6; --gpp-sand: #fbf6ea;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 20px 0;
}
.gpp-grid--single { grid-template-columns: minmax(280px, 420px); }
.gpp-grid.gpp-loading { min-height: 0; }

/* Animated sea-to-gold border */
.gpp-outline {
    padding: 3px; border-radius: 20px;
    background: linear-gradient(45deg, #163563, #199baa, #e7c078, #199baa, #163563);
    background-size: 400% 400%; animation: gppMove 6s linear infinite;
    box-shadow: 0 8px 22px rgba(22, 53, 99, .22);
}
@keyframes gppMove { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.gpp-inner {
    background: linear-gradient(180deg, #ffffff 0%, var(--gpp-sand) 100%);
    border-radius: 17px; overflow: hidden; height: 100%;
    display: flex; flex-direction: column; text-align: center; position: relative;
}
.gpp-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.gpp-img--fallback {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, var(--gpp-navy-deep), var(--gpp-navy) 55%, var(--gpp-teal));
}
.gpp-img--fallback img { width: auto; height: 120px; object-fit: contain; }

/* Gold corner ribbon */
.gpp-ribbon-box { position: absolute; top: 14px; left: 0; z-index: 10; }
.gpp-premium-ribbon {
    background: linear-gradient(135deg, var(--gpp-gold-light) 0%, var(--gpp-gold) 100%);
    color: var(--gpp-navy-deep) !important; font-weight: 800; font-size: 13px;
    padding: 6px 16px 6px 14px; border-radius: 0 50px 50px 0;
    box-shadow: 3px 3px 10px rgba(15, 42, 82, .3); display: inline-block;
    position: relative; overflow: hidden; border-left: 5px solid var(--gpp-navy);
}
.gpp-premium-ribbon::after {
    content: ''; position: absolute; top: -50%; left: -100%; width: 30%; height: 200%;
    background: rgba(255, 255, 255, .55); transform: rotate(30deg); animation: gppShimmer 3s infinite;
}
@keyframes gppShimmer { 0% { left: -100%; } 20% { left: 120%; } 100% { left: 120%; } }

/* Text */
.gpp-body { padding: 18px 20px 8px; flex-grow: 1; }
.gpp-body h3 { margin: 5px 0; font-size: 18px; color: var(--gpp-teal-dark); font-weight: 700; }
.gpp-body p {
    font-size: clamp(18px, 2.4vw, 24px) !important; font-weight: 700 !important; line-height: 1.35;
    color: var(--gpp-navy) !important; margin: 12px 0;
}

/* Buttons */
.gpp-btn {
    display: flex; align-items: center; justify-content: center; padding: 12px; margin: 5px 18px 10px;
    border-radius: 50px; text-decoration: none !important; font-weight: 700; font-size: 15px; transition: .25s;
}
.gpp-wa { background: #25D366; color: #fff !important; }
.gpp-wa:hover { background: #128C7E; transform: translateY(-1px) scale(1.02); }
.gpp-det { border: 2px solid var(--gpp-navy); color: var(--gpp-navy) !important; margin-bottom: 18px; }
.gpp-det:hover { background: var(--gpp-navy); color: var(--gpp-gold-light) !important; border-color: var(--gpp-gold); }

@media (prefers-reduced-motion: reduce) {
    .gpp-outline, .gpp-premium-ribbon::after { animation: none; }
}

/* ---------- Contact cards & strip ---------- */
.gpp-contact-wrap { --gpp-navy:#163563; --gpp-navy-deep:#0f2a52; --gpp-teal:#199baa; --gpp-teal-dark:#0f7f8d; --gpp-gold:#d6a147; --gpp-gold-light:#e7c078; --gpp-cream:#f5deb6; --gpp-sand:#fbf6ea; margin: 36px 0; clear: both; }
.gpp-strip-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.gpp-strip-title { margin: 0; font-size: 20px; color: var(--gpp-navy); border-left: 5px solid var(--gpp-gold); padding-left: 10px; }
.gpp-tag { background: var(--gpp-cream); color: var(--gpp-navy-deep); border: 1px solid var(--gpp-gold); border-radius: 50px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.gpp-contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.gpp-contact {
    background: linear-gradient(180deg, #fff, var(--gpp-sand)); border: 1px solid rgba(22,53,99,.15);
    border-left: 6px solid var(--gpp-gold); border-radius: 16px; padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(22,53,99,.10);
}
.gpp-contact-title { margin: 0 0 6px; font-size: 18px; color: var(--gpp-navy); font-weight: 800; }
.gpp-phone {
    display: inline-block; font-size: clamp(22px, 5vw, 28px); font-weight: 800; letter-spacing: .02em;
    color: var(--gpp-navy) !important; text-decoration: none !important; margin: 2px 0 10px;
}
.gpp-phone:hover { color: var(--gpp-teal-dark) !important; }
.gpp-contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gpp-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 50px; cursor: pointer;
    font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none !important;
    border: 2px solid var(--gpp-navy); background: #fff; color: var(--gpp-navy) !important; transition: .2s;
}
.gpp-chip:hover { background: var(--gpp-navy); color: var(--gpp-gold-light) !important; }
.gpp-chip--wa { background: #25D366; border-color: #25D366; color: #fff !important; }
.gpp-chip--wa:hover { background: #128C7E; border-color: #128C7E; color: #fff !important; }
.gpp-chip--share { background: var(--gpp-gold); border-color: var(--gpp-gold); color: var(--gpp-navy-deep) !important; }
.gpp-chip--share:hover { background: var(--gpp-gold-light); color: var(--gpp-navy-deep) !important; }
.gpp-chip.is-open { word-break: break-all; }
.gpp-contact--compact .gpp-contact-title { font-size: 16px; }
.gpp-contact--compact .gpp-phone { font-size: 22px; margin-bottom: 8px; }
