/*
Theme Name: Rog Roko Blog
Author: Pankaj
Version: 1.0
Text Domain: rogroko
*/

/* --------------------------------------------------
   Base Theme
-------------------------------------------------- */

@import url("assets/css/common.css");
@import url("assets/css/style.css");
@import url("assets/css/responsive.css");


/* --------------------------------------------------
   Blog
-------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

.logo-wrap a:focus,
.logo-wrap a:focus-visible,
.logo-image:focus {
    outline: none !important;
    box-shadow: none !important;
}
.wp-block-heading{letter-spacing:0px;font-weight:600;font-size:20px}
.woocommerce img, .woocommerce-page img {
    height: auto;
    max-width: 200px;
}
.blog-section{
    padding:20px 0;
}

.blog-title{
    font-family:'Cormorant Garamond',serif;
    font-size:clamp(48px,6vw,82px);
    line-height:1;
    margin:20px 0;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;
    margin-top:60px;
}

.blog-card{
    overflow:hidden;
}

.blog-card a{
    text-decoration:none;
    color:inherit;
}

.blog-image{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    display:block;
}

.blog-content{
    padding:28px 0;
}

.blog-content h3{
    font-family:'Cormorant Garamond',serif;
    font-size:34px;
    line-height:1.2;
    margin-bottom:15px;
}

.blog-content p{
    opacity:.75;
    line-height:1.8;
}

.line{
    width:80px;
    height:1px;
    background:#b08b57;
    margin:25px 0 40px;
}

.pagination-wrap{
    margin-top:80px;
    text-align:center;
}

.blog-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #ebe7e2;
}
/* --------------------------------------------------
   Single Article
-------------------------------------------------- */

.article-page{
    padding-bottom:20px;
}

.article-meta{
    margin-top:30px;
    margin-bottom:60px;
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    opacity:.65;
}

.article-image{
    margin-bottom:60px;
}

.article-image img{
    width:100%;
    display:block;
    object-fit: contain;
}

.article-content{
    max-width:900px;
    margin:auto;
    font-size:18px;
    line-height:2;
}

.article-content h2,
.article-content h3,
.article-content h4{
    font-family:'Cormorant Garamond',serif;
    margin-top:70px;
    margin-bottom:20px;
}

.article-content p{
    margin-bottom:24px;
}

.article-content ul,
.article-content ol{
    margin:25px 0 25px 25px;
}

.article-content img{
    max-width:100%;
    height:auto;
}

.article-content blockquote{
    border-left:3px solid #b08b57;
    padding-left:25px;
    margin:40px 0;
    font-style:italic;
}


/* --------------------------------------------------
   Search
-------------------------------------------------- */

.search-form{
    margin-top:45px;
}

.search-form-group{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.search-field{
    flex:1;
    min-width:260px;
    padding:16px 22px;
    border:1px solid rgba(255,255,255,.15);
    background:transparent;
    color:#fff;
    border-radius:50px;
}

.search-field:focus{
    outline:none;
    border-color:#b08b57;
}

.search-submit{
    padding:16px 32px;
    border:none;
    background:#b08b57;
    color:#111;
    border-radius:50px;
    cursor:pointer;
    transition:.3s;
}

.search-submit:hover{
    opacity:.9;
}


/* --------------------------------------------------
   WordPress
-------------------------------------------------- */

.wp-caption{
    max-width:100%;
}

.aligncenter{
    display:block;
    margin:40px auto;
}

.alignleft{
    float:left;
    margin:0 30px 20px 0;
}

.alignright{
    float:right;
    margin:0 0 20px 30px;
}

.gallery{
    display:grid;
    gap:20px;
}

.screen-reader-text{
    display:none;
}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media(max-width:768px){

.blog-section{
    padding:80px 0;
}

.blog-content h3{
    font-size:28px;
}

.article-content{
    font-size:17px;
}

.article-content h2{
    font-size:34px;
}

.search-form-group{
    flex-direction:column;
}

.search-field,
.search-submit{
    width:100%;
}

}


/* =========================================
   COURSE CHECKOUT SECTION
========================================= */

.course-checkout-section {
    padding: 100px 20px;
    margin-top: 80px;
    background: #f7f8f7;
}

.course-checkout-inner {
    max-width: 1100px;
    margin: 0 auto;
}


/* Heading */

.course-checkout-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.checkout-eyebrow {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: #e4f2ef;
    color: #2f7772;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.course-checkout-heading h2 {
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 15px;
    color: #23323b;
}

.course-checkout-heading p {
    font-size: 17px;
    color: #68747b;
}


/* Main checkout box */

.course-checkout-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.06);
}


