/* =========================================================
   POLICY & CONTENT PAGES STYLESHEET (ITM THEME)
   Used for Disclaimer, Privacy Policy, Terms & Conditions,
   Returns/Refunds, and all content-heavy editorial pages.
   Matches brand luxury aesthetic & reference layout.
========================================================= */

/* --- 1. HEADER & BREADCRUMBS BANNER --- */
.policy-header-section {
    width: 100%;
    background: #FFFDF9;
    padding: 55px 20px 45px;
    border-bottom: 1px solid #ECE7DE;
    text-align: center;
    position: relative;
}

.policy-header-container {
    max-width: 1040px;
    margin: 0 auto;
}

.policy-breadcrumbs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #7D7A75;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.policy-breadcrumbs a {
    color: #7D7A75;
    text-decoration: none;
    transition: color 0.25s ease;
}

.policy-breadcrumbs a:hover {
    color: #CBAA6A;
}

.policy-breadcrumbs .breadcrumb-separator {
    color: #B5B2AB;
    font-size: 12px;
    user-select: none;
}

.policy-breadcrumbs .breadcrumb-current {
    color: #18171C;
    font-weight: 600;
}

.policy-page-title {
    font-family: 'Lora', serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.2;
    color: #18171C;
    letter-spacing: -0.5px;
    margin: 0;
    text-transform: capitalize;
}

/* Elegant gold underline accent matching reference design */
.policy-title-accent {
    width: 140px;
    height: 7px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, rgba(203, 170, 106, 0.45) 0%, rgba(203, 170, 106, 0.95) 50%, rgba(203, 170, 106, 0.45) 100%);
    border-radius: 4px;
}

/* --- 2. MAIN CONTENT WRAPPER --- */
.policy-main-wrapper {
    width: 100%;
    background: #FFFFFF;
    padding: 60px 0 90px;
}

.policy-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

.policy-article-body {
    width: 100%;
}

.policy-featured-media {
    margin-bottom: 45px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.policy-featured-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- 3. RICH TYPOGRAPHY & CONTENT FORMATTING --- */
.policy-content-area,
.entry-content {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 15.5px;
    line-height: 1.85;
    color: #2D2C31;
    letter-spacing: 0.1px;
    word-wrap: break-word;
}

/* Headings */
.policy-content-area h1,
.entry-content h1 {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 600;
    color: #18171C;
    line-height: 1.3;
    margin-top: 15px;
    margin-bottom: 22px;
    letter-spacing: -0.3px;
}

.policy-content-area h2,
.entry-content h2 {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 600;
    color: #18171C;
    line-height: 1.35;
    margin-top: 38px;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.policy-content-area h3,
.entry-content h3 {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 600;
    color: #18171C;
    line-height: 1.4;
    margin-top: 26px;
    margin-bottom: 14px;
}

.policy-content-area h4,
.entry-content h4 {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    color: #18171C;
    line-height: 1.45;
    margin-top: 22px;
    margin-bottom: 12px;
}

.policy-content-area h5,
.entry-content h5 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #18171C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-content-area h6,
.entry-content h6 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 18px;
    margin-bottom: 8px;
}

/* Paragraphs */
.policy-content-area p,
.entry-content p {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 15.5px;
    line-height: 1.85;
    color: #2D2C31;
}

/* Strong / Bold Text */
.policy-content-area strong,
.policy-content-area b,
.entry-content strong,
.entry-content b {
    font-weight: 700;
    color: #18171C;
}

/* Links */
.policy-content-area a,
.entry-content a {
    color: #B08B49;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.policy-content-area a:hover,
.entry-content a:hover {
    color: #18171C;
}

/* Unordered Lists */
.policy-content-area ul,
.entry-content ul {
    list-style-type: disc;
    padding-left: 28px;
    margin-top: 12px;
    margin-bottom: 24px;
}

/* Ordered Lists */
.policy-content-area ol,
.entry-content ol {
    list-style-type: decimal;
    padding-left: 28px;
    margin-top: 12px;
    margin-bottom: 24px;
}

/* List Items */
.policy-content-area li,
.entry-content li {
    margin-bottom: 12px;
    line-height: 1.75;
    font-size: 15px;
    color: #2D2C31;
}

.policy-content-area li:last-child,
.entry-content li:last-child {
    margin-bottom: 0;
}

.policy-content-area li p,
.entry-content li p {
    margin-bottom: 8px;
}

/* Nested Lists */
.policy-content-area ul ul,
.policy-content-area ol ol,
.policy-content-area ul ol,
.policy-content-area ol ul,
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 24px;
}

/* Blockquotes */
.policy-content-area blockquote,
.entry-content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    background: #FAF8F5;
    border-left: 4px solid #CBAA6A;
    border-radius: 0 8px 8px 0;
    font-family: 'Lora', serif;
    font-style: italic;
    color: #4A4844;
    font-size: 16px;
    line-height: 1.8;
}

