
/* =====================================================
   MUSLIM NIKAH RISHTEY
   BIODATA MAKER — ISLAMIC GREEN & GOLD
   A4 PORTRAIT DESIGN SYSTEM
   File: biodata/assets/biodata.css
   ===================================================== */

:root {
    --bio-green: #153b2d;
    --bio-green-dark: #0b241a;
    --bio-green-light: #24553e;
    --bio-gold: #c9a34e;
    --bio-gold-light: #f1dc96;
    --bio-cream: #fbf7ed;
    --bio-white: #ffffff;
    --bio-text: #24352b;
    --bio-muted: #77776d;
    --bio-border: #e5dac4;
    --bio-maroon: #153b2d;
    --bio-radius: 15px;
    --bio-shadow: 0 10px 30px rgba(23, 49, 35, .08);
}

.bio-app,
.bio-app * {
    box-sizing: border-box;
}

.bio-app {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 24px 65px;
    color: var(--bio-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

.bio-app button,
.bio-app input,
.bio-app select,
.bio-app textarea {
    font: inherit;
}

.bio-app button {
    cursor: pointer;
}

/* ================= INTRO ================= */

.bio-intro {
    max-width: 800px;
    margin: 0 auto 28px;
    text-align: center;
}

.bio-eyebrow {
    margin-bottom: 9px;
    color: #a57b2c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.bio-intro h1 {
    margin: 0 0 10px;
    color: var(--bio-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(29px, 4vw, 44px);
    line-height: 1.2;
}

.bio-intro p,
.bio-panel-heading p {
    margin: 0;
    color: var(--bio-muted);
    font-size: 14px;
}

/* ================= PROGRESS ================= */

.bio-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 30px;
}

.bio-progress-step {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #858176;
    font-size: 13px;
}

.bio-progress-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    flex-shrink: 0;
    border: 1px solid #d9cdb5;
    border-radius: 50%;
    background: #fff;
    color: #777;
}

.bio-progress-step.active span,
.bio-progress-step.completed span {
    color: #fff;
    background: var(--bio-green);
    border-color: var(--bio-green);
}

.bio-progress-step.active {
    color: var(--bio-green);
    font-weight: 700;
}

.bio-progress > i {
    width: 25px;
    height: 1px;
    background: var(--bio-gold);
}

/* ================= PANELS ================= */

.bio-panel {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid var(--bio-border);
    border-radius: var(--bio-radius);
    background: #fff;
    box-shadow: var(--bio-shadow);
}

.bio-panel-heading {
    margin-bottom: 24px;
}

.bio-panel-heading h2 {
    margin: 0 0 7px;
    color: var(--bio-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 3vw, 30px);
}

.bio-hidden {
    display: none !important;
}

/* ================= TEMPLATE GALLERY ================= */

.bio-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.bio-template-card {
    display: block;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
    text-align: left;
    color: var(--bio-text);
    background: #fff;
    border: 2px solid #e9dfcc;
    border-radius: 13px;
    transition: border-color .2s ease, box-shadow .2s ease,
                transform .2s ease;
}

.bio-template-card:hover {
    border-color: var(--bio-gold);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(20, 59, 45, .08);
}

.bio-template-card.selected {
    border-color: var(--bio-green);
    background: #f8fbf7;
    box-shadow: 0 0 0 2px rgba(21, 59, 45, .08);
}

.bio-template-thumbnail {
    position: relative;
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 13px;
    overflow: hidden;
    border: 5px double var(--bio-gold);
    color: var(--bio-gold-light);
    background-color: var(--bio-green);
    text-align: center;
    isolation: isolate;
}

/* Subtle Islamic-inspired geometric pattern */
.bio-template-thumbnail::before {
    position: absolute;
    z-index: -1;
    inset: 5px;
    content: "";
    border: 1px solid rgba(241, 220, 150, .6);
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 15px,
            rgba(201, 163, 78, .08) 16px,
            transparent 17px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0,
            transparent 15px,
            rgba(201, 163, 78, .08) 16px,
            transparent 17px
        );
    pointer-events: none;
}