/* Hide Woo notices if unnecessary */

.course-checkout-box .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}


/* Two column checkout */

.course-checkout-box .woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}


/* Left */

.course-checkout-box #customer_details {
    width: 100%;
}


/* Remove additional information */

.course-checkout-box .woocommerce-additional-fields {
    display: none;
}


/* Right */

.course-checkout-box #order_review_heading {
    grid-column: 2;
    margin: 0;
}


/* Checkout form sections */

.course-checkout-box .col2-set {
    width: 100%;
}

.course-checkout-box .col-1,
.course-checkout-box .col-2 {
    width: 100%;
    float: none;
}


/* Form heading */

.course-checkout-box h3 {
    font-size: 28px;
    color: #24323a;
    margin-bottom: 25px;
}


/* Fields */

.course-checkout-box .form-row {
    margin-bottom: 22px;
}

.course-checkout-box .form-row label {
    font-size: 15px;
    font-weight: 500;
    color: #34424a;
    margin-bottom: 8px;
}

.course-checkout-box input.input-text {
    width: 100%;
    height: 56px;
    border: 1px solid #d8dfde;
    border-radius: 10px;
    padding: 0 18px;
    background: #ffffff;
    font-size: 16px;
}

.course-checkout-box input.input-text:focus {
    outline: none;
    border-color: #2d8c85;
}


/* Order table */

.course-checkout-box table.shop_table {
    border: none;
    margin: 0 0 25px;
}

.course-checkout-box table.shop_table th,
.course-checkout-box table.shop_table td {
    padding: 16px 0;
    border-bottom: 1px solid #edf0ef;
}


/* Product quantity */

.course-checkout-box .product-quantity {
    display: none;
}


/* Hide coupon rows */

.course-checkout-box .woocommerce-form-coupon-toggle {
    display: none;
}


/* Payment box */

.course-checkout-box #payment {
    background: transparent;
}

.course-checkout-box #payment ul.payment_methods {
    border-bottom: 1px solid #edf0ef;
    padding: 0 0 20px;
}

.course-checkout-box #payment div.payment_box {
    background: #f5f8f7;
    border-radius: 10px;
}


/* Payment heading */

.course-checkout-box #payment::before {
    content: "Payment Information";
    display: block;
    font-size: 25px;
    font-weight: 600;
    color: #24323a;
    margin-bottom: 25px;
}


/* Place order button */

.course-checkout-box #place_order {
    width: 100%;
    background: #218c84;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.course-checkout-box #place_order:hover {
    background: #176e68;
}


/* Mobile */

@media (max-width: 768px) {

    .course-checkout-section {
        padding: 60px 15px;
    }

    .course-checkout-heading h2 {
        font-size: 34px;
    }

    .course-checkout-box {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .course-checkout-box .woocommerce-checkout {
        display: block;
    }

    .course-checkout-box #order_review_heading {
        margin-top: 45px;
    }

}

.wc-block-cart__empty-cart__title{letter-spacing:0px}
body.page-id-40.woocommerce-checkout table.shop_table .cart-subtotal, .logged-in .logo-wrap {
    border-top: 1px solid #e5e0d8 !important;
    display: none;
}
.woocommerce-Address-title h2{letter-spacing:0px}
.logged-in .woocommerce{padding-top:50px}

