/* ============================================================
   JAK82 — FAQ + BLOG PAGE CLEAN MODERN FREELANCER STYLE
   Fully optimized, merged & conflict-free stylesheet
   ============================================================ */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root{
  --brand: #0d6efd;
  --muted: #6c757d;
  --bg: #ffffff;
  --navy: #1c3c64;
  --blue-soft: #e8f4ff;
  --card-shadow: 0 6px 18px rgba(19, 27, 34, 0.06);
  --container-max: 1140px;
}

/* Global Body */
body {
    font-family: 'Inter', sans-serif;
    background: #f7f9fc;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
}

/* Headings Clean */
h1, h2, h3, h4 {
    font-weight: 600;
    color: #1c3c64;
}

h1.page-title {
    color: #0a3d62;
    font-weight: 700;
}

/* Container */
.container{
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.faq-hero {
    padding: 70px 0;
    text-align: center;
    background: #e9f2fb;
}

.faq-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.faq-hero p {
    font-size: 18px;
    color: #444;
}

/* Mobile */
@media (max-width:768px){
  .faq-hero h1 { font-size: 30px; }
  .faq-hero p { font-size: 16px; }
}

/* ============================================================
   BLOG POSTS GRID + SIDEBAR
   ============================================================ */

.content-grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}

/* responsive */
@media (max-width: 900px){
  .content-grid{ grid-template-columns: 1fr; }
}

/* Post Card */
.blog-post,
.post-card{
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid #e1e8f0;
  margin-bottom: 25px;
}

/* Blog Image */
.blog-img,
.post-image-wrapper{
    width: 100%;
    height: auto !important;
    overflow: hidden;
    background:#f6f8fb;
}

.blog-img img,
.post-image{
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    background: #fff;
    transition: transform .35s ease;
}

.blog-post:hover .blog-img img,
.post-image-wrapper:hover .post-image{
    transform: scale(1.05);
}


/* Post Content */
.blog-content,
.post-body {
    padding: 24px 20px;
}

.blog-content h2,
.post-title{
    font-size: 22px;
    margin-bottom: 10px;
    color: #1a3554;
}

.blog-content p,
.post-excerpt{
    font-size: 16px;
    color: #555;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar-widget,
.sidebar-col .widget{
    background: #ffffff;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e5eaf0;
}

.sidebar-widget h3,
.sidebar-col .widget h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1c3c64;
}

/* Links */
.sidebar-widget a,
.sidebar-col .widget a{
  text-decoration: none;
  color: #444;
}

.sidebar-widget a:hover,
.sidebar-col .widget a:hover{
  color: var(--brand);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-section{ padding: 28px 0; }

.faq-item{
  border-bottom: 1px solid #eef1f6;
  padding: 12px 0;
}

.faq-q{
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  font-weight: 600;
  display:flex;
  justify-content:space-between;
  cursor:pointer;
}

.caret{ transition: .25s; }

.faq-item.open .caret{
  transform: rotate(45deg);
}

.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
  color:#333;
}

/* FAQ Box Hover */
.faq-box {
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: 0.3s;
}

.faq-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer{
  padding: 22px 0;
  background:#0b2237;
  color:#fff;
  margin-top: 40px;
}

.site-footer .jak82-logo{
  max-height: 34px;
  filter: brightness(10) invert(1);
}

/* ============================================================
   MOBILE TWEAKS
   ============================================================ */

@media (max-width:600px){
  .post-image-wrapper{ height:170px; }
  .post-body{ padding:14px; }
  .faq-hero h1{ font-size: 26px; }
}
