/*
Theme Name: Supriya Plus WP
Theme URI: https://example.com/supriya-plus-wp
Author: Supriya Studio
Author URI: https://example.com
Description: A clean, responsive WordPress blog/news theme inspired by modern card layouts. Includes sticky header, mobile menu, sidebar widgets, featured images, dark mode toggle, footer widgets, and SEO-friendly WordPress template structure. This is original theme code and does not include proprietary Blogger template code or assets.
Version: 1.1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supriya-plus-wp
Tags: blog, news, custom-logo, featured-images, right-sidebar, responsive-layout, threaded-comments, translation-ready
*/

:root{
  --sp-primary:#482dff;
  --sp-primary-dark:#3320b8;
  --sp-bg:#f7f7fb;
  --sp-surface:#ffffff;
  --sp-surface-2:#f0f1f8;
  --sp-text:#111429;
  --sp-muted:#686b78;
  --sp-border:#e6e7ef;
  --sp-link:#1976d2;
  --sp-radius:16px;
  --sp-radius-sm:10px;
  --sp-shadow:0 12px 32px rgba(22,25,46,.08);
  --sp-content:1180px;
  --sp-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

[data-theme="dark"]{
  --sp-bg:#15151c;
  --sp-surface:#1e1e27;
  --sp-surface-2:#282835;
  --sp-text:#f7f7fb;
  --sp-muted:#b3b4c0;
  --sp-border:#353544;
  --sp-link:#9f94ff;
  --sp-shadow:0 12px 32px rgba(0,0,0,.22);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sp-font);
  color:var(--sp-text);
  background:var(--sp-bg);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:var(--sp-link);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
.screen-reader-text,.skip-link{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0
}
.skip-link:focus{
  width:auto;height:auto;
  margin:8px;
  padding:10px 14px;
  clip:auto;
  background:var(--sp-primary);
  color:#fff;
  z-index:99999;
  border-radius:8px
}

.sp-wrap{max-width:var(--sp-content);margin:0 auto;padding:0 18px}
.sp-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.82);
  border-bottom:1px solid var(--sp-border);
  backdrop-filter:saturate(180%) blur(18px);
}
[data-theme="dark"] .sp-header{background:rgba(30,30,39,.82)}
.admin-bar .sp-header{top:32px}
.sp-header-inner{
  min-height:68px;
  display:flex;
  align-items:center;
  gap:16px;
}
.sp-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.sp-logo{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--sp-primary),#8a7cff);
  color:#fff;font-weight:800;
  box-shadow:var(--sp-shadow);
  overflow:hidden;
}
.sp-logo img{width:100%;height:100%;object-fit:cover}
.sp-site-title{
  font-size:1.12rem;
  font-weight:800;
  line-height:1.15;
  margin:0;
}
.sp-site-title a{color:var(--sp-text)}
.sp-site-description{margin:2px 0 0;color:var(--sp-muted);font-size:.82rem;line-height:1.25}
.sp-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
}
.sp-nav ul{
  display:flex;
  align-items:center;
  gap:4px;
  list-style:none;
  padding:0;margin:0;
}
.sp-nav a{
  display:block;
  color:var(--sp-text);
  font-weight:650;
  padding:10px 12px;
  border-radius:12px;
}
.sp-nav a:hover,
.sp-nav .current-menu-item>a,
.sp-nav .current_page_item>a{
  background:var(--sp-surface-2);
  text-decoration:none;
}
.sp-icon-btn{
  border:1px solid var(--sp-border);
  background:var(--sp-surface);
  color:var(--sp-text);
  border-radius:12px;
  min-width:42px;
  height:42px;
  display:inline-grid;
  place-items:center;
  cursor:pointer;
}
.sp-icon-btn:hover{background:var(--sp-surface-2)}
.sp-menu-toggle{display:none}

