/* Singles in Paradise — blog stylesheet.
 *
 * Shared by the archive (index.php) and by every article page that MeetEdward
 * pushes over FTP. Articles ship with their own inline <style>; this file is
 * linked after it, so the rules below win.
 *
 * Scoped under .sip (added to <body> by _chrome.php) so nothing here can leak
 * into other pages if the file is ever linked more widely.
 */

:root{
  --blue:#326dbc;
  --blue-dark:#2455a4;
  --lime:#b7d51a;
  --yellow:#fff200;
  --cream:#fcf8da;
  --gray:#e7e7e7;
  --maroon:#800000;
  --red:#f01818;
  --ink:#111;
  --link:#0000ee;
  --sidebar:208px;
}

/* ============================================================ site chrome ==*/
.sip,.sip *{box-sizing:border-box}
body.sip{margin:0;background:var(--gray);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
.sip a{color:var(--link)}
.sip img{max-width:100%;height:auto}

.sip .top-banner{
  min-height:120px;
  background:#77bee9 url('/logo_top_bkgrd_singles_travel_trips_vacations.jpg') repeat-x left top;
  border-bottom:4px solid var(--lime);
  overflow:hidden;
}
.sip .top-banner img{
  display:block;width:904px;max-width:100%;height:auto;min-height:72px;
  object-fit:contain;object-position:left center;
}

.sip .page-layout{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:calc(100vh - 120px)}
.sip .page-main{min-width:0}

.sip .sidebar{
  position:relative;
  background:var(--blue) url('/nav_bkgrd.jpg') repeat-y left top;
  border-right:4px solid var(--lime);
  color:#fff;min-height:100%;
}
.sip .sidebar-top{display:block;width:100%;height:auto;min-height:35px;background:url('/nav_top.jpg') no-repeat left top;background-size:100% auto}
.sip .sidebar-inner{padding:16px 10px 32px;text-align:center}
.sip .sidebar h2{font-size:17px;margin:0 0 17px;color:#fff}
.sip .nav-links{display:grid;gap:5px;margin:0 0 48px}
.sip .nav-links a{color:var(--yellow);font-weight:700;font-size:14px;line-height:1.12;text-decoration:none}
.sip .nav-links a:hover,.sip .nav-links a:focus{text-decoration:underline;color:#fff}
.sip .nav-links .active{color:#fff;text-decoration:underline}

.sip .newsletter{border:2px solid var(--yellow);background:#003cff;padding:7px 6px 8px}
.sip .newsletter strong{display:block;color:#fff;font-size:20px;line-height:1.08;margin-bottom:8px}
.sip .newsletter input[type=email]{width:100%;height:24px;border:1px solid #999;padding:2px 5px;font-size:12px}
.sip .newsletter button{margin-top:4px;padding:2px 13px;font-size:11px;cursor:pointer}
.sip .newsletter small{display:block;margin-top:5px;color:#fff;font-size:9px;line-height:1.2}
.sip .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.sip .mobile-nav-button{display:none}

.sip .site-footer{
  border-top:4px solid var(--lime);
  background:var(--blue);color:var(--yellow);
  text-align:center;padding:13px 15px;font-size:13px;
}
.sip .site-footer a{color:#fff}

/* =========================================================== article page ==
 * Overrides the inline <style> in each pushed page, so posts sit on the site's
 * grey background in a white reading panel with site colours and Arial.
 */
.sip .wrap{
  max-width:900px;
  margin:26px auto 44px;
  padding:42px 46px 56px;
  background:#fff;
  border:10px solid #fff;
  box-shadow:0 2px 14px rgba(0,0,0,.15);
  font:17px/1.7 Arial,Helvetica,sans-serif;
  color:#1a2230;
}
.sip .breadcrumb{font-size:13px;color:#555;margin:0 0 1.7em;display:flex;flex-wrap:wrap;align-items:center;gap:.45em}
.sip .breadcrumb a{color:#555;text-decoration:none}
.sip .breadcrumb a:hover{color:var(--link);text-decoration:underline}
.sip .breadcrumb .sep{color:#aaa}
.sip .breadcrumb [aria-current=page]{color:var(--ink);font-weight:700}

.sip article h1{font-family:Arial,Helvetica,sans-serif;font-size:34px;line-height:1.18;letter-spacing:0;margin:0 0 .35em;color:var(--ink)}
.sip .meta{color:#666;font-size:15px;font-style:italic;margin:0 0 1.7em}
.sip .cover{width:100%;height:auto;border:8px solid #fff;border-radius:0;box-shadow:5px 5px 12px rgba(0,0,0,.26);margin:0 0 2em}
.sip article img{border-radius:0}
.sip article h2{
  font-family:Arial,Helvetica,sans-serif;font-size:25px;line-height:1.28;letter-spacing:0;
  margin:1.7em 0 .5em;padding-bottom:.2em;color:var(--ink);
  border-bottom:2px solid var(--lime);
}
.sip article h3{font-family:Arial,Helvetica,sans-serif;font-size:19px;margin:1.5em 0 .4em;color:var(--maroon)}
.sip article a{color:var(--link);text-underline-offset:2px}
.sip article blockquote{
  margin:1.4em 0;padding:.9em 1.1em;color:#333;
  background:var(--cream);border-inline-start:5px solid var(--lime);
}
.sip article th,.sip article td{border:1px solid #ccc}
.sip hr{border:0;border-top:1px solid #ddd;margin:2.3em 0}

/* =========================================================== archive page ==*/
.sip .archive-main{min-width:0;padding:24px 22px 48px}
.sip .page-title{text-align:center;padding:0 10px 18px}
.sip .page-title h1{font-size:36px;font-style:italic;margin:0 0 8px}
.sip .page-title p{font-size:24px;font-style:italic;font-weight:700;color:var(--maroon);margin:0}
.sip .intro{max-width:1050px;margin:0 auto 18px;text-align:center;font-size:18px;font-weight:700;line-height:1.45}

.sip .archive-tools{max-width:1230px;margin:0 auto 10px;background:#fff;border:10px solid #fff}
.sip .tool-panel{background:var(--cream);padding:18px;display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:16px;align-items:center}
.sip .search-wrap label{display:block;font-weight:700;margin-bottom:6px}
.sip .search-wrap input{width:100%;height:42px;border:2px solid #aaa;padding:7px 10px;font-size:16px}
.sip .filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.sip .filters button{border:2px solid var(--blue);background:#fff;color:var(--link);font-weight:700;padding:8px 11px;cursor:pointer}
.sip .filters button:hover,.sip .filters button.active{background:var(--blue);color:var(--yellow)}

.sip .archive-shell{max-width:1230px;margin:0 auto;background:#fff;border:10px solid #fff}
.sip .post-row{display:grid;grid-template-columns:18% 42% 40%;background:var(--cream);border-bottom:10px solid #fff;min-height:285px}
.sip .post-row:last-child{border-bottom:0}
.sip .post-cell{padding:24px 20px;text-align:center;border-right:5px solid #fff;display:flex;flex-direction:column;justify-content:center}
.sip .post-cell:last-child{border-right:0}
.sip .post-date{font-size:18px;font-weight:700;line-height:1.3}
.sip .post-category{display:inline-block;margin-top:11px;color:var(--maroon);font-size:14px;font-weight:700;text-transform:uppercase}
.sip .post-copy h2{margin:0 0 12px;font-size:29px;line-height:1.1}
.sip .post-copy h2 a{color:var(--link);text-decoration:underline}
.sip .post-copy p{font-size:17px;line-height:1.45;font-weight:700;margin:5px 0}
.sip .read-more{margin-top:14px;font-size:16px;font-weight:700}
.sip .post-image{padding:14px;align-items:center}
.sip .post-image img{display:block;width:100%;max-width:500px;max-height:330px;object-fit:cover;border:12px solid #fff;box-shadow:7px 7px 14px rgba(0,0,0,.32)}
.sip .no-results{display:none;padding:45px;text-align:center;background:var(--cream);font-size:20px;font-weight:700}

.sip .blog-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin:34px 0 0;flex-wrap:wrap}
.sip .blog-pagination .pg{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;padding:0 12px;
  border:2px solid var(--blue);background:#fff;color:var(--link);
  text-decoration:none;font-size:16px;font-weight:700;
}
.sip .blog-pagination .pg:hover{background:var(--blue);color:var(--yellow)}
.sip .blog-pagination .pg.is-on{background:var(--blue);border-color:var(--blue);color:var(--yellow)}
.sip .blog-pagination .pg.is-off{color:#bbb;border-color:#ddd;pointer-events:none}

/* ============================================================= responsive ==*/
@media (max-width:900px){
  .sip .page-layout{grid-template-columns:1fr}
  .sip .sidebar{border-right:0;border-bottom:4px solid var(--lime)}
  .sip .sidebar-top{display:none}
  .sip .mobile-nav-button{display:block;width:100%;border:0;background:var(--blue-dark);color:#fff;font-weight:700;font-size:17px;padding:13px;cursor:pointer}
  .sip .sidebar-inner{display:none;padding-top:14px}
  .sip .sidebar.open .sidebar-inner{display:block}
  .sip .nav-links{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px}
  .sip .newsletter{max-width:320px;margin:0 auto}
  .sip .archive-main{padding:22px 12px 35px}
  .sip .post-row{grid-template-columns:1fr 2fr}
  .sip .post-image{grid-column:1/-1;border-top:5px solid #fff;border-right:0}
  .sip .post-image img{max-width:650px}
  .sip .wrap{margin:16px auto 28px;padding:28px 22px 40px;border-width:6px}
}
@media (max-width:620px){
  .sip .top-banner{min-height:78px}
  .sip .page-title h1{font-size:29px}
  .sip .page-title p{font-size:19px}
  .sip .tool-panel{grid-template-columns:1fr}
  .sip .filters{justify-content:flex-start}
  .sip .post-row{grid-template-columns:1fr}
  .sip .post-cell{border-right:0;border-bottom:5px solid #fff;padding:19px 16px}
  .sip .post-image{border-bottom:0}
  .sip .post-copy h2{font-size:25px}
  .sip .post-date{font-size:17px}
  .sip article h1{font-size:26px}
  .sip article h2{font-size:21px}
}
