/* =========================================
   Root Theme Variables
========================================= */
:root {
    --page-bg: #f1f1f1;
    --card-bg: #fff;
    --left-bg: #f7f3ee;

    --ink: #2b2a28;
    --muted: #67635e;

    --accent: #08aa9d;
    /* teal */
    --c-main: #fa9200;
    /* orange */
    --c-wait: #4c77cf;
    /* desaturated blue */
    --c-violet: #8cbf3f;

    --radius: 14px;
    --shadow: 0 8px 22px rgba(15, 15, 15, .08);

    --gantt-item-h: 48px;
    --stripe-light: #ffffff;
    --stripe-dark: #e0e0e0;
}

/* =========================================
   Page Layout
========================================= */

body {
    background: var(--page-bg);
}

h2 {
    font-size: 2rem;
}

p a {
    text-decoration: none;
    color: var(--accent);
}

u {
    text-decoration: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='6'><path d='M2 4 Q 20 6, 40 4 T 120 4' stroke='%23000000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round' /></svg>");
    background-repeat: no-repeat;
    background-size: 100% 5px;
    background-position: 0 100%;
    padding-bottom: 1px;
}

.fa-icon-accent {
    color: var(--accent);
    font-size: 1.9rem;
}

.info-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 2px;

    background-color: var(--accent);
    border-radius: 50%;
    vertical-align: super;
    cursor: pointer;
    opacity: 0.85;

    position: relative;
    top: -2px;
    /* adjust as needed (-1 to -4px works well) */
}

.recipe-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.left-col,
.ingredients {
    background: var(--left-bg);
}

.ingredients {
    font-size: 110%;
}

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

/* komplette Tabelle transparent */
.ingredients-table,
.ingredients-table tr,
.ingredients-table td,
.ingredients-table-wrapper {
    background-color: transparent !important;
}

.ingredients-table {
    border-collapse: collapse;
    width: auto;
    /* don't stretch to 100% */
    margin-left: 25px;
    /* ensure it's not centered */
}

.ingredients-table td {
    border: none;
    padding: 0.1rem 0.5rem;
}

.ingredients-table .ing-amount {
    white-space: nowrap;
    text-align: right;
    padding-right: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.ing-name {
    font-weight: 700;
}

.ing-info-icon {
    font-size: 0.65em;
    color: #0084ff;
}

.ing-info-icon i {
    vertical-align: baseline;
}

.ing-note {
    font-size: 80%;
    vertical-align: middle;
    font-weight: 400;
    font-style: italic;
    opacity: 0.5;
}

.photo img {
    width: 100%;
}

.title {
    font-family: "Playfair Display", serif;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.meta {
    display: flex;
    gap: 1.5rem;
}

.section-title {
    margin: 22px 0 12px;
    font-weight: 700;
    font-size: 1.05rem;
}

/* =========================================
   Step List Styling
========================================= */

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: .75rem;
}

/* Number circles */
.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    top: .1rem;
    left: 0;

    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    font-size: 1rem;
    color: #fff;

    background: #ccc;
    /* fallback */
}

.steps-list li.color-a::before {
    background: var(--accent);
}

.steps-list li.color-b::before {
    background: var(--c-main);
}

.steps-list li.color-c::before {
    background: var(--c-wait);
}

.steps-list li.color-d::before {
    background: var(--c-violet);
}

ol {
    font-size: 125%;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

ol li {
    margin-bottom: 12px;
}

hr {
    border: none;
    height: 2px;
    background: var(--accent);
    opacity: 1;
}

/* =========================================
   VIS Timeline Theme (clean + working)
========================================= */

.gantt-row {
    display: flex;
    align-items: center;
}

/* vis-timeline lives inside this container */
.gantt-timeline {
    flex: 1 1 auto;
    min-width: 0;
    /* prevents overflow in flex layouts */
}

/* Icon to the right of the chart */
.gantt-dinner-icon {
    margin-top: 12px;
    margin-left: 0.75rem;
    /* small space between chart and icon */
    font-size: 1.6rem;
    /* adjust to taste */
    color: var(--c-main);
    /* or any accent color you like */
}

/* Remove border around gantt chart */
.vis-timeline {
    border: none !important;
    box-shadow: none;
}

/* Remove borders from panels */
.vis-grid,
.vis-panel.vis-left,
.vis-panel.vis-top,
.vis-panel.vis-center {
    border: none !important;
}

/* Striped background for the Gantt chart row */
/* diagonal lines: gray line + equally wide white gap */
/* Clamp background to item height */
.vis-itemset .vis-background {
    height: var(--gantt-item-h) !important;
    /* same as .vis-item height */
    max-height: var(--gantt-item-h) !important;
    overflow: hidden;
    background-image: repeating-linear-gradient(45deg,
            var(--stripe-dark) 0px,
            var(--stripe-dark) 6px,
            var(--stripe-light) 6px,
            var(--stripe-light) 12px);
}

/* Soft subtle vertical guidelines */
.vis-grid.vis-vertical {
    border-left: 1px solid rgba(0, 0, 0, 0.10) !important;
}

/* Hide horizontal lines */
.vis-grid.vis-horizontal {
    border-top: none !important;
}

/* Item boxes */
.vis-item {
    top: 0 !important;
    height: var(--gantt-item-h);
    line-height: var(--gantt-item-h);
    border-radius: var(--radius);
    text-align: center;
    font-size: 125%;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
    border: 1px solid rgba(0, 0, 0, 0.25) !important;
    outline: none !important;
}

.vis-item-content {
    padding: 0 !important;
    color: #FFFFFF;
}

/* Color classes */
.vis-item.color-a {
    background: var(--accent);
}

.vis-item.color-b {
    background: var(--c-main);
}

.vis-item.color-c {
    background: var(--c-wait);
}

.vis-item.color-d {
    background: var(--c-violet);
}

/* =========================================
   Responsive Layout
========================================= */

.below-lg {
    display: block;
}

.lg-upwards {
    display: none;
}

@media (min-width: 992px) {
    .below-lg {
        display: none;
    }

    .lg-upwards {
        display: block;
    }
}