/* =====================================
   MY ACCOUNT - PREMIUM DESIGN
===================================== */

.woocommerce-account .woocommerce {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
}

/* Account Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 240px;
    flex: 0 0 240px;
    background: #fff;
    border: 1px solid #e8eeeb;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 3px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 13px 15px;
    border-radius: 9px;
    color: #34423e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #eaf3f0;
    color: #527d70;
    font-weight: 600;
}

/* Logout */
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #c45b5b !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fff0f0 !important;
}

/* Account Content */
.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: auto;
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e8eeeb;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

/* Notification */
.woocommerce-account .woocommerce-info {
    border: 1px solid #dcebe5;
    border-left: 4px solid #719b8b;
    background: #f3f8f5;
    border-radius: 9px;
    color: #40574e;
    line-height: 1.6;
    margin-bottom: 25px;
}

.woocommerce-account .woocommerce-info::before {
    color: #719b8b;
}

.woocommerce-account .woocommerce-info .button {
    float: right;
    margin-left: 12px;
}

/* Orders Table */
.woocommerce-account table.shop_table {
    border: 1px solid #e8eeeb;
    border-radius: 10px;
    border-spacing: 0;
    overflow: hidden;
    margin: 0;
}

.woocommerce-account table.shop_table th {
    background: #f3f7f5;
    color: #344a42;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 15px 12px;
    border: 0;
}

.woocommerce-account table.shop_table td {
    padding: 16px 12px;
    border-top: 1px solid #edf1ef;
    color: #58645f;
    font-size: 13px;
    vertical-align: middle;
}

.woocommerce-account table.shop_table tr:hover td {
    background: #fafcfb;
}

.woocommerce-account table.shop_table td a:not(.button) {
    color: #527d70;
    font-weight: 600;
    text-decoration: none;
}

/* Order Status */
.woocommerce-account table.shop_table td[data-title="Status"] {
    font-weight: 600;
}

/* Buttons */
.woocommerce-account .woocommerce-button,
.woocommerce-account .woocommerce-info .button {
    background: #527d70 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 7px !important;
    padding: 10px 17px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all .25s ease;
}

.woocommerce-account .woocommerce-button:hover,
.woocommerce-account .woocommerce-info .button:hover {
    background: #385f53 !important;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 767px) {

    .woocommerce-account .woocommerce {
        display: block;
        margin: 15px auto;
        padding: 0 12px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        padding: 8px;
        margin-bottom: 15px;
        overflow-x: auto;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 5px;
        width: max-content;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
        margin: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li a {
        padding: 10px 13px;
        font-size: 12px;
        white-space: nowrap;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 15px;
        width: 100%;
        border-radius: 12px;
    }

    .woocommerce-account .woocommerce-info {
        padding: 15px;
        font-size: 13px;
    }

    .woocommerce-account .woocommerce-info .button {
        float: none;
        display: block;
        width: fit-content;
        margin: 12px 0 0;
    }

    .woocommerce-account table.shop_table {
        border: 0;
    }

    .woocommerce-account table.shop_table thead {
        display: none;
    }

    .woocommerce-account table.shop_table tr {
        display: block;
        border: 1px solid #e8eeeb;
        border-radius: 10px;
        padding: 8px 12px;
        margin-bottom: 12px;
        background: #fff;
    }

    .woocommerce-account table.shop_table td,
    .woocommerce-account table.shop_table th {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border: 0;
        border-bottom: 1px solid #f0f2f1;
        text-align: right;
        font-size: 12px;
    }

    .woocommerce-account table.shop_table td:last-child {
        border-bottom: 0;
    }

    .woocommerce-account table.shop_table td::before,
    .woocommerce-account table.shop_table th::before {
        content: attr(data-title);
        font-weight: 600;
        color: #344a42;
        text-align: left;
    }

    .woocommerce-account table.shop_table th[data-title="Order"] {
        display: flex;
    }

    .woocommerce-account .woocommerce-button {
        padding: 8px 15px !important;
    }
}