.bio-template-thumbnail::after {
    position: absolute;
    top: 6px;
    right: 9px;
    bottom: 6px;
    left: 9px;
    z-index: -1;
    content: "✦";
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 4px;
    color: var(--bio-gold-light);
    font-size: 14px;
    pointer-events: none;
}

.bio-thumb-ornament {
    position: absolute;
    top: 8px;
    left: 9px;
    color: var(--bio-gold-light);
    font-size: 12px;
}

.bio-thumb-title {
    margin: 4px 0 12px;
    color: var(--bio-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.bio-thumb-photo {
    width: 35px;
    height: 40px;
    margin: 0 auto 7px;
    border: 2px solid var(--bio-gold);
    background: rgba(255, 255, 255, .12);
}

.bio-thumb-name {
    color: #fff4c7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
}

.bio-thumb-divider {
    width: 65%;
    height: 1px;
    margin: 8px auto;
    background: var(--bio-gold);
}

.bio-thumb-lines {
    display: grid;
    gap: 5px;
    width: 82%;
    margin: 0 auto;
}

.bio-thumb-lines span {
    height: 3px;
    background: rgba(241, 220, 150, .45);
}

.bio-thumb-footer {
    margin-top: 8px;
    color: var(--bio-gold-light);
    font-size: 11px;
}

/* Five distinct layouts, one consistent color palette */

.bio-template-card[data-template="classic-gold"]
.bio-template-thumbnail {
    border-width: 6px;
}

.bio-template-card[data-template="maroon"]
.bio-template-thumbnail {
    border-radius: 0;
    border-style: double;
}

.bio-template-card[data-template="royal"]
.bio-template-thumbnail {
    border-radius: 25px 25px 4px 4px;
    border-width: 7px;
}

.bio-template-card[data-template="modern"]
.bio-template-thumbnail {
    border-width: 2px;
    outline: 1px solid var(--bio-gold);
    outline-offset: -7px;
}

.bio-template-card[data-template="elegant"]
.bio-template-thumbnail {
    border-width: 4px;
    border-radius: 3px;
    outline: 1px solid var(--bio-gold);
    outline-offset: -9px;
}

.bio-template-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 11px;
}

.bio-template-info strong {
    color: var(--bio-green);
    font-size: 13px;
}

.bio-radio {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border: 1px solid #aaa;
    border-radius: 50%;
}

.bio-template-card.selected .bio-radio {
    border: 4px solid var(--bio-green);
}

.bio-template-card > p {
    margin: 6px 0 0;
    color: var(--bio-muted);
    font-size: 11px;
}

/* ================= FORM ================= */

.bio-section-title {
    margin: 29px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7dcc6;
    color: var(--bio-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.bio-section-title:first-of-type {
    margin-top: 0;
}

.bio-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 16px;
}

.bio-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.bio-field-full {
    grid-column: 1 / -1;
}

.bio-field label {
    color: #334338;
    font-size: 13px;
    font-weight: 700;
}

.bio-field input,
.bio-field select,
.bio-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #ddd3c1;
    border-radius: 9px;
    outline: none;
    color: #26372d;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bio-field textarea {
    min-height: 85px;
    resize: vertical;
}

.bio-field input:focus,
.bio-field select:focus,
.bio-field textarea:focus {
    border-color: var(--bio-gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 78, .15);
}

.bio-field small {
    color: var(--bio-muted);
    font-size: 11px;
}

.bio-privacy-note {
    margin: 22px 0;
    padding: 13px 15px;
    border-left: 3px solid var(--bio-gold);
    border-radius: 5px;
    color: #625f53;
    background: var(--bio-cream);
    font-size: 12px;
}

/* ================= BUTTONS ================= */

.bio-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.bio-actions-end {
    justify-content: flex-end;
}

.bio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.bio-btn:hover {
    transform: translateY(-1px);
}

.bio-btn-primary {
    color: #fff;
    border-color: var(--bio-green);
    background: var(--bio-green);
}

.bio-btn-primary:hover {
    background: var(--bio-green-dark);
}

.bio-btn-secondary {
    color: var(--bio-green);
    border-color: var(--bio-green);
    background: #fff;
}

.bio-btn-secondary:hover {
    background: #f2f7f2;
}

/* ================= A4 BIODATA DOCUMENT ================= */

.bio-preview-container {
    width: 100%;
    padding: 18px;
    overflow: auto;
    border-radius: 12px;
    background: #eee9df;
}

/*
   A4 ratio: 210 x 297 mm.
   The document is scaled responsively on small screens.
*/

.bio-document {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 794px;
    min-height: 1123px;
    margin: 0 auto;
    padding: 45px 42px;
    overflow-wrap: anywhere;
    border: 8px double var(--doc-border, var(--bio-gold));
    color: var(--doc-text, #fff1c2);
    background: var(--doc-bg, var(--bio-green));
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    font-family: Georgia, "Times New Roman", serif;
}

/* Template variants all stay green and gold */

.bio-document.theme-classic-gold {
    --doc-bg: #153b2d;
    --doc-text: #fff1c2;
    --doc-heading: #f1d88c;
    --doc-border: #c9a34e;
}

.bio-document.theme-maroon {
    --doc-bg: #173d2d;
    --doc-text: #fff0be;
    --doc-heading: #f1d88c;
    --doc-border: #e0bc65;
}

.bio-document.theme-royal {
    --doc-bg: #102d22;
    --doc-text: #fff0bf;
    --doc-heading: #f6dc91;
    --doc-border: #d2ad54;
}

.bio-document.theme-modern {
    --doc-bg: #f8f5e9;
    --doc-text: #173b2d;
    --doc-heading: #173b2d;
    --doc-border: #c9a34e;
}

.bio-document.theme-elegant {
    --doc-bg: #153b2d;
    --doc-text: #fff1c2;
    --doc-heading: #f1d88c;
    --doc-border: #b89443;
}

.bio-document::before {
    position: absolute;
    z-index: -1;
    inset: 12px;
    content: "";
    border: 1px solid var(--doc-border);
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 28px,
            rgba(201, 163, 78, .045) 29px,
            transparent 30px
        );
    pointer-events: none;
}

.bio-doc-decoration {
    position: absolute;
    top: 14px;
    right: 20px;
    color: var(--doc-heading);
    font-size: 23px;
}

.bio-doc-heading {
    margin: 4px 0 22px;
    text-align: center;
    color: var(--doc-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bio-doc-profile {
    margin: 0 auto 33px;
    text-align: center;
}

.bio-doc-profile img {
    display: block;
    width: 115px;
    height: 135px;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 3px solid var(--doc-border);
    border-radius: 50%;
}

.bio-doc-profile img[hidden] {
    display: none !important;
}

.bio-doc-profile h2 {
    margin: 0;
    color: var(--doc-heading);
    font-size: 30px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.bio-doc-section {
    margin-top: 26px;
}

.bio-doc-section h3 {
    margin: 0 0 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--doc-border);
    color: var(--doc-heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    letter-spacing: .6px;
}

.bio-doc-row {
    display: grid;
    grid-template-columns: minmax(120px, .85fr) minmax(0, 1.3fr);
    gap: 12px;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.55;
}

.bio-doc-label {
    font-weight: 700;
}

.bio-doc-value {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.bio-doc-footer {
    margin-top: 32px;
    text-align: center;
    color: var(--doc-heading);
    font-size: 11px;
    font-style: italic;
}

.bio-message {
    min-height: 20px;
    margin: 10px 0;
    color: var(--bio-green);
    text-align: center;
    font-size: 13px;
}

/* ================= DOWNLOAD CARDS ================= */

.bio-download-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bio-download-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;
    min-height: 185px;
    padding: 25px 18px;
    border: 1px solid var(--bio-border);
    border-radius: 13px;
    color: var(--bio-green);
    background: #fffdf8;
    text-align: center;
}

.bio-download-card:hover {
    border-color: var(--bio-gold);
    box-shadow: var(--bio-shadow);
}

.bio-download-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 68px;
    margin-bottom: 5px;
    border: 2px solid var(--bio-gold);
    border-radius: 8px;
    color: var(--bio-green);
    background: var(--bio-cream);
    font-weight: 800;
}

.bio-download-card small {
    color: var(--bio-muted);
    font-size: 12px;
}

/* ================= PRINT / PDF ================= */

@media print {
    body * {
        visibility: hidden !important;
    }

    #bioDocument,
    #bioDocument * {
        visibility: visible !important;
    }

    #bioDocument {
        position: absolute;
        top: 0;
        left: 0;
        width: 210mm;
        max-width: none;
        min-height: 297mm;
        margin: 0;
        padding: 12mm;
        border-width: 3px;
        box-shadow: none;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .bio-doc-section {
        break-inside: avoid;
    }

    @page {
        size: A4 portrait;
        margin: 0;
    }
}

/* ================= TABLET ================= */

@media (max-width: 800px) {
    .bio-app {
        padding: 28px 16px 45px;
    }

    .bio-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bio-panel {
        padding: 22px;
    }

    .bio-document {
        min-height: 900px;
        padding: 34px 28px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 520px) {
    .bio-app {
        padding: 22px 12px 35px;
    }

    .bio-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .bio-progress {
        gap: 5px;
        margin-bottom: 22px;
    }

    .bio-progress-step {
        gap: 4px;
        font-size: 10px;
    }

    .bio-progress-step span {
        width: 27px;
        height: 27px;
        font-size: 11px;
    }

    .bio-progress > i {
        width: 10px;
    }

    .bio-panel {
        padding: 16px;
        border-radius: 12px;
    }

    .bio-template-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .bio-template-thumbnail {
        min-height: 180px;
    }

    .bio-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bio-field-full {
        grid-column: auto;
    }

    .bio-section-title {
        font-size: 20px;
    }

    .bio-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bio-btn {
        width: 100%;
    }

    .bio-download-options {
        grid-template-columns: 1fr;
    }

    .bio-preview-container {
        padding: 7px;
    }

    .bio-document {
        min-height: 780px;
        padding: 27px 18px;
        border-width: 5px;
    }

    .bio-doc-profile h2 {
        font-size: 24px;
    }

    .bio-doc-row {
        grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr);
        gap: 7px;
        font-size: 12px;
    }

    .bio-doc-section h3 {
        font-size: 13px;
    }
}


/* FIX: Print the biodata even when the preview step is hidden */

@media print {
    #bioStep1,
    #bioStep2,
    #bioStep4 {
        display: none !important;
    }

    #bioStep3 {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    #bioStep3 .bio-preview-container {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    #bioDocument {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 210mm !important;
        max-width: none !important;
        min-height: 297mm !important;
        margin: 0 !important;
        padding: 12mm !important;
        overflow: visible !important;
        box-shadow: none !important;
        visibility: visible !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }

    #bioDocument * {
        visibility: visible !important;
    }

    @page {
        size: A4 portrait;
        margin: 0;
    }
}


