/* ─── Accordion Image Widget ─────────────────────────────── */

.aiw-wrapper { 
	font-family: 'PPWriter-Thin', sans-serif !important;
	color:black;
}

/* Imagen principal */
.aiw-image-container {
    height:237px;    
	width:214px;
    overflow: hidden;
    margin-bottom: 2rem;
	margin-left: auto;
	margin-right:auto;
}

.aiw-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;   
}

.aiw-image-container img.aiw-fading {
    opacity: 0;
}

/* Accordion */

/* Trigger (botón de cabecera) */
.aiw-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-family: inherit;    
    letter-spacing: 0.12em;
	color:black;
    text-transform: uppercase;  
    transition: color 0.2s;
	border-bottom: 1px solid black;
}

.aiw-trigger:hover {
	color:black;
    background: #e7e7e2;
}

.aiw-trigger:active, .aiw-trigger:focus {
	background: none;
	color:black;
}

.aiw-trigger-icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* línea horizontal */
.aiw-trigger-icon::before {
    width: 14px;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* línea vertical (la que desaparece al abrir) */
.aiw-trigger-icon::after {
    width: 1px;
    height: 14px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.aiw-item.aiw-open .aiw-trigger-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* Panel */
.aiw-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.aiw-item.aiw-open .aiw-panel {
    max-height: 800px; /* suficientemente grande */
}

.aiw-panel[hidden] {
    display: block !important; /* override hidden para animar */
    max-height: 0;
}

.aiw-panel-inner {
    padding-bottom: 1.25rem;   
    line-height: 1.7;
    color: #444;
}

/* Tabla interna (estilo del ejemplo) */
.aiw-panel-inner table {
	font-family: 'PPWriter-Thin', sans-serif !important;
    width: 100%;
    border-collapse: collapse;  
	border: none !important;
	margin: 0 !important;
}

.aiw-panel-inner table td {
    padding: 0.35rem 0;
    vertical-align: top;
	border: none !important;
}

.aiw-panel-inner table th {
	border: none !important;	
}

.aiw-col-hab {
	text-align: center !important;
}

.aiw-panel-inner table td:last-child {
    text-align: right;
    white-space: nowrap;
}