.sp-search-form{display:flex;gap:8px;align-items:center}
.sp-search-form input[type="search"]{
  width:100%;
  border:1px solid var(--sp-border);
  background:var(--sp-surface);
  color:var(--sp-text);
  border-radius:12px;
  padding:12px 14px;
}
.sp-search-form button,
input[type="submit"],
button[type="submit"],
.wp-block-search__button{
  border:0;
  background:var(--sp-primary);
  color:#fff;
  padding:12px 16px;
  border-radius:12px;
  font-weight:750;
  cursor:pointer;
}
.sp-search-panel{
  display:none;
  padding:0 0 16px;
}
.sp-search-panel.is-open{display:block}
.sp-hero{
  margin:26px auto 10px;
  padding:30px;
  border-radius:var(--sp-radius);
  background:
    radial-gradient(circle at top left,rgba(72,45,255,.18),transparent 36%),
    linear-gradient(135deg,var(--sp-surface),var(--sp-surface-2));
  border:1px solid var(--sp-border);
  box-shadow:var(--sp-shadow);
}
.sp-hero h1{
  margin:0 0 8px;
  font-size:clamp(1.8rem,4vw,3.1rem);
  line-height:1.1;
}
.sp-hero p{margin:0;color:var(--sp-muted);max-width:720px}
.sp-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:26px;
  padding:24px 18px 40px;
  max-width:var(--sp-content);
  margin:0 auto;
}
.sp-content-area{min-width:0}
.sp-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.sp-card{
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius);
  overflow:hidden;
  box-shadow:var(--sp-shadow);
  transition:transform .18s ease, box-shadow .18s ease;
}
.sp-card:hover{transform:translateY(-2px)}
.sp-card-thumb{
  aspect-ratio:16/9;
  background:var(--sp-surface-2);
  overflow:hidden;
}
.sp-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.sp-card:hover .sp-card-thumb img{transform:scale(1.035)}
.sp-card-body{padding:18px}
.sp-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  color:var(--sp-muted);
  font-size:.86rem;
  margin-bottom:8px;
}
.sp-card-title{
  margin:0 0 10px;
  font-size:1.25rem;
  line-height:1.3;
}
.sp-card-title a{color:var(--sp-text)}
.sp-excerpt{color:var(--sp-muted);margin:0 0 16px}
.sp-read-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:800;
  color:var(--sp-primary);
}
.sp-single{
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius);
  box-shadow:var(--sp-shadow);
  overflow:hidden;
}
.sp-single-header{padding:28px 28px 10px}
.sp-single-title{
  margin:0 0 12px;
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.12;
}
.sp-single-thumb img{width:100%;display:block}
.sp-single-content{
  padding:24px 28px 32px;
  font-size:1.05rem;
}
.sp-single-content h2,.sp-single-content h3,.sp-single-content h4{line-height:1.25;margin-top:1.6em}
.sp-single-content p{margin:0 0 1.15em}
.sp-single-content blockquote{
  border-left:5px solid var(--sp-primary);
  margin:1.4em 0;
  padding:10px 0 10px 18px;
  color:var(--sp-muted);
  background:var(--sp-surface-2);
  border-radius:0 12px 12px 0;
}
.sp-single-content pre{
  overflow:auto;
  padding:16px;
  border-radius:12px;
  background:#111429;
  color:#f7f7fb;
}
.sp-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.sp-tags a{
  padding:6px 10px;
  background:var(--sp-surface-2);
  color:var(--sp-text);
  border-radius:99px;
  font-size:.88rem;
}
.sp-post-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:24px 0;
}
.sp-post-nav a{
  display:block;
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:14px;
  padding:14px;
  color:var(--sp-text);
  font-weight:750;
}

.sp-sidebar{min-width:0}
.widget{
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius);
  box-shadow:var(--sp-shadow);
  padding:18px;
  margin:0 0 18px;
}
.widget-title,.widget h2,.widget h3{
  margin:0 0 14px;
  font-size:1rem;
  line-height:1.3;
  position:relative;
}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{padding:8px 0;border-bottom:1px solid var(--sp-border)}
.widget li:last-child{border-bottom:0}
.wp-block-search__inside-wrapper{display:flex;gap:8px}

.navigation.pagination{
  margin:28px 0 0;
}
.nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.page-numbers{
  min-width:40px;
  height:40px;
  display:inline-grid;
  place-items:center;
  border-radius:12px;
  border:1px solid var(--sp-border);
  background:var(--sp-surface);
  color:var(--sp-text);
  font-weight:750;
}
.page-numbers.current{
  background:var(--sp-primary);
  color:#fff;
  border-color:var(--sp-primary);
}
.sp-footer{
  background:var(--sp-surface);
  border-top:1px solid var(--sp-border);
  margin-top:20px;
}
.sp-footer-widgets{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  padding:28px 18px 16px;
}
.sp-footer-bottom{
  border-top:1px solid var(--sp-border);
  padding:16px 18px;
  color:var(--sp-muted);
  font-size:.92rem;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.comment-respond,.comments-area{
  margin-top:24px;
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius);
  box-shadow:var(--sp-shadow);
  padding:22px;
}
.comment-list{list-style:none;margin:0;padding:0}
.comment-list .comment{border-bottom:1px solid var(--sp-border);padding:16px 0}
.comment-form input:not([type="submit"]),.comment-form textarea{
  width:100%;
  border:1px solid var(--sp-border);
  border-radius:12px;
  padding:12px 14px;
  background:var(--sp-bg);
  color:var(--sp-text);
}
.alignwide{max-width:1100px}
.alignfull{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw;width:100vw}