/* =========================================
   FULL BIODATA TEMPLATE GALLERY PREVIEWS
   ========================================= */

.bio-template-grid {
    align-items: start;
}

.bio-template-card {
    overflow: hidden;
    text-align: left;
}

.bio-template-thumbnail.bio-full-thumbnail {
    height: 410px;
    min-height: 410px;
    padding: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #e9e8e3;
    border-radius: 12px 12px 0 0;
}

.bio-mini-page {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 310px;
    min-height: 560px;
    padding: 17px 15px 12px;
    overflow: hidden;
    background: #fffdf8;
    color: #29251f;
    border: 1px solid #d8c99e;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
    font-family: Georgia, "Times New Roman", serif;
    transform-origin: top center;
}

.bio-mini-top-ornament {
    text-align: center;
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 8px;
    color: #b08a3c;
}

.bio-mini-heading {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #c7aa6b;
}

.bio-mini-arabic {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
    color: #8e6c2e;
}

.bio-mini-heading strong {
    display: block;
    font-size: 16px;
    letter-spacing: 1.2px;
    line-height: 1.4;
}

.bio-mini-heading small {
    display: block;
    margin-top: 4px;
    font-family: Arial, sans-serif;
    font-size: 7px;
    letter-spacing: 1px;
}

.bio-mini-profile {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 0 11px;
    border-bottom: 1px solid #e5dcc7;
}

