/* --- Base Reset & Box Model --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

/* --- Layout Elements --- */
.container {
    width: 100%;
    max-width: 1249px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section Styles */
.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 15px;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* Meta & Badge Styling */
.badge-wrapper { margin-bottom: 20px; }
.badge {
    background-color: #ff5e14;
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 15px;
    color: #fff;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.author-info { display: flex; align-items: center; gap: 10px; }
.author-img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Content Area */
.content-wrapper {
    background-color: #f8fafc;
    padding: 80px 0;
    width: 100%;
}

.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* Blog Content */
.blog-content {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: #1e293b;
    font-size: 18px;
    line-height: 1.8;
    width: 100%;
    overflow: hidden;
}

.paragraph-content img, .blog-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 20px 0;
}

/* Deal Card Component */
.deal-card {
    background-color: #fffaf5 !important;
    border: 1px solid #ffedd5 !important;
    border-radius: 24px !important;
    padding: 30px 35px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 25px !important;
    margin: 45px 0 !important;
    position: relative !important;
    box-shadow: 0 10px 40px rgba(255, 94, 20, 0.08) !important;
    width: 100% !important;
}

.coupon-card1 {
    background-color: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08) !important;
}

.deal-icon {
    width: 85px !important;
    height: 85px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(255, 94, 20, 0.12) !important;
    flex-shrink: 0 !important;
}

.deal-info {
    flex: 1 !important;
    margin: 0 20px !important;
    text-align: left !important;
}

.deal-info h3 {
    font-size: 22px !important;
    color: #003566 !important;
    margin: 0 0 8px 0 !important;
    font-weight: 700 !important;
}

.deal-info p {
    font-size: 15px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

.deal-action {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 160px !important;
    padding-left: 20px !important;
    border-left: 1px dashed rgba(255, 94, 20, 0.15) !important;
}

.btn-deal {
    background: #ff5e14;
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 40px;
}

.sidebar-card { background: #fff; padding: 25px; border-radius: 20px; border: 1px solid #f1f5f9; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }

/* Newsletter */
.newsletter-cta { background: #ff5e14; padding: 80px 15px; text-align: center; color: #fff; }
.cta-form { display: flex; gap: 15px; max-width: 600px; margin: 30px auto; }
.cta-input { flex: 1; padding: 18px 25px; border-radius: 12px; border: none; font-size: 16px; outline: none; }
.btn-cta-subscribe { background: #1e3a8a; color: #fff; padding: 15px 35px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; transition: 0.3s; }

/* --- Responsive Queries --- */
@media (max-width: 1200px) {
    .blog-content { padding: 40px; }
    .main-layout { gap: 30px; }
}

@media (max-width: 992px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; margin-top: 40px; }
    .hero { min-height: 50vh; }
}

@media (max-width: 768px) {
    .content-wrapper { padding: 40px 0; }
    .blog-content { padding: 25px 15px; font-size: 16px; }
    .deal-card { flex-direction: column !important; text-align: center !important; }
    .deal-action { width: 100% !important; padding-left: 0 !important; border-left: none !important; border-top: 1px dashed #ffedd5 !important; padding-top: 20px !important; min-width: auto !important; }
    .cta-form { flex-direction: column; }
    .btn-cta-subscribe { width: 100%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .hero-meta { flex-direction: column; gap: 8px; }
    .hero-meta li { margin: 0 !important; }
    .badge { padding: 4px 12px; font-size: 10px; }
}

/* Exclusive Deals Grid Styling */
.exclusive-deals {
    margin-top: 50px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.deal-item-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.item-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #1e293b;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.deal-item-card h4 {
    font-size: 18px;
    color: #1e3a8a;
    margin-bottom: 8px;
    font-weight: 700;
}

.offer-amount {
    font-size: 22px;
    color: #ff6b35;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn-deal-mini {
    display: block;
    background-color: #ff6b35;
    color: #fff;
    padding: 12px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.3s;
    width: 100%;
}

.btn-deal-mini:hover {
    background-color: #e55a2b;
}

@media (max-width: 992px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
}

/* Quote */
.styled-quote {
    background: #f1f5f9;
    border-left: 5px solid #ff5e14;
    padding: 30px;
    font-style: italic;
    font-size: 20px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

/* Lists */
.takeaways-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 30px; margin: 30px 0; }
.takeaways-list { list-style: none; }
.takeaways-list li { position: relative; padding-left: 30px; margin-bottom: 15px; }
.takeaways-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: #ff5e14; }

/* Category List in Sidebar */
.category-list { list-style: none; }
.category-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: #f8fafc; border-radius: 10px; color: #475569; text-decoration: none; margin-bottom: 10px; transition: 0.3s; font-size: 14px; font-weight: 500; }
.category-list a:hover { background: #ff5e14; color: #fff; }
.cat-count { background: #fff; padding: 2px 8px; border-radius: 8px; font-size: 11px; color: #ff5e14; }

/* Sub-headings & Dividers */
.sub-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 4vw, 32px);
    color: #003566;
    margin-top: 45px;
    margin-bottom: 15px;
    font-weight: 700;
}

.divider {
    border: 0;
    height: 1px;
    background-color: #e2e8f0;
    margin-bottom: 35px;
}

/* Styled Content Lists */
.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.styled-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.styled-list li::before {
    content: "•";
    color: #ff5e14;
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Comment Section */
.comments-section { padding-top: 50px; border-top: 1px solid #e2e8f0; margin-top: 50px; }
.comments-title { font-family: 'Playfair Display', serif; font-size: 24px; color: #1e3a8a; margin-bottom: 30px; }

.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-input, .form-textarea { width: 100%; padding: 15px 20px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 15px; outline: none; transition: 0.3s; }
.form-textarea { height: 150px; resize: none; }
.form-input:focus, .form-textarea:focus { border-color: #ff5e14; box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.1); }

.btn-post { background: #ff5e14; color: #fff; padding: 14px 35px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-post:hover { background: #e54e00; }

@media (max-width: 600px) {
    .form-row { flex-direction: column; }
}

/* Author Bio */
.author-bio { display: flex; gap: 25px; padding: 50px 0; border-top: 1px solid #e2e8f0; margin-top: 50px; }
.bio-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.bio-name { font-size: 20px; font-weight: 700; color: #1e3a8a; margin-bottom: 5px; }

@media (max-width: 600px) {
    .author-bio { flex-direction: column; align-items: center; text-align: center; }
}
