.to-item {
    display:flex;
    gap:18px;
    padding:14px 0;
    border-bottom:1px solid #e5e5e5;
    cursor:pointer;
    align-items:center;
}

.to-item:hover {
    background:#f8f9f9;
}

.to-item-img img {
    width:120px;
    height:90px;
    object-fit:cover;
    border-radius:4px;
}

.to-item-content h3 {
    margin:0 0 6px;
    font-size:18px;
    color:#2f5f63;
}

.to-item-content p {
    margin:0;
    font-size:14px;
    color:#555;
}

.to-modal {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    z-index:9999;
}

.to-modal.open {
    display:flex;
    align-items:center;
    justify-content:center;
}

.to-modal-inner {
    background:white;
    padding:30px;
    max-width:800px;
    width:90%;
    border-radius:6px;
}


/* Overlay */
.to-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Åpen */
.to-modal.open {
    display: flex;
}

/* Selve boksen */
.to-modal-inner {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 720px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: toFadeIn 0.2s ease-out;
}

/* Krysset */
.to-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #666;
}

.to-modal-close:hover {
    color: #000;
}

/* Bilde */
.to-modal-image {
    margin-bottom: 25px;
}

.to-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Litt luft i teksten */
#to-modal-content h2 {
    margin-top: 0;
}

/* Liten animasjon */
@keyframes toFadeIn {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