.bio-mini-photo {
    width: 68px;
    height: 78px;
    flex: 0 0 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0eadb;
    border: 1px solid #c5ab70;
    color: #9a7a3c;
    font: 8px Arial, sans-serif;
}

.bio-mini-person {
    min-width: 0;
}

.bio-mini-person h3 {
    margin: 0 0 5px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.bio-mini-person p {
    margin: 3px 0;
    font: 8px/1.4 Arial, sans-serif;
    color: #595348;
}

.bio-mini-section {
    margin-top: 12px;
}

.bio-mini-section h4 {
    margin: 0 0 6px;
    padding: 5px 6px;
    background: #eee5d0;
    border-left: 2px solid #b08a3c;
    color: #665024;
    font: bold 8px/1.4 Arial, sans-serif;
    letter-spacing: .45px;
}

.bio-mini-section h4 span {
    margin-right: 5px;
    color: #aa843c;
}

.bio-mini-row {
    display: grid;
    grid-template-columns: 43% 57%;
    gap: 3px;
    padding: 3px 2px;
    border-bottom: 1px dotted #e5dfd2;
    font: 7px/1.35 Arial, sans-serif;
}

.bio-mini-row b {
    font-weight: 600;
    color: #5c5548;
}

.bio-mini-row span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #39352f;
}