@media (max-width:980px){
  .sp-layout{grid-template-columns:1fr}
  .sp-sidebar{display:block}
}
@media (max-width:760px){
  .admin-bar .sp-header{top:46px}
  .sp-menu-toggle{display:inline-grid}
  .sp-nav{
    position:fixed;
    inset:69px 12px auto 12px;
    display:none;
    padding:12px;
    background:var(--sp-surface);
    border:1px solid var(--sp-border);
    border-radius:var(--sp-radius);
    box-shadow:var(--sp-shadow);
    margin-left:0;
  }
  .sp-nav.is-open{display:block}
  .sp-nav ul{display:block}
  .sp-nav a{padding:12px}
  .sp-grid{grid-template-columns:1fr}
  .sp-hero{padding:22px}
  .sp-layout{padding-left:14px;padding-right:14px}
  .sp-footer-widgets{grid-template-columns:1fr}
  .sp-post-nav{grid-template-columns:1fr}
}
@media (max-width:520px){
  .sp-header-inner{min-height:62px}
  .sp-site-description{display:none}
  .sp-single-header,.sp-single-content{padding-left:18px;padding-right:18px}
  .sp-search-form{display:block}
  .sp-search-form button{margin-top:8px;width:100%}
}

/* User login, signup and profile dashboard */
.sp-account-nav{
  display:flex;
  align-items:center;
  gap:8px;
}
.sp-account-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 14px;
  border-radius:12px;
  background:var(--sp-primary);
  color:#fff;
  font-weight:800;
  border:1px solid var(--sp-primary);
}
.sp-account-link:hover{text-decoration:none;background:var(--sp-primary-dark);border-color:var(--sp-primary-dark);color:#fff}
.sp-account-link-outline{background:var(--sp-surface);color:var(--sp-text);border-color:var(--sp-border)}
.sp-account-link-outline:hover{background:var(--sp-surface-2);color:var(--sp-text);border-color:var(--sp-border)}
.sp-account-layout{grid-template-columns:1fr;max-width:980px}
.sp-account-area{max-width:980px;width:100%;margin:0 auto}
.sp-account-page .sp-single-content{padding-top:10px}
.sp-account-card{
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius);
  box-shadow:var(--sp-shadow);
  padding:22px;
  margin:18px 0;
}
.sp-account-card-narrow{max-width:560px;margin-left:auto;margin-right:auto}
.sp-account-card h2,.sp-account-card h3{margin-top:0;line-height:1.25}
.sp-account-form p,.login p{margin:0 0 14px}
.sp-account-form label,.login label{display:block;font-weight:800;margin-bottom:6px}
.sp-account-form input,.login input[type="text"],.login input[type="password"]{
  width:100%;
  border:1px solid var(--sp-border);
  background:var(--sp-bg);
  color:var(--sp-text);
  border-radius:12px;
  padding:12px 14px;
}
.login .forgetmenot label{display:flex;gap:8px;align-items:center;font-weight:650}
.login input[type="checkbox"]{width:auto}
.sp-account-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  margin-top:14px;
  font-weight:750;
}
.sp-account-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:12px;
  background:var(--sp-primary);
  color:#fff;
  font-weight:800;
}
.sp-account-button:hover{text-decoration:none;background:var(--sp-primary-dark);color:#fff}
.sp-account-notice{
  padding:12px 14px;
  border-radius:12px;
  margin:0 0 16px;
  border:1px solid var(--sp-border);
  background:var(--sp-surface-2);
  color:var(--sp-text);
}
.sp-account-notice-success{background:rgba(69,165,87,.12);border-color:rgba(69,165,87,.35)}
.sp-account-notice-error{background:rgba(244,67,54,.12);border-color:rgba(244,67,54,.35)}
.sp-profile-dashboard{margin-top:6px}
.sp-profile-card{
  display:flex;
  gap:18px;
  align-items:center;
  background:linear-gradient(135deg,var(--sp-surface),var(--sp-surface-2));
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius);
  box-shadow:var(--sp-shadow);
  padding:22px;
  margin-bottom:20px;
}
.sp-profile-avatar img{border-radius:24px;display:block}
.sp-profile-card h2{margin:0 0 4px}
.sp-profile-card p{margin:0;color:var(--sp-muted)}
.sp-profile-meta{font-size:.92rem;margin-top:6px!important}
.sp-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:20px;
}
.sp-stat-card{
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius-sm);
  box-shadow:var(--sp-shadow);
  padding:18px;
}
.sp-stat-card strong{display:block;font-size:2rem;line-height:1;color:var(--sp-primary);margin-bottom:8px}
.sp-stat-card span{display:block;color:var(--sp-muted);font-weight:750;line-height:1.3}
.sp-profile-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sp-profile-list{list-style:none;margin:0;padding:0}
.sp-profile-list li{padding:12px 0;border-bottom:1px solid var(--sp-border)}
.sp-profile-list li:last-child{border-bottom:0}
.sp-profile-list a{display:block;font-weight:800;color:var(--sp-text)}
.sp-profile-list span{display:block;color:var(--sp-muted);font-size:.9rem;margin-top:3px}
.required{color:#d63638}

@media (max-width:980px){
  .sp-account-nav{margin-left:auto}
}
@media (max-width:760px){
  .sp-account-nav{display:none}
  .sp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sp-profile-columns{grid-template-columns:1fr}
}
@media (max-width:520px){
  .sp-profile-card{align-items:flex-start;flex-direction:column}
  .sp-stat-grid{grid-template-columns:1fr}
}
