/*
Theme Name: Sunset Tropical — All-Inclusive Resorts
Theme URI: https://allinclusiveresorts.blog/
Author: All-Inclusive Resorts
Author URI: https://allinclusiveresorts.blog/
Description: Editorial travel-magazine theme for All-Inclusive Resorts — warm Sunset Tropical palette (terracotta, golden sand, deep teal, cream), Fraunces + Outfit typography, ornate decorative elements, beautiful affiliate CTA blocks for Stay22, TravelPayouts, and WordAds. Designed for SEO and conversion.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunset-tropical
Tags: blog, travel, two-columns, custom-colors, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments
*/

/* Imports & font face */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Outfit:wght@200..700&family=Caveat:wght@400..700&display=swap');

:root{
  --terracotta:#D26046; --terracotta-dark:#B14A33;
  --sand:#ECA760; --sand-light:#F5C98D;
  --teal:#1A535C; --teal-deep:#0F3B40;
  --cream:#FAF5ED; --cream-warm:#FFFBF7;
  --ink:#2C2C2C; --ink-muted:#5C5C5C;
}

/* Reset-ish */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--cream);color:var(--ink);
  font-family:'Outfit',system-ui,sans-serif;font-weight:350;line-height:1.6;
  -webkit-font-smoothing:antialiased;
  background-image:
    radial-gradient(at 100% 0%, #ECA76014 0, transparent 40%),
    radial-gradient(at 0% 100%, #1A535C0d 0, transparent 50%);
}
a{color:var(--terracotta);text-decoration:none}
a:hover{color:var(--terracotta-dark)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5,h6{font-family:'Fraunces',Georgia,serif;font-weight:400;letter-spacing:-.01em;color:var(--teal-deep);margin:0 0 .5em}
h1{font-size:clamp(2.4rem,5.5vw,4.4rem);line-height:.96}
h2{font-size:clamp(1.8rem,3.5vw,2.8rem);line-height:1.05}
h3{font-size:1.55rem;line-height:1.2}
p{margin:0 0 1.1em}

::selection{background:var(--terracotta);color:var(--cream)}

/* Layout helpers */
.st-container{max-width:1280px;margin:0 auto;padding:0 1.5rem}
.st-narrow{max-width:760px;margin:0 auto}

/* Eyebrow + script */
.st-eyebrow{font-family:'Caveat',cursive;color:var(--terracotta);font-size:1.4rem;display:inline-block;transform:rotate(-2deg)}
.st-chip{display:inline-block;font-size:.7rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;padding:.3rem .8rem;border-radius:999px;background:#1A535C12;color:var(--teal);border:1px solid #1A535C22}

/* Buttons */
.st-btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--terracotta);color:var(--cream)!important;padding:.85rem 1.6rem;border-radius:999px;font-weight:500;font-size:.95rem;letter-spacing:.02em;border:none;cursor:pointer;transition:background .25s,transform .25s}
.st-btn:hover{background:var(--terracotta-dark);transform:translateY(-1px)}
.st-btn-ghost{display:inline-flex;align-items:center;gap:.5rem;background:transparent;color:var(--teal)!important;padding:.85rem 1.4rem;border-radius:999px;border:1px solid var(--teal);font-weight:500;font-size:.95rem;cursor:pointer;transition:.25s}
.st-btn-ghost:hover{background:var(--teal);color:var(--cream)!important}

/* Header */
.st-header{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(250,245,237,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(210,96,70,.2);padding:.85rem 0;transition:padding .3s}
.st-header .st-container{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.st-brand{display:flex;align-items:center;gap:.75rem;color:var(--teal-deep)!important}
.st-brand-name{font-family:'Fraunces',serif;font-style:italic;font-size:1.35rem;line-height:1;color:var(--teal-deep)}
.st-brand-tag{font-family:'Caveat',cursive;color:var(--terracotta);font-size:.9rem;line-height:1;margin-top:2px}
.st-nav{display:flex;gap:.25rem;list-style:none;padding:0;margin:0}
.st-nav a{color:var(--ink)!important;padding:.5rem 1rem;font-size:.95rem;display:block;position:relative;transition:color .2s}
.st-nav a:hover,.st-nav .current-menu-item a{color:var(--terracotta)!important}
.st-nav .current-menu-item a::after{content:'';position:absolute;left:1rem;right:1rem;bottom:2px;height:1px;background:var(--terracotta)}

/* Main / spacing */
.st-main{padding-top:7rem}
.st-section{padding:4rem 0}

/* Hero */
.st-hero{padding:6rem 0 3rem}
.st-hero-grid{display:grid;grid-template-columns:1fr;gap:2.5rem;align-items:center}
@media (min-width:992px){.st-hero-grid{grid-template-columns:1fr 1fr}}

/* Cards */
.st-card{background:var(--cream-warm);border:1px solid rgba(210,96,70,.15);overflow:hidden;transition:transform .35s ease,box-shadow .35s ease;display:block;color:inherit!important}
.st-card:hover{transform:translateY(-4px);box-shadow:0 14px 40px -20px rgba(15,59,64,.25)}
.st-card-img{aspect-ratio:16/10;overflow:hidden;background:#eee}
.st-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 1s ease}
.st-card:hover .st-card-img img{transform:scale(1.06)}
.st-card-body{padding:1.6rem}
.st-card-meta{font-size:.8rem;color:var(--ink-muted);margin-bottom:.5rem;letter-spacing:.05em}
.st-card-title{font-family:'Fraunces',serif;font-size:1.4rem;line-height:1.2;color:var(--ink);margin:.4rem 0;transition:color .2s}
.st-card:hover .st-card-title{color:var(--terracotta)}
.st-card-excerpt{color:var(--ink-muted);font-size:.95rem;line-height:1.55}

.st-grid{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media (min-width:768px){.st-grid-2{grid-template-columns:1fr 1fr}.st-grid-3{grid-template-columns:1fr 1fr 1fr}}

/* Drop cap (single post) */
.st-post-content > p:first-of-type::first-letter{font-family:'Fraunces',serif;font-style:italic;font-weight:500;float:left;font-size:5.5rem;line-height:.85;padding:.4rem .75rem 0 0;color:var(--terracotta)}
.st-post-content{font-family:'Fraunces',serif;font-size:1.15rem;line-height:1.85;color:var(--ink);max-width:760px;margin:0 auto}
.st-post-content h2,.st-post-content h3{margin-top:2.4rem;color:var(--terracotta)}
.st-post-content h3{font-size:1.6rem}
.st-post-content blockquote{border-left:4px solid var(--terracotta);padding:.5rem 1.5rem;margin:2rem 0;font-style:italic;color:var(--teal-deep);background:var(--cream-warm)}
.st-post-content img{margin:2rem 0;border-radius:4px}

/* Affiliate CTA */
.st-affiliate{position:relative;border-left:6px solid var(--teal);background:linear-gradient(180deg,var(--cream-warm),#F5EBDD);padding:1.75rem 1.75rem 1.75rem 2rem;border-radius:0 8px 8px 0;margin:2.5rem 0}
.st-affiliate::after{content:'EDITOR PICK';position:absolute;top:14px;right:14px;font-size:.65rem;letter-spacing:.25em;color:var(--terracotta);border:1px solid var(--terracotta);padding:.25rem .5rem;border-radius:2px}
.st-affiliate-eyebrow{font-family:'Caveat',cursive;color:var(--terracotta);font-size:1.2rem;line-height:1}
.st-affiliate h4{margin:.4rem 0 .6rem}
.st-affiliate p{color:var(--ink-muted);max-width:42rem}

/* Pros/Cons */
.st-proscons{display:grid;gap:1.25rem;margin:2rem 0}
@media(min-width:768px){.st-proscons{grid-template-columns:1fr 1fr}}
.st-pros,.st-cons{background:var(--cream-warm);padding:1.5rem;border-left:4px solid var(--teal)}
.st-cons{border-left-color:var(--terracotta)}
.st-pros h4,.st-cons h4{font-size:1.15rem;margin:0 0 .8rem}
.st-cons h4{color:var(--terracotta-dark)}
.st-pros ul,.st-cons ul{list-style:none;padding:0;margin:0}
.st-pros li,.st-cons li{padding-left:1.4rem;position:relative;margin:.5rem 0;font-family:'Outfit',sans-serif;font-size:1rem}
.st-pros li::before{content:'✓';position:absolute;left:0;color:var(--teal);font-weight:700}
.st-cons li::before{content:'✕';position:absolute;left:0;color:var(--terracotta)}

/* FAQ */
.st-faq{background:var(--cream-warm);border:1px solid rgba(210,96,70,.15);margin-bottom:.75rem}
.st-faq summary{cursor:pointer;list-style:none;padding:1.25rem 1.5rem;font-family:'Fraunces',serif;font-size:1.15rem;color:var(--teal-deep);display:flex;justify-content:space-between;align-items:center}
.st-faq summary::after{content:'+';color:var(--terracotta);font-size:1.4rem;font-weight:300;transition:transform .25s}
.st-faq[open] summary::after{transform:rotate(45deg)}
.st-faq-body{padding:0 1.5rem 1.5rem;color:var(--ink);font-family:'Fraunces',serif;font-size:1.05rem;line-height:1.7}

/* Newsletter */
.st-newsletter{background:var(--terracotta);color:var(--cream);padding:5rem 0;text-align:center;position:relative;overflow:hidden}
.st-newsletter h2{color:var(--cream)}
.st-newsletter p{color:rgba(250,245,237,.85)}
.st-newsletter form{display:flex;gap:.75rem;max-width:520px;margin:1.5rem auto 0;flex-wrap:wrap;justify-content:center}
.st-newsletter input[type=email]{flex:1;min-width:220px;background:rgba(255,251,247,.15);border:1px solid rgba(250,245,237,.4);border-radius:999px;padding:.85rem 1.25rem;color:var(--cream);font-family:'Outfit',sans-serif}
.st-newsletter input[type=email]::placeholder{color:rgba(250,245,237,.6)}
.st-newsletter button{background:var(--cream);color:var(--terracotta-dark);border:none;padding:.85rem 1.6rem;border-radius:999px;font-weight:500;cursor:pointer}

/* Stamp & dividers */
.st-stamp{display:inline-flex;font-family:'Fraunces',serif;font-style:italic;font-size:.85rem;border:2px dashed var(--teal);color:var(--teal);padding:.5rem 1rem;background:var(--cream-warm);transform:rotate(-6deg)}
.st-divider{display:flex;align-items:center;justify-content:center;gap:1rem;margin:3rem 0}
.st-divider::before,.st-divider::after{content:'';height:1px;flex:1;max-width:80px;background:rgba(210,96,70,.4)}
.st-divider svg{width:32px;height:32px}

/* Stats strip */
.st-stats{background:var(--teal-deep);color:var(--cream);padding:3.5rem 0;text-align:center}
.st-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
@media(min-width:768px){.st-stats-grid{grid-template-columns:repeat(4,1fr)}}
.st-stats .num{font-family:'Fraunces',serif;font-size:3.5rem;color:var(--sand-light);line-height:1;margin-bottom:.4rem}
.st-stats .lbl{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;opacity:.75}

/* Footer */
.st-footer{background:var(--teal-deep);color:rgba(250,245,237,.9);padding:5rem 0 2rem;margin-top:6rem}
.st-footer h4{color:var(--sand);font-size:.75rem;letter-spacing:.25em;text-transform:uppercase;font-family:'Outfit',sans-serif;font-weight:500;margin-bottom:1.25rem}
.st-footer ul{list-style:none;padding:0}
.st-footer li{margin:.5rem 0}
.st-footer a{color:rgba(250,245,237,.85)!important}
.st-footer a:hover{color:var(--terracotta)!important}
.st-footer-grid{display:grid;gap:3rem;grid-template-columns:1fr}
@media(min-width:768px){.st-footer-grid{grid-template-columns:2fr 1fr 1fr 1.5fr}}
.st-footer-bottom{border-top:1px solid rgba(250,245,237,.15);padding-top:1.5rem;margin-top:3rem;font-size:.85rem;color:rgba(250,245,237,.6);display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem}

/* Single post hero */
.st-post-hero{padding-top:6rem;text-align:center}
.st-post-hero .meta{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;color:var(--ink-muted);font-size:.9rem;margin:1.5rem 0}
.st-post-hero-img{aspect-ratio:21/9;overflow:hidden;margin-top:2rem}
.st-post-hero-img img{width:100%;height:100%;object-fit:cover}

/* TOC sidebar */
.st-toc{position:sticky;top:6rem;font-size:.92rem}
.st-toc h5{font-size:.75rem;letter-spacing:.25em;text-transform:uppercase;color:var(--terracotta);margin-bottom:1rem}
.st-toc ul{list-style:none;padding:0;border-left:1px solid rgba(210,96,70,.2)}
.st-toc li a{display:block;padding:.4rem 1rem;color:var(--ink-muted)!important}
.st-toc li a:hover{color:var(--terracotta)!important;padding-left:calc(1rem + 4px)}

.st-post-layout{display:grid;gap:2.5rem;grid-template-columns:1fr}
@media(min-width:1024px){.st-post-layout{grid-template-columns:240px 1fr}}

/* Author box */
.st-author{background:var(--teal-deep);color:var(--cream);padding:2.5rem;display:grid;gap:1.5rem;grid-template-columns:80px 1fr;align-items:start;margin-top:3rem}
.st-author .avatar{width:80px;height:80px;border-radius:50%;background:var(--sand-light);display:flex;align-items:center;justify-content:center;font-family:'Fraunces',serif;font-size:2rem;color:var(--teal-deep)}
.st-author h4{color:var(--cream);font-size:1.5rem;margin-bottom:.5rem}
.st-author p{color:rgba(250,245,237,.85);margin:0}

/* Comments */
.st-comments{margin-top:3rem;padding-top:3rem;border-top:1px solid rgba(210,96,70,.2)}
.st-comments .comment-list{list-style:none;padding:0}
.st-comments .comment-body{background:var(--cream-warm);padding:1.5rem;margin-bottom:1rem;border-left:3px solid var(--terracotta)}

/* Mobile menu */
.st-menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem;color:var(--teal-deep)}
@media(max-width:991px){
  .st-menu-toggle{display:block}
  .st-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--cream-warm);flex-direction:column;padding:1rem 0;border-top:1px solid rgba(210,96,70,.2)}
  .st-nav.open{display:flex}
  .st-nav a{padding:.85rem 1.5rem}
}

/* Pagination */
.st-pagination{display:flex;justify-content:center;gap:.5rem;margin:3rem 0}
.st-pagination a,.st-pagination span{padding:.5rem 1rem;background:var(--cream-warm);border:1px solid rgba(210,96,70,.2);color:var(--ink)!important;border-radius:4px}
.st-pagination .current{background:var(--terracotta);color:var(--cream)!important;border-color:var(--terracotta)}

/* Utilities */
.text-center{text-align:center}
.mt-0{margin-top:0}
.mb-0{margin-bottom:0}