.bio-mini-footer {
    margin-top: 14px;
    padding-top: 8px;
    border-top: 1px solid #c7aa6b;
    text-align: center;
    color: #967334;
    font: 7px Arial, sans-serif;
    letter-spacing: .7px;
}

.bio-mini-footer span {
    padding: 0 5px;
}

/* Classic Gold */
.bio-mini-page.theme-classic-gold,
.theme-classic-gold .bio-mini-page {
    background: #fffdf8;
    color: #342a17;
    border-color: #c5a45e;
}

.theme-classic-gold .bio-mini-heading strong {
    color: #846323;
}

/* Maroon */
.theme-maroon .bio-mini-page {
    background: #fffafa;
    border: 2px solid #8a2338;
}

.theme-maroon .bio-mini-heading strong {
    color: #8a2338;
}

.theme-maroon .bio-mini-arabic,
.theme-maroon .bio-mini-top-ornament,
.theme-maroon .bio-mini-footer {
    color: #8a2338;
}

.theme-maroon .bio-mini-section h4 {
    background: #f5e5e8;
    border-left-color: #8a2338;
    color: #762033;
}

/* Royal */
.theme-royal .bio-mini-page {
    background: #fbfaff;
    border: 3px double #57458c;
}

.theme-royal .bio-mini-heading strong {
    color: #57458c;
}

.theme-royal .bio-mini-arabic,
.theme-royal .bio-mini-top-ornament,
.theme-royal .bio-mini-footer {
    color: #57458c;
}

.theme-royal .bio-mini-section h4 {
    background: #eae6f7;
    border-left-color: #57458c;
    color: #44336f;
}

/* Modern */
.theme-modern .bio-mini-page {
    background: #ffffff;
    border: 1px solid #9eb8bd;
    font-family: Arial, sans-serif;
}

.theme-modern .bio-mini-heading strong {
    color: #285b65;
    letter-spacing: 1.5px;
}

.theme-modern .bio-mini-arabic,
.theme-modern .bio-mini-top-ornament,
.theme-modern .bio-mini-footer {
    color: #397985;
}

.theme-modern .bio-mini-section h4 {
    background: #e6f0f1;
    border-left-color: #397985;
    color: #285b65;
}

/* Elegant */
.theme-elegant .bio-mini-page {
    background: #fffdfc;
    border: 1px solid #bc8f9c;
}

.theme-elegant .bio-mini-heading strong {
    color: #91566a;
}

.theme-elegant .bio-mini-arabic,
.theme-elegant .bio-mini-top-ornament,
.theme-elegant .bio-mini-footer {
    color: #aa7185;
}

.theme-elegant .bio-mini-section h4 {
    background: #f6eaf0;
    border-left-color: #aa7185;
    color: #854d61;
}

@media (max-width: 600px) {
    .bio-template-thumbnail.bio-full-thumbnail {
        height: 350px;
        min-height: 350px;
        padding: 8px;
    }

    .bio-mini-page {
        width: 100%;
        min-height: 560px;
        padding: 13px 11px;
    }

    .bio-mini-heading strong {
        font-size: 14px;
    }

    .bio-mini-section {
        margin-top: 10px;
    }
}