.policy-content-area blockquote p:last-child,
.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables */
.policy-content-area table,
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    border: 1px solid #EBE7DE;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14.5px;
}

.policy-content-area th,
.entry-content th {
    background: #F6F2E9;
    color: #18171C;
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid #CBAA6A;
    font-family: 'Lora', serif;
}

.policy-content-area td,
.entry-content td {
    padding: 12px 18px;
    border-bottom: 1px solid #ECE7DE;
    color: #2D2C31;
}

.policy-content-area tr:nth-child(even),
.entry-content tr:nth-child(even) {
    background: #FAF8F5;
}

/* Horizontal Rule */
.policy-content-area hr,
.entry-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203, 170, 106, 0.4), transparent);
    margin: 36px 0;
}

/* Images inside Content */
.policy-content-area img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* Page Links Pagination */
.page-links {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #ECE7DE;
    font-weight: 600;
}

.page-links a,
.page-links span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    border-radius: 4px;
    background: #FAF8F5;
    color: #18171C;
    text-decoration: none;
    border: 1px solid #E5DFC8;
}

.page-links a:hover {
    background: #CBAA6A;
    color: #FFFFFF;
    border-color: #CBAA6A;
}

/* --- 4. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 991px) {
    .policy-header-section {
        padding: 45px 20px 35px;
    }

    .policy-page-title {
        font-size: 36px;
    }

    .policy-main-wrapper {
        padding: 50px 0 70px;
    }

    .policy-content-area h1,
    .entry-content h1 {
        font-size: 28px;
    }

    .policy-content-area h2,
    .entry-content h2 {
        font-size: 22px;
        margin-top: 32px;
    }
}

@media (max-width: 576px) {
    .policy-header-section {
        padding: 35px 16px 28px;
    }

    .policy-breadcrumbs {
        font-size: 12.5px;
        gap: 6px;
    }

    .policy-page-title {
        font-size: 28px;
    }

    .policy-title-accent {
        width: 110px;
        height: 6px;
        margin-top: 12px;
    }

    .policy-main-wrapper {
        padding: 35px 0 55px;
    }

    .policy-container {
        padding: 0 16px;
    }

    .policy-content-area,
    .entry-content {
        font-size: 14.5px;
        line-height: 1.8;
    }

    .policy-content-area h1,
    .entry-content h1 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .policy-content-area h2,
    .entry-content h2 {
        font-size: 20px;
        margin-top: 28px;
        margin-bottom: 12px;
    }

    .policy-content-area h3,
    .entry-content h3 {
        font-size: 18px;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    .policy-content-area ul,
    .policy-content-area ol,
    .entry-content ul,
    .entry-content ol {
        padding-left: 22px;
        margin-bottom: 18px;
    }

    .policy-content-area li,
    .entry-content li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .policy-content-area table,
    .entry-content table {
        display: block;
        overflow-x: auto;
    }
}
